Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.007076/0.007076, allocations: 98.02 kB / 15.73 MB, free: 6.062 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.001833/0.001833, allocations: 195.6 kB / 16.68 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.432/1.432, 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-master/package.mo): time 0.852/0.852, allocations: 135.6 MB / 426.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 70.61 kB / 0.5858 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1528, allocations: 81.02 MB / 0.6649 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001588/0.1545, allocations: 0.5759 MB / 0.6655 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1559, allocations: 1.103 MB / 0.6665 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.1559, allocations: 0 / 0.6665 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/0.156, allocations: 4 kB / 0.6666 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.1562, allocations: 23.92 kB / 0.6666 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.607e-06/0.1562, allocations: 0 / 0.6666 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.266e-05/0.1562, allocations: 11.88 kB / 0.6666 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.1563, allocations: 3.984 kB / 0.6666 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.164e-05/0.1563, allocations: 0 / 0.6666 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.153e-05/0.1563, allocations: 3.984 kB / 0.6666 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.687e-06/0.1563, allocations: 4 kB / 0.6666 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1564, allocations: 15.98 kB / 0.6666 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.494e-06/0.1565, allocations: 3.938 kB / 0.6666 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.436e-05/0.1565, allocations: 3.938 kB / 0.6666 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.944e-05/0.1566, allocations: 19.97 kB / 0.6666 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1566, allocations: 0 / 0.6666 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1566, allocations: 0 / 0.6666 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.1566, allocations: 0 / 0.6666 GB, free: 3.785 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.0003014/0.1569, allocations: 319.8 kB / 0.6669 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1569, allocations: 9.109 kB / 0.667 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/0.157, allocations: 34.75 kB / 0.667 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.157, allocations: 0.9375 kB / 0.667 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.1571, allocations: 164.4 kB / 0.6671 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.1571, allocations: 4.375 kB / 0.6671 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.1572, allocations: 384 / 0.6671 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.201e-05/0.1573, allocations: 45.75 kB / 0.6672 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1573, allocations: 0 / 0.6672 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-06/0.1573, allocations: 0 / 0.6672 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1573, allocations: 0 / 0.6672 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.255e-05/0.1573, allocations: 4 kB / 0.6672 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.1575, allocations: 157.6 kB / 0.6673 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.1577, allocations: 34.61 kB / 0.6674 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.195e-05/0.1577, allocations: 16.8 kB / 0.6674 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.1578, allocations: 85.19 kB / 0.6675 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.1579, allocations: 42.42 kB / 0.6675 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1579, allocations: 0 / 0.6675 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004325/0.1622, allocations: 0.5676 MB / 0.6681 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.1623, allocations: 59.41 kB / 0.6681 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.489e-05/0.1623, allocations: 89.86 kB / 0.6682 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.1624, allocations: 25.7 kB / 0.6682 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.1624, allocations: 84.08 kB / 0.6683 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.1625, allocations: 11.91 kB / 0.6683 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/0.1625, allocations: 21.7 kB / 0.6684 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1627, allocations: 314.8 kB / 0.6687 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006186/0.1633, allocations: 79.95 kB / 0.6687 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006436/0.1639, allocations: 110.5 kB / 0.6688 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.1652, allocations: 194.4 kB / 0.669 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1652, allocations: 0 / 0.669 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001322/0.1665, allocations: 217.5 kB / 0.6692 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1665, allocations: 8 kB / 0.6692 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1666, allocations: 0 / 0.6692 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1666, allocations: 0 / 0.6692 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.167, allocations: 52 kB / 0.6693 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.167, allocations: 0 / 0.6693 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.1674, allocations: 44.16 kB / 0.6693 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.1674, allocations: 4 kB / 0.6693 GB, free: 0.7656 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.794e-05/0.1675, allocations: 117.8 kB / 0.6694 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.1676, allocations: 7.938 kB / 0.6694 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/0.169, allocations: 233 kB / 0.6697 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.169, allocations: 4 kB / 0.6697 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.169, allocations: 0 / 0.6697 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.169, allocations: 0 / 0.6697 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.1706, allocations: 458.4 kB / 0.6701 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1706, allocations: 0 / 0.6701 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/0.171, allocations: 51.97 kB / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.171, allocations: 0 / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.1711, allocations: 7.984 kB / 0.6702 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1711, allocations: 0 / 0.6702 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1711, allocations: 3.938 kB / 0.6702 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.1724, allocations: 307.4 kB / 0.6705 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.1725, allocations: 85 kB / 0.6705 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.1725, allocations: 0 / 0.6705 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/0.1729, allocations: 39.98 kB / 0.6706 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.1729, allocations: 7.984 kB / 0.6706 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.1729, allocations: 0 / 0.6706 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.173, allocations: 79.28 kB / 0.6707 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.173, allocations: 0 / 0.6707 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002516/0.1732, allocations: 8 kB / 0.6707 GB, free: 15.27 MB / 0.5137 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 (5): * Single equations (assignments): 5 * 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.001728/0.175, allocations: 0.8454 MB / 0.6715 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001326/0.1763, allocations: 179.8 kB / 0.6717 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1763, allocations: 3.938 kB / 0.6717 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006121/0.177, allocations: 88.14 kB / 0.6718 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.1772, allocations: 8 kB / 0.6718 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.1785, allocations: 254.3 kB / 0.672 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.1789, allocations: 0.6729 MB / 0.6727 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001818/0.179, allocations: 28.25 kB / 0.6727 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.149e-05/0.1791, allocations: 19.42 kB / 0.6727 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1791, allocations: 0 / 0.6727 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/0.2008, allocations: 1.633 MB / 0.6743 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.7, allocations: 6.688 kB / 0.6743 GB, free: 11.57 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)