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.004562/0.004562, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001232/0.001232, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8614/0.8614, allocations: 132.2 MB / 422.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 59.22 kB / 0.5809 GB, free: 24.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1513, allocations: 80.21 MB / 0.6592 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002883/0.1542, allocations: 1.465 MB / 0.6606 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1554, allocations: 0.5618 MB / 0.6612 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.382e-05/0.1555, allocations: 0 / 0.6612 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.1555, allocations: 7.938 kB / 0.6612 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.387e-05/0.1556, allocations: 3.938 kB / 0.6612 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.1559, allocations: 51.81 kB / 0.6612 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.771e-05/0.156, allocations: 27.88 kB / 0.6613 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1561, allocations: 7.984 kB / 0.6613 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.992e-05/0.1562, allocations: 8 kB / 0.6613 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.118e-05/0.1563, allocations: 19.91 kB / 0.6613 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.1563, allocations: 8 kB / 0.6613 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.1565, allocations: 51.95 kB / 0.6614 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.1565, allocations: 7.938 kB / 0.6614 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.1565, allocations: 7.938 kB / 0.6614 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.1567, allocations: 68.02 kB / 0.6614 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1567, allocations: 3.984 kB / 0.6614 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1567, allocations: 0 / 0.6614 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.1567, allocations: 0 / 0.6614 GB, free: 8.555 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.0004881/0.1572, allocations: 347.3 kB / 0.6618 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.1573, allocations: 12.03 kB / 0.6618 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.1573, allocations: 34.75 kB / 0.6618 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.1574, allocations: 8.891 kB / 0.6618 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.1575, allocations: 172.3 kB / 0.662 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.1575, allocations: 384 / 0.662 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.1575, allocations: 8.312 kB / 0.662 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.1577, allocations: 45.81 kB / 0.662 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.1577, allocations: 0 / 0.662 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.1577, allocations: 0 / 0.662 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1577, allocations: 0 / 0.662 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.446e-05/0.1578, allocations: 31.86 kB / 0.6621 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.1582, allocations: 260.9 kB / 0.6623 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.715e-05/0.1583, allocations: 26.56 kB / 0.6623 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/0.1584, allocations: 12.92 kB / 0.6624 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008695/0.1593, allocations: 477.4 kB / 0.6628 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1593, allocations: 34.56 kB / 0.6628 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 7.654e-06/0.1593, allocations: 4 kB / 0.6628 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002595/0.1596, allocations: 61.61 kB / 0.6629 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.1596, allocations: 55.53 kB / 0.663 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.1597, allocations: 109.8 kB / 0.6631 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1598, allocations: 29.7 kB / 0.6631 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.1598, allocations: 80.14 kB / 0.6632 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.1598, allocations: 7.953 kB / 0.6632 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.1599, allocations: 17.7 kB / 0.6632 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.16, allocations: 314.8 kB / 0.6635 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.688e-05/0.1601, allocations: 16 kB / 0.6635 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.743e-05/0.1601, allocations: 7.984 kB / 0.6635 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.046e-05/0.1602, allocations: 32.78 kB / 0.6635 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1602, allocations: 0 / 0.6635 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001338/0.1604, allocations: 53.64 kB / 0.6636 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.1604, allocations: 8 kB / 0.6636 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1604, allocations: 0 / 0.6636 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1605, allocations: 4.094 kB / 0.6636 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.857e-05/0.1605, allocations: 7.984 kB / 0.6636 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1605, allocations: 0 / 0.6636 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.498e-05/0.1606, allocations: 4 kB / 0.6636 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.1606, allocations: 0 / 0.6636 GB, free: 5.992 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 9.198e-05/0.1607, allocations: 110.7 kB / 0.6637 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.1607, allocations: 4 kB / 0.6637 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/0.1609, allocations: 69.14 kB / 0.6638 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1609, allocations: 4.031 kB / 0.6638 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.161, allocations: 0 / 0.6638 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.161, allocations: 3.984 kB / 0.6638 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.1612, allocations: 161.6 kB / 0.664 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1612, allocations: 0 / 0.664 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.732e-05/0.1612, allocations: 7.984 kB / 0.664 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1612, allocations: 3.938 kB / 0.664 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1613, allocations: 7.938 kB / 0.664 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1613, allocations: 0 / 0.664 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1613, allocations: 4 kB / 0.664 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.1615, allocations: 155.4 kB / 0.6641 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.1615, allocations: 85.03 kB / 0.6642 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.1615, allocations: 4 kB / 0.6642 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.062e-05/0.1616, allocations: 0 / 0.6642 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.1617, allocations: 7.984 kB / 0.6642 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.1617, allocations: 4 kB / 0.6642 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.963e-05/0.1617, allocations: 87.3 kB / 0.6643 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1617, allocations: 0 / 0.6643 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002482/0.162, allocations: 16 kB / 0.6643 GB, free: 5.164 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.0006769/0.1627, allocations: 0.7045 MB / 0.665 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001661/0.1629, allocations: 27.95 kB / 0.665 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1629, allocations: 0 / 0.665 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.903e-05/0.1629, allocations: 8 kB / 0.665 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.1632, allocations: 9.688 kB / 0.6651 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005054/0.1637, allocations: 156.1 kB / 0.6652 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.1641, allocations: 0.6768 MB / 0.6659 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.878e-05/0.1641, allocations: 8.125 kB / 0.6659 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.1641, allocations: 11.44 kB / 0.6659 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.1642, allocations: 3.938 kB / 0.6659 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.1868, allocations: 1.589 MB / 0.6674 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.985/8.172, allocations: 12.22 kB / 0.6675 GB, free: 1.953 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)