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.001631/0.001631, allocations: 96.03 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002188/0.002188, allocations: 169.3 kB / 16.56 MB, free: 6.391 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.804/1.804, allocations: 223.2 MB / 240.5 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7562/0.7562, allocations: 113.7 MB / 405.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004763, allocations: 8 kB / 493 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1739, allocations: 77.11 MB / 0.5567 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.0005062/0.1744, allocations: 299.1 kB / 0.557 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001682/0.1746, allocations: 43.84 kB / 0.5571 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.115e-06/0.1746, allocations: 4 kB / 0.5571 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.383e-06/0.1747, allocations: 0 / 0.5571 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.326e-06/0.1747, allocations: 0 / 0.5571 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.1748, allocations: 15.97 kB / 0.5571 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.511e-05/0.1748, allocations: 0 / 0.5571 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.605e-05/0.1749, allocations: 7.938 kB / 0.5571 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.139e-05/0.1749, allocations: 7.922 kB / 0.5571 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.54e-05/0.1749, allocations: 0 / 0.5571 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.023e-06/0.1749, allocations: 0 / 0.5571 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.358e-05/0.175, allocations: 19.98 kB / 0.5571 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.659e-06/0.175, allocations: 4 kB / 0.5571 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.1751, allocations: 25.7 kB / 0.5571 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 4.556e-05/0.1751, allocations: 11.98 kB / 0.5572 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.1751, allocations: 0 / 0.5572 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.1751, allocations: 0 / 0.5572 GB, free: 11.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.1751, allocations: 3.938 kB / 0.5572 GB, free: 11.2 MB / 430.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.0001803/0.1753, allocations: 307.4 kB / 0.5575 GB, free: 10.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.1753, allocations: 12.02 kB / 0.5575 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.648e-05/0.1754, allocations: 30.56 kB / 0.5575 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.1756, allocations: 19.97 kB / 0.5575 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.052e-05/0.1757, allocations: 163.1 kB / 0.5577 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.1757, allocations: 0 / 0.5577 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-06/0.1757, allocations: 0 / 0.5577 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.996e-05/0.1758, allocations: 37.64 kB / 0.5577 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.618e-06/0.1758, allocations: 0 / 0.5577 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.72e-06/0.1758, allocations: 0 / 0.5577 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-06/0.1758, allocations: 0 / 0.5577 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.646e-05/0.1759, allocations: 11.98 kB / 0.5577 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.81e-05/0.176, allocations: 157.6 kB / 0.5579 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.967e-05/0.1761, allocations: 18.61 kB / 0.5579 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.1761, allocations: 0 / 0.5579 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.1761, allocations: 30.56 kB / 0.5579 GB, free: 10.26 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.1761, allocations: 0 / 0.5579 GB, free: 10.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001859/0.1763, allocations: 61.62 kB / 0.558 GB, free: 10.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.1763, allocations: 51.41 kB / 0.558 GB, free: 10.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.653e-05/0.1764, allocations: 93.86 kB / 0.5581 GB, free: 10.03 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.1764, allocations: 25.7 kB / 0.5581 GB, free: 10 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.149e-05/0.1764, allocations: 80.14 kB / 0.5582 GB, free: 9.918 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.1764, allocations: 7.938 kB / 0.5582 GB, free: 9.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.1764, allocations: 0 / 0.5582 GB, free: 9.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.561e-05/0.1765, allocations: 315 kB / 0.5585 GB, free: 9.594 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.999e-05/0.1766, allocations: 7.984 kB / 0.5585 GB, free: 9.586 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.11e-05/0.1766, allocations: 0 / 0.5585 GB, free: 9.586 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.425e-05/0.1767, allocations: 11.98 kB / 0.5585 GB, free: 9.574 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1767, allocations: 0 / 0.5585 GB, free: 9.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001067/0.1768, allocations: 41.69 kB / 0.5586 GB, free: 9.527 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.1768, allocations: 8.094 kB / 0.5586 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.1768, allocations: 3.938 kB / 0.5586 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.1768, allocations: 0 / 0.5586 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.928e-05/0.1769, allocations: 11.92 kB / 0.5586 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1769, allocations: 3.953 kB / 0.5586 GB, free: 9.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.1769, allocations: 3.906 kB / 0.5586 GB, free: 9.496 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.1769, allocations: 0 / 0.5586 GB, free: 9.496 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.362e-05/0.177, allocations: 111.7 kB / 0.5587 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-06/0.177, allocations: 0 / 0.5587 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.177, allocations: 15.09 kB / 0.5587 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.177, allocations: 0 / 0.5587 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.177, allocations: 0 / 0.5587 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1771, allocations: 3.953 kB / 0.5587 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.158e-05/0.1771, allocations: 153.7 kB / 0.5589 GB, free: 9.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1771, allocations: 0 / 0.5589 GB, free: 9.156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.1772, allocations: 3.984 kB / 0.5589 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1772, allocations: 4 kB / 0.5589 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.1772, allocations: 4 kB / 0.5589 GB, free: 9.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1772, allocations: 0 / 0.5589 GB, free: 9.145 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1772, allocations: 4 kB / 0.5589 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.1773, allocations: 67.14 kB / 0.559 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/0.1774, allocations: 85.38 kB / 0.559 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.1774, allocations: 0 / 0.559 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.881e-05/0.1774, allocations: 4 kB / 0.559 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.787e-06/0.1774, allocations: 0 / 0.559 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.1774, allocations: 8.031 kB / 0.559 GB, free: 8.945 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.906e-05/0.1775, allocations: 75.28 kB / 0.5591 GB, free: 8.871 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.302e-06/0.1775, allocations: 0 / 0.5591 GB, free: 8.871 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001595/0.1776, allocations: 3.938 kB / 0.5591 GB, free: 8.867 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003257/0.178, allocations: 0.6053 MB / 0.5597 GB, free: 8.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.1781, allocations: 15.92 kB / 0.5597 GB, free: 8.215 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1781, allocations: 0 / 0.5597 GB, free: 8.215 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.085e-05/0.1781, allocations: 7.984 kB / 0.5597 GB, free: 8.207 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.362e-05/0.1782, allocations: 3.938 kB / 0.5597 GB, free: 8.203 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/0.1785, allocations: 112.5 kB / 0.5599 GB, free: 8.055 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.1787, allocations: 0.6731 MB / 0.5605 GB, free: 7.355 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.173e-05/0.1787, allocations: 0 / 0.5605 GB, free: 7.355 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.942e-05/0.1787, allocations: 11.42 kB / 0.5605 GB, free: 7.344 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1787, allocations: 0 / 0.5605 GB, free: 7.344 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8411/1.02, allocations: 0.7378 MB / 0.5612 GB, free: 6.738 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003473/1.02, allocations: 185.4 kB / 0.5614 GB, free: 6.496 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.43/4.45, allocations: 0 / 0.5614 GB, free: 6.496 MB / 430.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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) Environment - environmentSimulation: