Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00185/0.001855, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.269/2.269, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.018/1.018, allocations: 132.2 MB / 423.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005989/0.000599, allocations: 8 kB / 0.5033 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9089/0.9095, allocations: 81.58 MB / 0.583 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002612/0.9122, allocations: 1.159 MB / 0.5841 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.9136, allocations: 0.5278 MB / 0.5846 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.932e-05/0.9137, allocations: 0.5938 kB / 0.5846 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.476e-05/0.9137, allocations: 4.172 kB / 0.5846 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.346e-05/0.9138, allocations: 5.203 kB / 0.5846 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.9142, allocations: 42.69 kB / 0.5847 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.145e-05/0.9143, allocations: 15.11 kB / 0.5847 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.9144, allocations: 7 kB / 0.5847 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.9145, allocations: 15.47 kB / 0.5847 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.076e-05/0.9146, allocations: 14.58 kB / 0.5847 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.9146, allocations: 0 / 0.5847 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.9148, allocations: 45.88 kB / 0.5848 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.9149, allocations: 2.062 kB / 0.5848 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.9149, allocations: 31.97 kB / 0.5848 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.9151, allocations: 48.31 kB / 0.5848 GB, free: 2.676 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.9151, allocations: 0 / 0.5848 GB, free: 2.676 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.028e-06/0.9151, allocations: 1.281 kB / 0.5848 GB, free: 2.676 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.9151, allocations: 0 / 0.5848 GB, free: 2.676 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004955/0.9156, allocations: 357 kB / 0.5852 GB, free: 2.301 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.239e-05/0.9157, allocations: 9.219 kB / 0.5852 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.9158, allocations: 31.31 kB / 0.5852 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.9158, allocations: 5.812 kB / 0.5852 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.9159, allocations: 167.7 kB / 0.5854 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.916, allocations: 4.656 kB / 0.5854 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.916, allocations: 2.125 kB / 0.5854 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.9162, allocations: 39.59 kB / 0.5854 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.9162, allocations: 1.438 kB / 0.5854 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.9162, allocations: 8 kB / 0.5854 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.9163, allocations: 0 / 0.5854 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.9164, allocations: 23.97 kB / 0.5855 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.9168, allocations: 257.8 kB / 0.5857 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.917, allocations: 36.34 kB / 0.5857 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/0.9182, allocations: 0.49 MB / 0.5862 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.9183, allocations: 31.97 kB / 0.5862 GB, free: 1.184 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.9183, allocations: 1.312 kB / 0.5862 GB, free: 1.184 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003597/0.9187, allocations: 74.22 kB / 0.5863 GB, free: 1.137 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.9187, allocations: 53.42 kB / 0.5864 GB, free: 1.074 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.94e-05/0.9188, allocations: 114.5 kB / 0.5865 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.9188, allocations: 25.7 kB / 0.5865 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.9189, allocations: 84.53 kB / 0.5866 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.9189, allocations: 12.5 kB / 0.5866 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.9189, allocations: 3.938 kB / 0.5866 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.155e-05/0.919, allocations: 314.5 kB / 0.5869 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.188e-05/0.9191, allocations: 16.86 kB / 0.5869 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.381e-05/0.9192, allocations: 10.19 kB / 0.5869 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.579e-05/0.9193, allocations: 12.86 kB / 0.5869 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.9193, allocations: 1.469 kB / 0.5869 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002159/0.9195, allocations: 63.59 kB / 0.587 GB, free: 480 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.9196, allocations: 6.625 kB / 0.587 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.9196, allocations: 0 / 0.587 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.9196, allocations: 1 kB / 0.587 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.9197, allocations: 7.359 kB / 0.587 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.9198, allocations: 0.6562 kB / 0.587 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.846e-05/0.9198, allocations: 8.281 kB / 0.587 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.9199, allocations: 4.562 kB / 0.587 GB, free: 472 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.621e-05/0.9199, allocations: 112.9 kB / 0.5871 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.92, allocations: 17.39 kB / 0.5871 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.9203, allocations: 61.77 kB / 0.5872 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.9203, allocations: 0 / 0.5872 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.9203, allocations: 4.828 kB / 0.5872 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.9204, allocations: 1.469 kB / 0.5872 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.9206, allocations: 165.6 kB / 0.5874 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.9206, allocations: 4.031 kB / 0.5874 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.775e-05/0.9207, allocations: 8.125 kB / 0.5874 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.9207, allocations: 0 / 0.5874 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.9207, allocations: 0.9688 kB / 0.5874 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.9207, allocations: 0.5625 kB / 0.5874 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.9208, allocations: 1.281 kB / 0.5874 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.9211, allocations: 154 kB / 0.5875 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.465e-05/0.9211, allocations: 83.48 kB / 0.5876 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.9212, allocations: 4.516 kB / 0.5876 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.9213, allocations: 4.094 kB / 0.5876 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.9214, allocations: 2.562 kB / 0.5876 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.9214, allocations: 1.375 kB / 0.5876 GB, free: 15.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.46e-05/0.9215, allocations: 83.77 kB / 0.5877 GB, free: 15.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.905e-06/0.9215, allocations: 0 / 0.5877 GB, free: 15.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004702/0.922, allocations: 29.34 kB / 0.5877 GB, free: 15.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007944/0.9228, allocations: 0.6949 MB / 0.5884 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.9231, allocations: 30.5 kB / 0.5884 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.9231, allocations: 0 / 0.5884 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.685e-05/0.9232, allocations: 15.69 kB / 0.5885 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.9234, allocations: 7.75 kB / 0.5885 GB, free: 15.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007105/0.9242, allocations: 170.8 kB / 0.5886 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.9245, allocations: 0.6816 MB / 0.5893 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.411e-05/0.9246, allocations: 5.656 kB / 0.5893 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.9246, allocations: 13.98 kB / 0.5893 GB, free: 14.19 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.9246, allocations: 0 / 0.5893 GB, free: 14.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.9453, allocations: 1.357 MB / 0.5906 GB, free: 14.02 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003206/0.9457, allocations: 164.6 kB / 0.5908 GB, free: 13.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.541/3.486, allocations: 3.984 kB / 0.5908 GB, free: 13.79 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) Environment - environmentSimulation: