Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.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.RegStep,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep",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.001288/0.001288, allocations: 109.4 kB / 16.41 MB, free: 6.504 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.001292/0.001292, allocations: 191.9 kB / 17.34 MB, free: 5.758 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8428/0.8428, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 70.7 kB / 0.5736 GB, free: 27.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1644, allocations: 78.85 MB / 0.6506 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001573/0.166, allocations: 0.5649 MB / 0.6511 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002413/0.1662, allocations: 51.78 kB / 0.6512 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.438e-05/0.1662, allocations: 4 kB / 0.6512 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.074e-05/0.1663, allocations: 0 / 0.6512 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.582e-06/0.1663, allocations: 0 / 0.6512 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.1665, allocations: 19.91 kB / 0.6512 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.023e-05/0.1666, allocations: 4 kB / 0.6512 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.759e-05/0.1666, allocations: 3.938 kB / 0.6512 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.215e-05/0.1666, allocations: 0 / 0.6512 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.276e-05/0.1666, allocations: 8 kB / 0.6512 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.436e-06/0.1667, allocations: 0 / 0.6512 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1668, allocations: 19.97 kB / 0.6513 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.887e-06/0.1668, allocations: 4 kB / 0.6513 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.728e-05/0.1668, allocations: 0 / 0.6513 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.11e-05/0.1669, allocations: 15.97 kB / 0.6513 GB, free: 2.879 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.1669, allocations: 4 kB / 0.6513 GB, free: 2.875 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1669, allocations: 0 / 0.6513 GB, free: 2.875 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.1669, allocations: 0 / 0.6513 GB, free: 2.875 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003268/0.1673, allocations: 313.4 kB / 0.6516 GB, free: 2.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1673, allocations: 16.02 kB / 0.6516 GB, free: 2.504 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.121e-05/0.1673, allocations: 30.75 kB / 0.6516 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002358/0.1676, allocations: 20.91 kB / 0.6516 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.1677, allocations: 164.3 kB / 0.6518 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-06/0.1677, allocations: 384 / 0.6518 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.1677, allocations: 384 / 0.6518 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1679, allocations: 34.25 kB / 0.6518 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1679, allocations: 3.938 kB / 0.6518 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1679, allocations: 0 / 0.6518 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1679, allocations: 11.88 kB / 0.6518 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.301e-05/0.168, allocations: 15.98 kB / 0.6519 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.1682, allocations: 145.7 kB / 0.652 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.424e-05/0.1683, allocations: 22.89 kB / 0.652 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.777e-05/0.1684, allocations: 12.91 kB / 0.652 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.1684, allocations: 0 / 0.652 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.1684, allocations: 38.56 kB / 0.6521 GB, free: 1.891 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.1684, allocations: 4 kB / 0.6521 GB, free: 1.887 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002341/0.1687, allocations: 45.61 kB / 0.6521 GB, free: 1.836 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.1687, allocations: 51.41 kB / 0.6522 GB, free: 1.773 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.361e-05/0.1688, allocations: 93.86 kB / 0.6523 GB, free: 1.672 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.1688, allocations: 25.7 kB / 0.6523 GB, free: 1.641 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.1689, allocations: 84.2 kB / 0.6524 GB, free: 1.555 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.1689, allocations: 7.953 kB / 0.6524 GB, free: 1.547 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.1689, allocations: 17.72 kB / 0.6524 GB, free: 1.523 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1691, allocations: 314.8 kB / 0.6527 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.937e-05/0.1691, allocations: 3.984 kB / 0.6527 GB, free: 1.203 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.967e-05/0.1692, allocations: 4 kB / 0.6527 GB, free: 1.199 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.866e-05/0.1693, allocations: 24.91 kB / 0.6527 GB, free: 1.172 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1693, allocations: 0 / 0.6527 GB, free: 1.172 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000126/0.1694, allocations: 37.69 kB / 0.6528 GB, free: 1.129 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1694, allocations: 4 kB / 0.6528 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.1695, allocations: 11.92 kB / 0.6528 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1695, allocations: 0 / 0.6528 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.19e-05/0.1696, allocations: 3.938 kB / 0.6528 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1696, allocations: 4 kB / 0.6528 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.236e-05/0.1696, allocations: 0 / 0.6528 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.1696, allocations: 4.031 kB / 0.6528 GB, free: 1.102 MB / 494.1 MB 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 (1): * Single equations (assignments): 1 * 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.041e-05/0.1697, allocations: 113.8 kB / 0.6529 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.1697, allocations: 4 kB / 0.6529 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.1698, allocations: 7.062 kB / 0.6529 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1698, allocations: 0 / 0.6529 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1698, allocations: 0 / 0.6529 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1698, allocations: 3.984 kB / 0.6529 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.1699, allocations: 141.7 kB / 0.653 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1699, allocations: 7.984 kB / 0.653 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.17, allocations: 7.938 kB / 0.6531 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.17, allocations: 0 / 0.6531 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.17, allocations: 3.938 kB / 0.6531 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.17, allocations: 0 / 0.6531 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.17, allocations: 4 kB / 0.6531 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.1701, allocations: 65.11 kB / 0.6531 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.1702, allocations: 89.02 kB / 0.6532 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.1702, allocations: 3.938 kB / 0.6532 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.15e-05/0.1703, allocations: 4 kB / 0.6532 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.293e-05/0.1703, allocations: 0 / 0.6532 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.1703, allocations: 0 / 0.6532 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.167e-05/0.1703, allocations: 75.28 kB / 0.6533 GB, free: 500 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1703, allocations: 0 / 0.6533 GB, free: 500 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001792/0.1705, allocations: 4 kB / 0.6533 GB, free: 496 kB / 494.1 MB 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 (1): * Single equations (assignments): 1 * 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.000471/0.171, allocations: 0.6007 MB / 0.6539 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001448/0.1711, allocations: 19.92 kB / 0.6539 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1712, allocations: 0 / 0.6539 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.72e-05/0.1712, allocations: 12.08 kB / 0.6539 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.1714, allocations: 7.984 kB / 0.6539 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.1717, allocations: 106.7 kB / 0.654 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.172, allocations: 0.669 MB / 0.6547 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.497e-05/0.172, allocations: 12.06 kB / 0.6547 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.172, allocations: 11.42 kB / 0.6547 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1721, allocations: 0 / 0.6547 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.1927, allocations: 0.9398 MB / 0.6556 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.119, allocations: 15.08 kB / 0.6556 GB, free: 14.09 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep_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_RegStep.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)