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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009383/0.0009383, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.925/0.925, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5672/0.5672, allocations: 114 MB / 373.9 MB, free: 8.703 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.086e-06/3.086e-06, allocations: 7.922 kB / 0.5542 GB, free: 1.629 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.994e-05, allocations: 6.281 kB / 0.5542 GB, free: 1.621 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001489/0.001509, allocations: 0.5845 MB / 0.5548 GB, free: 1.043 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002513/0.00176, allocations: 35.89 kB / 0.5549 GB, free: 1.008 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.659e-05/0.001777, allocations: 0 / 0.5549 GB, free: 1.008 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.001794, allocations: 3.938 kB / 0.5549 GB, free: 1.004 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 7.534e-06/0.001801, allocations: 0 / 0.5549 GB, free: 1.004 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.002057, allocations: 23.91 kB / 0.5549 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.553e-05/0.002102, allocations: 0 / 0.5549 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.002146, allocations: 3.984 kB / 0.5549 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.591e-05/0.002172, allocations: 0 / 0.5549 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.413e-05/0.002196, allocations: 4 kB / 0.5549 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.002209, allocations: 4 kB / 0.5549 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.00231, allocations: 15.98 kB / 0.5549 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.002324, allocations: 0 / 0.5549 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.613e-05/0.00234, allocations: 4 kB / 0.5549 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 9.633e-05/0.002437, allocations: 23.89 kB / 0.5549 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.002439, allocations: 0 / 0.5549 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.00244, allocations: 0 / 0.5549 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.002446, allocations: 4 kB / 0.5549 GB, free: 0.9219 MB / 474.7 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.0002647/0.002711, allocations: 238.4 kB / 0.5552 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.002755, allocations: 8.625 kB / 0.5552 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.383e-05/0.002789, allocations: 30.75 kB / 0.5552 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.003005, allocations: 24.89 kB / 0.5552 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.088e-05/0.003076, allocations: 105.8 kB / 0.5553 GB, free: 468 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.003088, allocations: 384 / 0.5553 GB, free: 468 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.003095, allocations: 384 / 0.5553 GB, free: 468 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.003213, allocations: 38.25 kB / 0.5554 GB, free: 424 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.003221, allocations: 192 / 0.5554 GB, free: 424 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.003229, allocations: 384 / 0.5554 GB, free: 424 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.003236, allocations: 4.125 kB / 0.5554 GB, free: 420 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.297e-05/0.003299, allocations: 19.92 kB / 0.5554 GB, free: 400 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.003426, allocations: 112.8 kB / 0.5555 GB, free: 244 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.168e-05/0.003498, allocations: 26.53 kB / 0.5555 GB, free: 208 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.771e-05/0.003536, allocations: 8.922 kB / 0.5555 GB, free: 196 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.003557, allocations: 3.938 kB / 0.5555 GB, free: 192 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.003586, allocations: 42.55 kB / 0.5556 GB, free: 140 kB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.003587, allocations: 0 / 0.5556 GB, free: 140 kB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.000208/0.003795, allocations: 45.62 kB / 0.5556 GB, free: 88 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.003835, allocations: 59.34 kB / 0.5557 GB, free: 16 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.497e-05/0.003889, allocations: 89.86 kB / 0.5558 GB, free: 15.92 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.003903, allocations: 25.7 kB / 0.5558 GB, free: 15.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.935e-05/0.003932, allocations: 80.14 kB / 0.5559 GB, free: 15.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.003969, allocations: 3.938 kB / 0.5559 GB, free: 15.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.004011, allocations: 21.7 kB / 0.5559 GB, free: 15.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.004132, allocations: 310.8 kB / 0.5562 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.899e-05/0.004171, allocations: 4 kB / 0.5562 GB, free: 15.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.885e-05/0.004199, allocations: 8.109 kB / 0.5562 GB, free: 15.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.243e-05/0.004272, allocations: 16.84 kB / 0.5562 GB, free: 15.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.004274, allocations: 0 / 0.5562 GB, free: 15.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001127/0.004387, allocations: 45.62 kB / 0.5562 GB, free: 15.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.004404, allocations: 5.094 kB / 0.5563 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.004411, allocations: 0 / 0.5563 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.004428, allocations: 0 / 0.5563 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.682e-05/0.004505, allocations: 12.08 kB / 0.5563 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.004515, allocations: 3.938 kB / 0.5563 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.004538, allocations: 0 / 0.5563 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.004551, allocations: 8 kB / 0.5563 GB, free: 15.35 MB / 490.7 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 7.706e-05/0.004628, allocations: 109.8 kB / 0.5564 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-06/0.004636, allocations: 0 / 0.5564 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/0.004675, allocations: 3 kB / 0.5564 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.004678, allocations: 0 / 0.5564 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.004685, allocations: 3.938 kB / 0.5564 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.004692, allocations: 11.98 kB / 0.5564 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.751e-05/0.004789, allocations: 112.8 kB / 0.5565 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.004791, allocations: 0 / 0.5565 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.637e-05/0.004817, allocations: 4 kB / 0.5565 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.004819, allocations: 0 / 0.5565 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.004829, allocations: 3.984 kB / 0.5565 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.004829, allocations: 0 / 0.5565 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.004833, allocations: 3.938 kB / 0.5565 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.004957, allocations: 73 kB / 0.5566 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-06/0.004964, allocations: 7.984 kB / 0.5566 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.004976, allocations: 3.938 kB / 0.5566 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.085e-05/0.004997, allocations: 11.97 kB / 0.5566 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.005015, allocations: 3.938 kB / 0.5566 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.005018, allocations: 0 / 0.5566 GB, free: 14.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.528e-05/0.005053, allocations: 75.28 kB / 0.5567 GB, free: 14.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.005054, allocations: 0 / 0.5567 GB, free: 14.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002281/0.005282, allocations: 4 kB / 0.5567 GB, free: 14.86 MB / 490.7 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.0004348/0.005716, allocations: 0.6004 MB / 0.5573 GB, free: 14.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.005861, allocations: 15.92 kB / 0.5573 GB, free: 14.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.005864, allocations: 0 / 0.5573 GB, free: 14.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.666e-05/0.00589, allocations: 4 kB / 0.5573 GB, free: 14.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.006072, allocations: 3.938 kB / 0.5573 GB, free: 14.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.006466, allocations: 110.7 kB / 0.5574 GB, free: 14.06 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.806e-05/0.006514, allocations: 55.5 kB / 0.5575 GB, free: 13.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.424e-05/0.006548, allocations: 12 kB / 0.5575 GB, free: 13.97 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.00658, allocations: 8.5 kB / 0.5575 GB, free: 13.96 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.00658, allocations: 0 / 0.5575 GB, free: 13.96 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.02166, allocations: 1.595 MB / 0.559 GB, free: 12.51 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.029/7.05, allocations: 10.84 kB / 0.559 GB, free: 12.5 MB / 490.7 MB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.631837281398475] Failed to read output from testmodel.py, exit status != 0: 7.129784606397152 7.138680708 7.134384521 Calling exit ...