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.006765/0.006764, allocations: 100.9 kB / 15.73 MB, free: 6.051 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.001074/0.001074, allocations: 200.1 kB / 16.68 MB, free: 5.965 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.393/1.393, 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.8337/0.8337, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.02 kB / 0.5809 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1534, allocations: 80.2 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002732/0.1562, allocations: 1.427 MB / 0.6606 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007984/0.157, allocations: 479.8 kB / 0.661 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.788e-05/0.1571, allocations: 0 / 0.661 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/0.1571, allocations: 3.938 kB / 0.661 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.835e-05/0.1572, allocations: 7.922 kB / 0.6611 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.1574, allocations: 19.92 kB / 0.6611 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.094e-05/0.1575, allocations: 19.98 kB / 0.6611 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.035e-05/0.1576, allocations: 7.984 kB / 0.6611 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.569e-05/0.1576, allocations: 15.88 kB / 0.6611 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.611e-05/0.1577, allocations: 15.92 kB / 0.6611 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.1577, allocations: 8 kB / 0.6611 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.875e-05/0.1578, allocations: 19.98 kB / 0.6612 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.1578, allocations: 7.984 kB / 0.6612 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.1578, allocations: 11.94 kB / 0.6612 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.1579, allocations: 27.89 kB / 0.6612 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1579, allocations: 0 / 0.6612 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.158, allocations: 0 / 0.6612 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.158, allocations: 0 / 0.6612 GB, free: 8.66 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.0004133/0.1584, allocations: 346.2 kB / 0.6615 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1584, allocations: 12.03 kB / 0.6615 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.1585, allocations: 42.73 kB / 0.6616 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.36e-05/0.1585, allocations: 0.9375 kB / 0.6616 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.1586, allocations: 168.9 kB / 0.6617 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.1586, allocations: 4.375 kB / 0.6618 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.1586, allocations: 4.312 kB / 0.6618 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.1588, allocations: 53.8 kB / 0.6618 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1588, allocations: 0 / 0.6618 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1589, allocations: 0 / 0.6618 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.1589, allocations: 4 kB / 0.6618 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.1591, allocations: 35.95 kB / 0.6618 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.1594, allocations: 248.9 kB / 0.6621 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.1595, allocations: 34.56 kB / 0.6621 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.447e-05/0.1596, allocations: 32.89 kB / 0.6621 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.1598, allocations: 77.11 kB / 0.6622 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.1598, allocations: 34.56 kB / 0.6623 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.1598, allocations: 0 / 0.6623 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003496/0.1602, allocations: 85.58 kB / 0.6623 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.1602, allocations: 55.53 kB / 0.6624 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.038e-05/0.1603, allocations: 101.8 kB / 0.6625 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1603, allocations: 25.7 kB / 0.6625 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.1604, allocations: 84.42 kB / 0.6626 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.1604, allocations: 11.84 kB / 0.6626 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.1605, allocations: 13.72 kB / 0.6626 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1606, allocations: 318.8 kB / 0.6629 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.516e-05/0.1607, allocations: 15.98 kB / 0.6629 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.334e-05/0.1607, allocations: 19.98 kB / 0.663 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.1609, allocations: 40.81 kB / 0.663 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1609, allocations: 0 / 0.663 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001858/0.1611, allocations: 65.61 kB / 0.6631 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1611, allocations: 12.09 kB / 0.6631 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1611, allocations: 3.938 kB / 0.6631 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1611, allocations: 0 / 0.6631 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.413e-05/0.1612, allocations: 7.984 kB / 0.6631 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1613, allocations: 3.984 kB / 0.6631 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.293e-05/0.1613, allocations: 7.984 kB / 0.6631 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1613, allocations: 4 kB / 0.6631 GB, free: 6.477 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 7.738e-05/0.1614, allocations: 110.7 kB / 0.6632 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.1614, allocations: 7.906 kB / 0.6632 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.1617, allocations: 76.72 kB / 0.6633 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1617, allocations: 4.188 kB / 0.6633 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1617, allocations: 0 / 0.6633 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.1617, allocations: 11.97 kB / 0.6633 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.1619, allocations: 157.6 kB / 0.6634 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1619, allocations: 4 kB / 0.6635 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/0.162, allocations: 7.984 kB / 0.6635 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.162, allocations: 4.031 kB / 0.6635 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.162, allocations: 0 / 0.6635 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.162, allocations: 0 / 0.6635 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.162, allocations: 4 kB / 0.6635 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.1622, allocations: 163.5 kB / 0.6636 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.1623, allocations: 77.11 kB / 0.6637 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.1623, allocations: 7.969 kB / 0.6637 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.82e-05/0.1624, allocations: 7.984 kB / 0.6637 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.1624, allocations: 4 kB / 0.6637 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.1624, allocations: 4 kB / 0.6637 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.054e-05/0.1625, allocations: 83.27 kB / 0.6638 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1625, allocations: 0 / 0.6638 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002179/0.1627, allocations: 4 kB / 0.6638 GB, free: 5.648 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.0005431/0.1633, allocations: 0.7084 MB / 0.6645 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.1635, allocations: 43.89 kB / 0.6645 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1635, allocations: 0 / 0.6645 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.806e-05/0.1636, allocations: 20.08 kB / 0.6646 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.1639, allocations: 9.562 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.000396/0.1643, allocations: 131.1 kB / 0.6647 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.1645, allocations: 0.6768 MB / 0.6653 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.183e-05/0.1645, allocations: 3.938 kB / 0.6654 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.1646, allocations: 11.44 kB / 0.6654 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1646, allocations: 4.062 kB / 0.6654 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.1823, allocations: 1.411 MB / 0.6667 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.206/7.389, allocations: 15.7 kB / 0.6668 GB, free: 2.625 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)