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.001219/0.001219, allocations: 109.5 kB / 16.41 MB, free: 6.5 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.001279/0.001279, allocations: 189.2 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.419/1.419, 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.8341/0.8341, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 65.23 kB / 0.568 GB, free: 29.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1692, allocations: 77.94 MB / 0.6441 GB, free: 9.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.002519/0.1718, allocations: 0.561 MB / 0.6447 GB, free: 8.953 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003086/0.1722, allocations: 47.84 kB / 0.6447 GB, free: 8.906 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.999e-05/0.1722, allocations: 0 / 0.6447 GB, free: 8.906 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.924e-05/0.1722, allocations: 0 / 0.6447 GB, free: 8.906 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.875e-06/0.1723, allocations: 3.938 kB / 0.6447 GB, free: 8.902 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.1726, allocations: 23.92 kB / 0.6447 GB, free: 8.879 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.768e-05/0.1726, allocations: 4 kB / 0.6447 GB, free: 8.875 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.627e-05/0.1727, allocations: 0 / 0.6447 GB, free: 8.875 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.776e-05/0.1727, allocations: 3.984 kB / 0.6447 GB, free: 8.871 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.423e-05/0.1728, allocations: 7.938 kB / 0.6447 GB, free: 8.863 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.1728, allocations: 0 / 0.6447 GB, free: 8.863 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.1729, allocations: 15.98 kB / 0.6448 GB, free: 8.848 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.1729, allocations: 0 / 0.6448 GB, free: 8.848 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.1729, allocations: 4 kB / 0.6448 GB, free: 8.844 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.1731, allocations: 15.97 kB / 0.6448 GB, free: 8.828 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1731, allocations: 0 / 0.6448 GB, free: 8.828 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.549e-06/0.1731, allocations: 0 / 0.6448 GB, free: 8.828 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1731, allocations: 7.938 kB / 0.6448 GB, free: 8.82 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.0003401/0.1734, allocations: 311.8 kB / 0.6451 GB, free: 8.465 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.1735, allocations: 12.62 kB / 0.6451 GB, free: 8.453 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.06e-05/0.1735, allocations: 34.73 kB / 0.6451 GB, free: 8.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002713/0.1738, allocations: 20.91 kB / 0.6451 GB, free: 8.391 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.1739, allocations: 160.4 kB / 0.6453 GB, free: 8.195 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.174, allocations: 384 / 0.6453 GB, free: 8.195 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.174, allocations: 4.375 kB / 0.6453 GB, free: 8.191 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1741, allocations: 34.25 kB / 0.6453 GB, free: 8.152 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1742, allocations: 3.938 kB / 0.6453 GB, free: 8.148 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1742, allocations: 4 kB / 0.6453 GB, free: 8.145 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1742, allocations: 0 / 0.6453 GB, free: 8.145 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.926e-05/0.1743, allocations: 7.984 kB / 0.6454 GB, free: 8.137 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.1745, allocations: 153.6 kB / 0.6455 GB, free: 7.938 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.485e-05/0.1746, allocations: 26.95 kB / 0.6455 GB, free: 7.902 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.874e-05/0.1746, allocations: 16.84 kB / 0.6455 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.1747, allocations: 3.984 kB / 0.6455 GB, free: 7.879 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.1747, allocations: 38.56 kB / 0.6456 GB, free: 7.832 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.1747, allocations: 0 / 0.6456 GB, free: 7.832 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002788/0.175, allocations: 49.66 kB / 0.6456 GB, free: 7.777 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.1751, allocations: 59.39 kB / 0.6457 GB, free: 7.707 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.298e-05/0.1751, allocations: 89.86 kB / 0.6458 GB, free: 7.609 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1751, allocations: 29.7 kB / 0.6458 GB, free: 7.574 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.1752, allocations: 80.14 kB / 0.6459 GB, free: 7.492 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.1752, allocations: 3.953 kB / 0.6459 GB, free: 7.488 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.1753, allocations: 13.72 kB / 0.6459 GB, free: 7.469 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1754, allocations: 314.8 kB / 0.6462 GB, free: 7.152 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.952e-05/0.1754, allocations: 8.016 kB / 0.6462 GB, free: 7.145 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.207e-05/0.1755, allocations: 4 kB / 0.6462 GB, free: 7.141 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.1756, allocations: 16.84 kB / 0.6462 GB, free: 7.121 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1756, allocations: 3.938 kB / 0.6462 GB, free: 7.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001494/0.1758, allocations: 45.62 kB / 0.6463 GB, free: 7.066 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.1758, allocations: 12.09 kB / 0.6463 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1758, allocations: 3.938 kB / 0.6463 GB, free: 7.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1758, allocations: 0 / 0.6463 GB, free: 7.051 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.993e-05/0.1759, allocations: 7.984 kB / 0.6463 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1759, allocations: 0 / 0.6463 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.176, allocations: 0 / 0.6463 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.176, allocations: 0 / 0.6463 GB, free: 7.043 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.597e-05/0.1761, allocations: 105.8 kB / 0.6464 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.1761, allocations: 7.984 kB / 0.6464 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.826e-05/0.1762, allocations: 11.06 kB / 0.6464 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1762, allocations: 0 / 0.6464 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1762, allocations: 0 / 0.6464 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1762, allocations: 0 / 0.6464 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.1763, allocations: 145.7 kB / 0.6465 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1763, allocations: 0 / 0.6465 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/0.1764, allocations: 7.984 kB / 0.6466 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1764, allocations: 0 / 0.6466 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1764, allocations: 3.938 kB / 0.6466 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1764, allocations: 4 kB / 0.6466 GB, free: 6.703 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1764, allocations: 7.938 kB / 0.6466 GB, free: 6.695 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.1766, allocations: 65.05 kB / 0.6466 GB, free: 6.613 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.1766, allocations: 77.11 kB / 0.6467 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.1766, allocations: 7.938 kB / 0.6467 GB, free: 6.512 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.537e-05/0.1767, allocations: 4 kB / 0.6467 GB, free: 6.508 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.1767, allocations: 0 / 0.6467 GB, free: 6.508 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.1767, allocations: 4.031 kB / 0.6467 GB, free: 6.504 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.377e-05/0.1768, allocations: 75.28 kB / 0.6468 GB, free: 6.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1768, allocations: 0 / 0.6468 GB, free: 6.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001897/0.177, allocations: 4 kB / 0.6468 GB, free: 6.426 MB / 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.0004485/0.1774, allocations: 0.6046 MB / 0.6474 GB, free: 5.789 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.1776, allocations: 11.98 kB / 0.6474 GB, free: 5.777 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.1776, allocations: 4 kB / 0.6474 GB, free: 5.773 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.685e-05/0.1776, allocations: 7.984 kB / 0.6474 GB, free: 5.766 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.1778, allocations: 0 / 0.6474 GB, free: 5.766 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003631/0.1781, allocations: 118.7 kB / 0.6475 GB, free: 5.609 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.1784, allocations: 0.6729 MB / 0.6482 GB, free: 4.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.42e-05/0.1784, allocations: 4 kB / 0.6482 GB, free: 4.906 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.1785, allocations: 11.38 kB / 0.6482 GB, free: 4.895 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1785, allocations: 0 / 0.6482 GB, free: 4.895 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.1964, allocations: 0.94 MB / 0.6491 GB, free: 4.031 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/7.475, allocations: 10.89 kB / 0.6491 GB, free: 4.023 MB / 494.1 MB (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)