Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_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.001469/0.001469, allocations: 99.94 kB / 16.4 MB, free: 6.461 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.001487/0.001487, allocations: 196 kB / 17.34 MB, free: 5.715 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.46/1.46, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8369/0.8369, allocations: 126.7 MB / 417.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001905, allocations: 66.25 kB / 0.5736 GB, free: 27.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1483, allocations: 78.86 MB / 0.6506 GB, free: 3.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00165/0.15, allocations: 0.5755 MB / 0.6512 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.1514, allocations: 1.122 MB / 0.6523 GB, free: 1.809 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.1515, allocations: 0 / 0.6523 GB, free: 1.809 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.1515, allocations: 0 / 0.6523 GB, free: 1.809 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.1517, allocations: 15.94 kB / 0.6523 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.557e-06/0.1517, allocations: 3.938 kB / 0.6523 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.355e-05/0.1518, allocations: 11.97 kB / 0.6523 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.1518, allocations: 4 kB / 0.6523 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.233e-05/0.1518, allocations: 4 kB / 0.6523 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.29e-05/0.1519, allocations: 7.938 kB / 0.6523 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.633e-06/0.1519, allocations: 0 / 0.6523 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.152, allocations: 15.98 kB / 0.6523 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.925e-06/0.152, allocations: 3.984 kB / 0.6523 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.298e-05/0.152, allocations: 3.938 kB / 0.6523 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.657e-05/0.1521, allocations: 11.98 kB / 0.6523 GB, free: 1.727 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1521, allocations: 3.938 kB / 0.6523 GB, free: 1.723 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1521, allocations: 0 / 0.6523 GB, free: 1.723 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1521, allocations: 4 kB / 0.6523 GB, free: 1.719 MB / 494.1 MB 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.0002899/0.1524, allocations: 319.8 kB / 0.6526 GB, free: 1.359 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1525, allocations: 8.031 kB / 0.6527 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.785e-05/0.1525, allocations: 30.75 kB / 0.6527 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.48e-05/0.1525, allocations: 4.938 kB / 0.6527 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1526, allocations: 164.4 kB / 0.6528 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.1526, allocations: 384 / 0.6528 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.1527, allocations: 4.359 kB / 0.6528 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.167e-05/0.1528, allocations: 37.77 kB / 0.6529 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1528, allocations: 4 kB / 0.6529 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.1528, allocations: 4 kB / 0.6529 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.1528, allocations: 7.984 kB / 0.6529 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.169e-05/0.1529, allocations: 15.92 kB / 0.6529 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.153, allocations: 153.5 kB / 0.6531 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.1532, allocations: 34.61 kB / 0.6531 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.253e-05/0.1533, allocations: 12.86 kB / 0.6531 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.1534, allocations: 85.19 kB / 0.6532 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.1534, allocations: 38.5 kB / 0.6532 GB, free: 0.625 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1534, allocations: 0 / 0.6532 GB, free: 0.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.004309/0.1578, allocations: 0.5638 MB / 0.6538 GB, free: 56 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.1578, allocations: 55.41 kB / 0.6538 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.045e-05/0.1579, allocations: 89.86 kB / 0.6539 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.1579, allocations: 25.7 kB / 0.6539 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.158, allocations: 88.08 kB / 0.654 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.158, allocations: 19.84 kB / 0.654 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.1581, allocations: 21.7 kB / 0.6541 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1582, allocations: 314.8 kB / 0.6544 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000617/0.1588, allocations: 83.95 kB / 0.6544 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/0.1595, allocations: 106.5 kB / 0.6545 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.1607, allocations: 186.4 kB / 0.6547 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.1607, allocations: 0 / 0.6547 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001326/0.162, allocations: 221.5 kB / 0.6549 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.162, allocations: 9.875 kB / 0.6549 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1621, allocations: 0 / 0.6549 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1621, allocations: 0 / 0.6549 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/0.1625, allocations: 52 kB / 0.655 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1625, allocations: 0 / 0.655 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/0.1629, allocations: 43.97 kB / 0.655 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.1629, allocations: 0 / 0.655 GB, free: 14.7 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.937e-05/0.163, allocations: 117.8 kB / 0.6551 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.163, allocations: 3.938 kB / 0.6551 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.1644, allocations: 237 kB / 0.6554 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1644, allocations: 7.984 kB / 0.6554 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1644, allocations: 0 / 0.6554 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1644, allocations: 0 / 0.6554 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.166, allocations: 454.7 kB / 0.6558 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.166, allocations: 0 / 0.6558 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003844/0.1664, allocations: 51.91 kB / 0.6559 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.1664, allocations: 4 kB / 0.6559 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.1664, allocations: 7.938 kB / 0.6559 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1664, allocations: 7.938 kB / 0.6559 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1665, allocations: 0 / 0.6559 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.1677, allocations: 307.3 kB / 0.6562 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.1678, allocations: 77.11 kB / 0.6563 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.1678, allocations: 0 / 0.6563 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.1682, allocations: 43.97 kB / 0.6563 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.1682, allocations: 0 / 0.6563 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1682, allocations: 4 kB / 0.6563 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.017e-05/0.1683, allocations: 79.28 kB / 0.6564 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1683, allocations: 0 / 0.6564 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002409/0.1685, allocations: 12 kB / 0.6564 GB, free: 13.2 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 (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.001647/0.1702, allocations: 0.8412 MB / 0.6572 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001249/0.1714, allocations: 183.9 kB / 0.6574 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1714, allocations: 0 / 0.6574 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005972/0.172, allocations: 88.08 kB / 0.6575 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.1723, allocations: 4.422 kB / 0.6575 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.1736, allocations: 245.5 kB / 0.6577 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.1739, allocations: 0.6768 MB / 0.6584 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001741/0.174, allocations: 31.98 kB / 0.6584 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-05/0.1741, allocations: 11.44 kB / 0.6584 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1741, allocations: 0 / 0.6584 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03335/0.2075, allocations: 1.64 MB / 0.66 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.917/8.125, allocations: 12 kB / 0.66 GB, free: 9.527 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)