Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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.001311/0.001311, allocations: 119 kB / 19.69 MB, free: 2.199 MB / 14.72 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.001707/0.001707, allocations: 224.5 kB / 23.01 MB, free: 5.047 MB / 14.72 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 1.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] 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.9238/0.9238, allocations: 150 MB / 463.2 MB, free: 10.47 MB / 366.1 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.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002474/0.002474, allocations: 71.61 kB / 0.6413 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1709, allocations: 89.18 MB / 0.7284 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6628/0.8336, allocations: 246.4 MB / 0.969 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01409/0.8477, allocations: 8.555 MB / 0.9774 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/0.8496, allocations: 95.12 kB / 0.9775 GB, free: 7.957 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002463/0.852, allocations: 1.084 MB / 0.9785 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007689/0.8597, allocations: 3.278 MB / 0.9818 GB, free: 3.574 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.008664/0.8684, allocations: 3.608 MB / 0.9853 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006334/0.8747, allocations: 4.054 MB / 0.9892 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002086/0.8768, allocations: 1.137 MB / 0.9903 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005325/0.8821, allocations: 2.34 MB / 0.9926 GB, free: 8.371 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002911/0.885, allocations: 1.494 MB / 0.9941 GB, free: 6.871 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0003756/0.8854, allocations: 136 kB / 0.9942 GB, free: 6.738 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008797/0.8942, allocations: 4.267 MB / 0.9984 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001239/0.8954, allocations: 0.6229 MB / 0.999 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001688/0.8971, allocations: 1.01 MB / 1 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.009967/0.9071, allocations: 3.936 MB / 1.004 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.9071, allocations: 0 / 1.004 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9071, allocations: 0 / 1.004 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.576e-05/0.9071, allocations: 0 / 1.004 GB, free: 12.87 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.006515/0.9137, allocations: 2.685 MB / 1.006 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.9137, allocations: 12.03 kB / 1.006 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002339/0.9139, allocations: 199.2 kB / 1.007 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008417/0.9224, allocations: 1.329 MB / 1.008 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002984/0.9253, allocations: 1.2 MB / 1.009 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.243e-05/0.9254, allocations: 98.59 kB / 1.009 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002426/0.9257, allocations: 139.9 kB / 1.009 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004478/0.9302, allocations: 2.074 MB / 1.011 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/0.9302, allocations: 8.438 kB / 1.011 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/0.9303, allocations: 52 kB / 1.011 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.412e-05/0.9304, allocations: 62.47 kB / 1.011 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005614/0.936, allocations: 2.172 MB / 1.014 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/0.948, allocations: 8.32 MB / 1.022 GB, free: 9.766 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004782/0.9528, allocations: 1.807 MB / 1.023 GB, free: 7.945 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002387/0.9552, allocations: 0.9294 MB / 1.024 GB, free: 7.016 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009781/0.9562, allocations: 208.8 kB / 1.025 GB, free: 6.809 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002655/0.9588, allocations: 1.059 MB / 1.026 GB, free: 5.738 MB / 0.795 GB Notification: Performance of pre-optimization done (n=119): time 3.407e-06/0.9588, allocations: 0 / 1.026 GB, free: 5.738 MB / 0.795 GB Notification: Performance of matching and sorting (n=119): time 0.008295/0.9671, allocations: 2.892 MB / 1.028 GB, free: 2.84 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.9672, allocations: 64.41 kB / 1.029 GB, free: 2.762 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.9696, allocations: 1.648 MB / 1.03 GB, free: 1.113 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001603/0.9698, allocations: 49.7 kB / 1.03 GB, free: 1.059 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007351/0.9705, allocations: 0.8172 MB / 1.031 GB, free: 240 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004593/0.971, allocations: 432.5 kB / 1.031 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004087/0.9714, allocations: 238.8 kB / 1.032 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.9716, allocations: 357.9 kB / 1.032 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002326/0.9739, allocations: 0.8144 MB / 1.033 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00272/0.9766, allocations: 1.151 MB / 1.034 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004912/0.9815, allocations: 1.922 MB / 1.036 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.9815, allocations: 0 / 1.036 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006197/0.9877, allocations: 2.198 MB / 1.038 GB, free: 8.895 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.9877, allocations: 10.03 kB / 1.038 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.9878, allocations: 8 kB / 1.038 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.474e-05/0.9878, allocations: 16.5 kB / 1.038 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002063/0.9899, allocations: 415.4 kB / 1.038 GB, free: 8.457 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.253e-05/0.9899, allocations: 19.92 kB / 1.038 GB, free: 8.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002063/0.992, allocations: 299.6 kB / 1.039 GB, free: 8.145 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.9921, allocations: 63.91 kB / 1.039 GB, free: 8.082 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 161 * 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 0.000792/0.9929, allocations: 395.4 kB / 1.039 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003737/0.9933, allocations: 206.7 kB / 1.039 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005738/0.999, allocations: 2.193 MB / 1.041 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.999, allocations: 12 kB / 1.041 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.999, allocations: 0 / 1.041 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.102e-05/0.999, allocations: 7.969 kB / 1.041 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009907/1.009, allocations: 4.463 MB / 1.046 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/1.009, allocations: 8 kB / 1.046 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001947/1.011, allocations: 339.9 kB / 1.046 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.203e-05/1.011, allocations: 12 kB / 1.046 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/1.011, allocations: 39.97 kB / 1.046 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.838e-05/1.011, allocations: 18.75 kB / 1.046 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.348e-05/1.011, allocations: 23.86 kB / 1.046 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008404/1.019, allocations: 3.458 MB / 1.05 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/1.021, allocations: 346.3 kB / 1.05 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000281/1.021, allocations: 35.98 kB / 1.05 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/1.022, allocations: 159.8 kB / 1.05 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002029/1.023, allocations: 108.6 kB / 1.05 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.023, allocations: 51.97 kB / 1.05 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001673/1.024, allocations: 1.131 MB / 1.051 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/1.024, allocations: 0 / 1.051 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001417/1.026, allocations: 495.4 kB / 1.052 GB, free: 10.37 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0103/1.036, allocations: 4.504 MB / 1.056 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005947/1.042, allocations: 1.895 MB / 1.058 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/1.042, allocations: 256 / 1.058 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002798/1.045, allocations: 0.9672 MB / 1.059 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004334/1.049, allocations: 0.9595 MB / 1.06 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03758/1.087, allocations: 16.1 MB / 1.076 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/1.088, allocations: 1.388 MB / 1.077 GB, free: 24 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.3881/1.476, allocations: 470.5 kB / 1.077 GB, free: 294.6 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/1.477, allocations: 0.7395 MB / 1.078 GB, free: 294.6 MB / 0.8419 GB Notification: Performance of SimCode: time 1.844e-06/1.477, allocations: 0 / 1.078 GB, free: 294.6 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1108/1.588, allocations: 52.15 MB / 1.129 GB, free: 274.3 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.68/25.27, allocations: 11.94 kB / 1.129 GB, free: 274.2 MB / 0.8419 GB " [Timeout remaining time 635] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 29.201900166000996] Failed to read output from testmodel.py, exit status != 0: 25.46930814299776 25.479581618 24.570004042 Calling exit ...