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.00904/0.00904, allocations: 100.4 kB / 15.73 MB, free: 6.035 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.001912/0.001912, allocations: 194.1 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7436/0.7436, allocations: 132.2 MB / 422.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 63.91 kB / 0.5809 GB, free: 8.027 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.4426, allocations: 80.2 MB / 0.6592 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002506/0.4452, allocations: 1.461 MB / 0.6606 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009001/0.4461, allocations: 0.5561 MB / 0.6612 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/0.4462, allocations: 0 / 0.6612 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.684e-05/0.4462, allocations: 8.5 kB / 0.6612 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.84e-05/0.4463, allocations: 5.766 kB / 0.6612 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.4465, allocations: 49.22 kB / 0.6612 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.632e-05/0.4466, allocations: 31.31 kB / 0.6612 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.4467, allocations: 4 kB / 0.6613 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.666e-05/0.4468, allocations: 19.16 kB / 0.6613 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.495e-05/0.4469, allocations: 19.27 kB / 0.6613 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.4469, allocations: 6.219 kB / 0.6613 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.447, allocations: 54.11 kB / 0.6613 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.4471, allocations: 9.609 kB / 0.6614 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.4471, allocations: 8.109 kB / 0.6614 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.4472, allocations: 67.34 kB / 0.6614 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4473, allocations: 0.7031 kB / 0.6614 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4473, allocations: 0 / 0.6614 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.4473, allocations: 0 / 0.6614 GB, free: 8.32 MB / 0.4981 GB 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.0003594/0.4476, allocations: 356 kB / 0.6618 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.4477, allocations: 13.53 kB / 0.6618 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.66e-05/0.4477, allocations: 32.8 kB / 0.6618 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.4477, allocations: 6.891 kB / 0.6618 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.678e-05/0.4478, allocations: 168 kB / 0.662 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.4478, allocations: 1.438 kB / 0.662 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.4479, allocations: 1.438 kB / 0.662 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.448, allocations: 50.33 kB / 0.662 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.448, allocations: 1.891 kB / 0.662 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.448, allocations: 0 / 0.662 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.448, allocations: 0 / 0.662 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.316e-05/0.4481, allocations: 24.08 kB / 0.6621 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.4484, allocations: 258.2 kB / 0.6623 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.825e-05/0.4485, allocations: 35.3 kB / 0.6623 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.759e-05/0.4486, allocations: 12.89 kB / 0.6623 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007522/0.4493, allocations: 478.9 kB / 0.6628 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.4493, allocations: 32.06 kB / 0.6628 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4493, allocations: 0 / 0.6628 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002473/0.4496, allocations: 58.61 kB / 0.6629 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.4496, allocations: 56.23 kB / 0.6629 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.4497, allocations: 112.2 kB / 0.6631 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.4497, allocations: 25.7 kB / 0.6631 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/0.4498, allocations: 90.3 kB / 0.6632 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.4498, allocations: 6.156 kB / 0.6632 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.4498, allocations: 12.55 kB / 0.6632 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.33e-05/0.4499, allocations: 322 kB / 0.6635 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.212e-05/0.4499, allocations: 11.7 kB / 0.6635 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.295e-05/0.45, allocations: 7.047 kB / 0.6635 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.192e-05/0.45, allocations: 30.27 kB / 0.6635 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.45, allocations: 0 / 0.6635 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001045/0.4501, allocations: 52.06 kB / 0.6636 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.4502, allocations: 5.156 kB / 0.6636 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.4502, allocations: 1.844 kB / 0.6636 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.4502, allocations: 8.031 kB / 0.6636 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.584e-05/0.4503, allocations: 10.16 kB / 0.6636 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.4503, allocations: 0 / 0.6636 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.493e-05/0.4503, allocations: 10.28 kB / 0.6636 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.4503, allocations: 1.312 kB / 0.6636 GB, free: 6.074 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.697e-05/0.4504, allocations: 113.9 kB / 0.6637 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.4504, allocations: 5.969 kB / 0.6637 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.4506, allocations: 65.53 kB / 0.6638 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4506, allocations: 0 / 0.6638 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4506, allocations: 5.484 kB / 0.6638 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4506, allocations: 4 kB / 0.6638 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.4507, allocations: 165.7 kB / 0.664 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4507, allocations: 1.859 kB / 0.664 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/0.4508, allocations: 6.453 kB / 0.664 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4508, allocations: 0 / 0.664 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.4508, allocations: 0 / 0.664 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.4508, allocations: 5.875 kB / 0.664 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4508, allocations: 0 / 0.664 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.4509, allocations: 151.7 kB / 0.6641 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.876e-05/0.451, allocations: 82.67 kB / 0.6642 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.451, allocations: 1.125 kB / 0.6642 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.744e-05/0.451, allocations: 6.234 kB / 0.6642 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.4511, allocations: 3.469 kB / 0.6642 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.4511, allocations: 0 / 0.6642 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.949e-05/0.4511, allocations: 88.8 kB / 0.6643 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4511, allocations: 0 / 0.6643 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002329/0.4514, allocations: 17.47 kB / 0.6643 GB, free: 5.363 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003565/0.4517, allocations: 0.7002 MB / 0.665 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.4519, allocations: 25.98 kB / 0.665 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.4519, allocations: 0 / 0.665 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.226e-05/0.4519, allocations: 10.64 kB / 0.665 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.4521, allocations: 5.531 kB / 0.665 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.4525, allocations: 163.2 kB / 0.6652 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.378e-05/0.4526, allocations: 0.6823 MB / 0.6659 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.226e-05/0.4527, allocations: 5.25 kB / 0.6659 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.4527, allocations: 15.2 kB / 0.6659 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.4527, allocations: 0 / 0.6659 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.4696, allocations: 1.602 MB / 0.6674 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.282/7.751, allocations: 4.594 kB / 0.6674 GB, free: 3.008 MB / 0.4981 GB (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/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)