Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.001555/0.001555, 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.001424/0.001424, allocations: 221.2 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.9208/0.9208, allocations: 150 MB / 463.2 MB, free: 10.43 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_Water,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.002116/0.002116, allocations: 70 kB / 0.6413 GB, free: 10.31 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1899, allocations: 89.17 MB / 0.7284 GB, free: 1.203 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.4336/0.6235, allocations: 55.78 MB / 0.7829 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01378/0.6373, allocations: 10.49 MB / 0.7931 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002051/0.6393, allocations: 95.25 kB / 0.7932 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002208/0.6415, allocations: 0.9182 MB / 0.7941 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005354/0.6469, allocations: 2.092 MB / 0.7961 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005897/0.6528, allocations: 2.081 MB / 0.7982 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005933/0.6587, allocations: 3.83 MB / 0.8019 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/0.6604, allocations: 0.9932 MB / 0.8029 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004431/0.6648, allocations: 1.978 MB / 0.8048 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002249/0.667, allocations: 1.26 MB / 0.806 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.6672, allocations: 106.4 kB / 0.8061 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003459/0.6707, allocations: 1.384 MB / 0.8075 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004415/0.6711, allocations: 409.6 kB / 0.8079 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.6723, allocations: 0.8595 MB / 0.8087 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005123/0.6774, allocations: 2.476 MB / 0.8111 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.6774, allocations: 0 / 0.8111 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.495e-06/0.6774, allocations: 4 kB / 0.8111 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.275e-05/0.6775, allocations: 5.312 kB / 0.8112 GB, free: 9.207 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.005054/0.6825, allocations: 2.125 MB / 0.8132 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.6826, allocations: 9.75 kB / 0.8132 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002189/0.6828, allocations: 163.4 kB / 0.8134 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003748/0.6865, allocations: 0.6621 MB / 0.814 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/0.6893, allocations: 1.11 MB / 0.8151 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.6894, allocations: 92.06 kB / 0.8152 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.6896, allocations: 105.2 kB / 0.8153 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003173/0.6927, allocations: 1.49 MB / 0.8168 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.6928, allocations: 10.53 kB / 0.8168 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.6929, allocations: 45.38 kB / 0.8168 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/0.6929, allocations: 27.78 kB / 0.8168 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003441/0.6963, allocations: 1.227 MB / 0.818 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/0.7076, allocations: 8.324 MB / 0.8262 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003269/0.7108, allocations: 1.04 MB / 0.8272 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/0.7124, allocations: 0.525 MB / 0.8277 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/0.7134, allocations: 291.8 kB / 0.828 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001781/0.7152, allocations: 0.6789 MB / 0.8286 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 3.236e-06/0.7152, allocations: 0 / 0.8286 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.00549/0.7207, allocations: 1.795 MB / 0.8304 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/0.7208, allocations: 68.53 kB / 0.8305 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002623/0.7234, allocations: 1.513 MB / 0.8319 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001712/0.7235, allocations: 43.14 kB / 0.832 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008676/0.7244, allocations: 0.8149 MB / 0.8328 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004802/0.7249, allocations: 311.7 kB / 0.8331 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003852/0.7253, allocations: 221 kB / 0.8333 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.7255, allocations: 353.9 kB / 0.8336 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.7271, allocations: 0.5238 MB / 0.8341 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002062/0.7291, allocations: 0.8997 MB / 0.835 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003369/0.7325, allocations: 1.413 MB / 0.8364 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.7325, allocations: 5.312 kB / 0.8364 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004587/0.7371, allocations: 1.611 MB / 0.838 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.7371, allocations: 7.656 kB / 0.838 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.7371, allocations: 11.19 kB / 0.838 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.903e-05/0.7372, allocations: 19.28 kB / 0.838 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.7386, allocations: 353 kB / 0.8383 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.13e-05/0.7386, allocations: 26.03 kB / 0.8384 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/0.7406, allocations: 225.8 kB / 0.8386 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/0.7408, allocations: 68.62 kB / 0.8386 GB, free: 5.305 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (140): * Single equations (assignments): 140 * 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.0008591/0.7416, allocations: 348.6 kB / 0.839 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005154/0.7422, allocations: 184.5 kB / 0.8392 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005263/0.7474, allocations: 2.16 MB / 0.8413 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.671e-05/0.7475, allocations: 23.92 kB / 0.8413 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.7475, allocations: 3.938 kB / 0.8413 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.7475, allocations: 7.969 kB / 0.8413 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007237/0.7547, allocations: 3.345 MB / 0.8446 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/0.7547, allocations: 4 kB / 0.8446 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/0.756, allocations: 235.8 kB / 0.8448 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/0.756, allocations: 8 kB / 0.8448 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-05/0.756, allocations: 31.97 kB / 0.8448 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-05/0.7561, allocations: 8 kB / 0.8448 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7561, allocations: 0 / 0.8448 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006963/0.763, allocations: 2.787 MB / 0.8476 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009413/0.764, allocations: 326.2 kB / 0.8479 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/0.7642, allocations: 24 kB / 0.8479 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.7653, allocations: 115.9 kB / 0.848 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.7655, allocations: 84.84 kB / 0.8481 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.7656, allocations: 51.95 kB / 0.8481 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001814/0.7674, allocations: 1.031 MB / 0.8491 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.7674, allocations: 0 / 0.8491 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001884/0.7693, allocations: 0.5457 MB / 0.8497 GB, free: 10.19 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (113): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * 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.009836/0.7791, allocations: 4.065 MB / 0.8536 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004781/0.7839, allocations: 1.434 MB / 0.855 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.7839, allocations: 4 kB / 0.8551 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002258/0.7862, allocations: 0.7675 MB / 0.8558 GB, free: 4.055 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003726/0.7899, allocations: 0.7326 MB / 0.8565 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02626/0.8162, allocations: 12.7 MB / 0.8689 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.8172, allocations: 1.309 MB / 0.8702 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001504/0.8187, allocations: 377 kB / 0.8706 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/0.8197, allocations: 0.7335 MB / 0.8713 GB, free: 3.641 MB / 0.6387 GB Notification: Performance of SimCode: time 9.72e-07/0.8197, allocations: 0 / 0.8713 GB, free: 3.641 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.106/0.9257, allocations: 49.05 MB / 0.9192 GB, free: 3.066 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/15.99, allocations: 5.547 kB / 0.9192 GB, free: 3.062 MB / 0.6856 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_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_Water.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.997257797000202] Failed to read output from testmodel.py, exit status != 0: 16.189648865998606 16.219119357 15.535898044 Calling exit ...