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.004871/0.004871, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.001133/0.001133, allocations: 198.4 kB / 16.68 MB, free: 5.938 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7927/0.7927, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.62 kB / 0.5809 GB, free: 23.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1547, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002816/0.1576, allocations: 1.435 MB / 0.6606 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009059/0.1585, allocations: 479.7 kB / 0.661 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.1586, allocations: 0 / 0.661 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.353e-05/0.1586, allocations: 3.984 kB / 0.661 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.834e-05/0.1587, allocations: 3.938 kB / 0.6611 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.159, allocations: 23.92 kB / 0.6611 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.452e-05/0.1591, allocations: 27.91 kB / 0.6611 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1592, allocations: 4 kB / 0.6611 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.913e-05/0.1593, allocations: 8 kB / 0.6611 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.263e-05/0.1593, allocations: 15.92 kB / 0.6611 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.1593, allocations: 0 / 0.6611 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.501e-05/0.1594, allocations: 23.98 kB / 0.6612 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.1595, allocations: 3.984 kB / 0.6612 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.1595, allocations: 15.92 kB / 0.6612 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.1596, allocations: 35.84 kB / 0.6612 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1596, allocations: 0 / 0.6612 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.204e-06/0.1596, allocations: 0 / 0.6612 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.1597, allocations: 0 / 0.6612 GB, free: 8.648 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.0005514/0.1602, allocations: 346.3 kB / 0.6615 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1603, allocations: 8.031 kB / 0.6615 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/0.1603, allocations: 34.69 kB / 0.6616 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.1603, allocations: 4.938 kB / 0.6616 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.1604, allocations: 164.9 kB / 0.6617 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1605, allocations: 4.375 kB / 0.6617 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.1605, allocations: 4.375 kB / 0.6617 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.1607, allocations: 57.73 kB / 0.6618 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1607, allocations: 0 / 0.6618 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1607, allocations: 4 kB / 0.6618 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1607, allocations: 0 / 0.6618 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.1609, allocations: 39.89 kB / 0.6618 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.1612, allocations: 248.9 kB / 0.6621 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.1614, allocations: 42.53 kB / 0.6621 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.443e-05/0.1615, allocations: 24.91 kB / 0.6621 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.1616, allocations: 77.11 kB / 0.6622 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.1616, allocations: 42.55 kB / 0.6623 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1617, allocations: 0 / 0.6623 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003468/0.162, allocations: 77.59 kB / 0.6623 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.1621, allocations: 55.41 kB / 0.6624 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.324e-05/0.1622, allocations: 105.8 kB / 0.6625 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.1622, allocations: 25.7 kB / 0.6625 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.1622, allocations: 88.55 kB / 0.6626 GB, free: 7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.1623, allocations: 11.83 kB / 0.6626 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.1623, allocations: 17.7 kB / 0.6626 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1624, allocations: 318.8 kB / 0.6629 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.218e-05/0.1625, allocations: 15.98 kB / 0.6629 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.872e-05/0.1626, allocations: 11.98 kB / 0.663 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.1628, allocations: 48.81 kB / 0.663 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1628, allocations: 0 / 0.663 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002041/0.163, allocations: 65.67 kB / 0.6631 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.163, allocations: 7.984 kB / 0.6631 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.163, allocations: 4 kB / 0.6631 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1631, allocations: 0 / 0.6631 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.375e-05/0.1632, allocations: 4 kB / 0.6631 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.1632, allocations: 4.031 kB / 0.6631 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.1632, allocations: 7.984 kB / 0.6631 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.1632, allocations: 0 / 0.6631 GB, free: 6.469 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.748e-05/0.1633, allocations: 114.7 kB / 0.6632 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.1634, allocations: 3.906 kB / 0.6632 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.1636, allocations: 80.7 kB / 0.6633 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1636, allocations: 4.031 kB / 0.6633 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1637, allocations: 3.938 kB / 0.6633 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1637, allocations: 0 / 0.6633 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.1639, allocations: 161.5 kB / 0.6634 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1639, allocations: 0 / 0.6634 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.658e-05/0.1639, allocations: 11.98 kB / 0.6635 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.164, allocations: 0 / 0.6635 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.164, allocations: 0 / 0.6635 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.164, allocations: 0 / 0.6635 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.164, allocations: 0 / 0.6635 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.1642, allocations: 171.4 kB / 0.6636 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.1643, allocations: 81.11 kB / 0.6637 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.1643, allocations: 0 / 0.6637 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.609e-05/0.1644, allocations: 8.234 kB / 0.6637 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.1644, allocations: 0 / 0.6637 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.1644, allocations: 4 kB / 0.6637 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.046e-05/0.1645, allocations: 91.3 kB / 0.6638 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1645, allocations: 0 / 0.6638 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002293/0.1647, allocations: 8 kB / 0.6638 GB, free: 5.637 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.0005084/0.1653, allocations: 0.7007 MB / 0.6645 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001933/0.1655, allocations: 43.89 kB / 0.6645 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1655, allocations: 0 / 0.6645 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.069e-05/0.1656, allocations: 19.98 kB / 0.6645 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.1659, allocations: 7.578 kB / 0.6646 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000521/0.1664, allocations: 143.2 kB / 0.6647 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.1666, allocations: 0.6729 MB / 0.6653 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.488e-05/0.1667, allocations: 0 / 0.6653 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.1667, allocations: 15.42 kB / 0.6654 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1667, allocations: 0 / 0.6654 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01711/0.1838, allocations: 1.424 MB / 0.6668 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.568/7.752, allocations: 10.94 kB / 0.6668 GB, free: 2.605 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)