Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside",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.007689/0.007689, allocations: 100.9 kB / 15.73 MB, free: 6 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.001904/0.001904, allocations: 189.5 kB / 16.67 MB, free: 5.934 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8566/0.8566, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 64.62 kB / 0.5809 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1545, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.00242/0.157, allocations: 1.436 MB / 0.6606 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007708/0.1578, allocations: 479.7 kB / 0.6611 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.1578, allocations: 0 / 0.6611 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.913e-05/0.1578, allocations: 3.938 kB / 0.6611 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.5e-05/0.1579, allocations: 4 kB / 0.6611 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.1581, allocations: 23.91 kB / 0.6611 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.685e-05/0.1582, allocations: 27.94 kB / 0.6611 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.484e-05/0.1583, allocations: 7.984 kB / 0.6611 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.397e-05/0.1584, allocations: 11.98 kB / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.79e-05/0.1584, allocations: 11.92 kB / 0.6611 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.1584, allocations: 4 kB / 0.6612 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.935e-05/0.1585, allocations: 19.92 kB / 0.6612 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.1585, allocations: 8 kB / 0.6612 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.1586, allocations: 7.922 kB / 0.6612 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.1587, allocations: 36.11 kB / 0.6612 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1587, allocations: 4 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.854e-06/0.1587, allocations: 4 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.1587, allocations: 0 / 0.6612 GB, free: 11.93 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.0004851/0.1592, allocations: 339.4 kB / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.1592, allocations: 12.03 kB / 0.6616 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.1593, allocations: 30.75 kB / 0.6616 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.466e-05/0.1593, allocations: 4.922 kB / 0.6616 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.1595, allocations: 172.3 kB / 0.6618 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1595, allocations: 384 / 0.6618 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.1595, allocations: 8.312 kB / 0.6618 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.1597, allocations: 61.72 kB / 0.6618 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1597, allocations: 0 / 0.6618 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1597, allocations: 4 kB / 0.6618 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1597, allocations: 0 / 0.6618 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.1599, allocations: 31.97 kB / 0.6619 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.1602, allocations: 252.9 kB / 0.6621 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.1604, allocations: 38.5 kB / 0.6621 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.111e-05/0.1605, allocations: 28.89 kB / 0.6622 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.1606, allocations: 81.11 kB / 0.6622 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1606, allocations: 30.56 kB / 0.6623 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.885e-06/0.1606, allocations: 4 kB / 0.6623 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003584/0.161, allocations: 81.64 kB / 0.6624 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.161, allocations: 51.41 kB / 0.6624 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.87e-05/0.1611, allocations: 109.8 kB / 0.6625 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.1612, allocations: 29.64 kB / 0.6625 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.1612, allocations: 80.14 kB / 0.6626 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.1612, allocations: 8.078 kB / 0.6626 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.1613, allocations: 17.72 kB / 0.6626 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.1614, allocations: 318.8 kB / 0.6629 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-05/0.1615, allocations: 19.98 kB / 0.663 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.451e-05/0.1616, allocations: 11.98 kB / 0.663 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.1618, allocations: 44.88 kB / 0.663 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1618, allocations: 0 / 0.663 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002046/0.162, allocations: 69.62 kB / 0.6631 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.162, allocations: 4 kB / 0.6631 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.162, allocations: 0 / 0.6631 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.162, allocations: 0 / 0.6631 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.825e-05/0.1621, allocations: 15.92 kB / 0.6631 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1621, allocations: 0 / 0.6631 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.1622, allocations: 15.95 kB / 0.6631 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.1622, allocations: 0 / 0.6631 GB, free: 9.742 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 8.539e-05/0.1623, allocations: 110.4 kB / 0.6632 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.1623, allocations: 4 kB / 0.6632 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.1626, allocations: 68.78 kB / 0.6633 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1626, allocations: 3.938 kB / 0.6633 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.1626, allocations: 8.031 kB / 0.6633 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1626, allocations: 0 / 0.6633 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.1628, allocations: 161.6 kB / 0.6635 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1628, allocations: 0 / 0.6635 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.772e-05/0.1629, allocations: 7.984 kB / 0.6635 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.1629, allocations: 4 kB / 0.6635 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.1629, allocations: 4.188 kB / 0.6635 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1629, allocations: 4 kB / 0.6635 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1629, allocations: 0 / 0.6635 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.1631, allocations: 167.5 kB / 0.6636 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.1632, allocations: 81.06 kB / 0.6637 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.1632, allocations: 0 / 0.6637 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.876e-05/0.1633, allocations: 7.984 kB / 0.6637 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.1633, allocations: 8 kB / 0.6637 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.1634, allocations: 0 / 0.6637 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.143e-05/0.1634, allocations: 83.31 kB / 0.6638 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1634, allocations: 0 / 0.6638 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002226/0.1636, allocations: 7.984 kB / 0.6638 GB, free: 8.922 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.0006302/0.1643, allocations: 0.7006 MB / 0.6645 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.1645, allocations: 40 kB / 0.6645 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1645, allocations: 0 / 0.6645 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.89e-05/0.1646, allocations: 19.97 kB / 0.6646 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.1649, allocations: 4 kB / 0.6646 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.1654, allocations: 155.1 kB / 0.6647 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.1658, allocations: 0.6768 MB / 0.6654 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.569e-05/0.1658, allocations: 0 / 0.6654 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.1659, allocations: 11.44 kB / 0.6654 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1659, allocations: 0 / 0.6654 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.1877, allocations: 1.416 MB / 0.6668 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.03, allocations: 10.91 kB / 0.6668 GB, free: 5.902 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)