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.001049/0.001049, allocations: 76.55 kB / 19.92 MB, free: 4.637 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.001082/0.001082, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.9493/0.9493, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.5742/0.5742, allocations: 114 MB / 373.9 MB, free: 8.695 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.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: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.5542 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.823e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03579/0.03582, allocations: 49.95 MB / 0.603 GB, free: 0.5977 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01222/0.04804, allocations: 9.721 MB / 0.6125 GB, free: 6.852 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/0.0501, allocations: 87.19 kB / 0.6126 GB, free: 6.766 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002237/0.05233, allocations: 0.9238 MB / 0.6135 GB, free: 5.836 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.005999/0.05833, allocations: 2.117 MB / 0.6155 GB, free: 3.707 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005788/0.06412, allocations: 2.115 MB / 0.6176 GB, free: 1.594 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.005083/0.0692, allocations: 3.771 MB / 0.6213 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001841/0.07104, allocations: 0.9407 MB / 0.6222 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005222/0.07626, allocations: 2.425 MB / 0.6246 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.07799, allocations: 1.063 MB / 0.6256 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0003315/0.07832, allocations: 107.9 kB / 0.6257 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.08079, allocations: 1.052 MB / 0.6268 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0003763/0.08117, allocations: 418.2 kB / 0.6271 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0008256/0.08199, allocations: 0.561 MB / 0.6277 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.004255/0.08625, allocations: 2.426 MB / 0.6301 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.08626, allocations: 7.922 kB / 0.6301 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.834e-06/0.08626, allocations: 0 / 0.6301 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.225e-05/0.08632, allocations: 0 / 0.6301 GB, free: 4.762 MB / 0.5886 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.003341/0.08966, allocations: 2.087 MB / 0.6321 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.08971, allocations: 8.625 kB / 0.6321 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/0.08986, allocations: 168.7 kB / 0.6323 GB, free: 2.441 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001795/0.09165, allocations: 0.6621 MB / 0.6329 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.09335, allocations: 1.076 MB / 0.634 GB, free: 0.6523 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.104e-05/0.09341, allocations: 82.14 kB / 0.6341 GB, free: 0.5703 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.09354, allocations: 108 kB / 0.6342 GB, free: 476 kB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.09557, allocations: 1.504 MB / 0.6356 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.09559, allocations: 3.938 kB / 0.6356 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.379e-05/0.09566, allocations: 55.94 kB / 0.6357 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/0.09568, allocations: 28 kB / 0.6357 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.09779, allocations: 1.233 MB / 0.6369 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006811/0.1046, allocations: 6.562 MB / 0.6433 GB, free: 6.695 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/0.1066, allocations: 1.064 MB / 0.6444 GB, free: 5.625 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009933/0.1076, allocations: 0.5413 MB / 0.6449 GB, free: 5.082 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006477/0.1083, allocations: 272.5 kB / 0.6452 GB, free: 4.816 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/0.1094, allocations: 0.6918 MB / 0.6458 GB, free: 4.113 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=85): time 3.366e-06/0.1094, allocations: 0 / 0.6458 GB, free: 4.113 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85): time 0.003244/0.1126, allocations: 1.823 MB / 0.6476 GB, free: 2.281 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.1127, allocations: 60.41 kB / 0.6477 GB, free: 2.211 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.1143, allocations: 1.556 MB / 0.6492 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.029e-05/0.1144, allocations: 45.7 kB / 0.6492 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004829/0.1149, allocations: 0.7921 MB / 0.65 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.1151, allocations: 309.4 kB / 0.6503 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.1153, allocations: 222.8 kB / 0.6505 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.1154, allocations: 349.9 kB / 0.6508 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008893/0.1163, allocations: 0.5217 MB / 0.6514 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.1179, allocations: 1.133 MB / 0.6525 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.1198, allocations: 1.434 MB / 0.6539 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.1198, allocations: 0 / 0.6539 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002712/0.1225, allocations: 1.621 MB / 0.6554 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.1225, allocations: 13.72 kB / 0.6555 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.1226, allocations: 12 kB / 0.6555 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.007e-05/0.1226, allocations: 16 kB / 0.6555 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007228/0.1233, allocations: 351.6 kB / 0.6558 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.341e-05/0.1233, allocations: 31.86 kB / 0.6558 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009572/0.1243, allocations: 222.9 kB / 0.6561 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-05/0.1244, allocations: 63.97 kB / 0.6561 GB, free: 9.141 MB / 0.6198 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.0005927/0.125, allocations: 359.3 kB / 0.6565 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.1252, allocations: 174.9 kB / 0.6566 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002984/0.1282, allocations: 2.173 MB / 0.6588 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.719e-05/0.1282, allocations: 19.92 kB / 0.6588 GB, free: 6.441 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.1282, allocations: 0 / 0.6588 GB, free: 6.441 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.1282, allocations: 7.922 kB / 0.6588 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004839/0.1331, allocations: 3.259 MB / 0.662 GB, free: 3.102 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.1331, allocations: 3.938 kB / 0.662 GB, free: 3.098 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005716/0.1337, allocations: 243.8 kB / 0.6622 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.1337, allocations: 4 kB / 0.6622 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.085e-05/0.1337, allocations: 35.97 kB / 0.6622 GB, free: 2.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.078e-06/0.1337, allocations: 7.984 kB / 0.6622 GB, free: 2.812 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.1337, allocations: 4 kB / 0.6622 GB, free: 2.809 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003953/0.1377, allocations: 2.83 MB / 0.665 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000611/0.1383, allocations: 326.3 kB / 0.6653 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.1385, allocations: 24 kB / 0.6653 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005401/0.139, allocations: 119.9 kB / 0.6655 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.1391, allocations: 80.84 kB / 0.6655 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.212e-05/0.1392, allocations: 47.97 kB / 0.6656 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001349/0.1405, allocations: 1.034 MB / 0.6666 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.91e-07/0.1405, allocations: 0 / 0.6666 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001482/0.142, allocations: 0.5574 MB / 0.6671 GB, free: 13.77 MB / 0.6355 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 (116): * Single equations (assignments): 85 * 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.005537/0.1476, allocations: 4.141 MB / 0.6712 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00253/0.1501, allocations: 1.461 MB / 0.6726 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.1501, allocations: 0 / 0.6726 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/0.1515, allocations: 0.787 MB / 0.6734 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/0.1537, allocations: 0.7017 MB / 0.6741 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2529/0.4066, allocations: 12.67 MB / 0.6864 GB, free: 157.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.407, allocations: 0.7289 MB / 0.6871 GB, free: 157.1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001022/0.408, allocations: 373 kB / 0.6875 GB, free: 157.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000586/0.4086, allocations: 0.7058 MB / 0.6882 GB, free: 156.6 MB / 0.6355 GB Notification: Performance of SimCode: time 1.614e-06/0.4086, allocations: 2.625 kB / 0.6882 GB, free: 156.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0718/0.4804, allocations: 51.37 MB / 0.7384 GB, free: 139.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.925/9.406, allocations: 3.938 kB / 0.7384 GB, free: 139.9 MB / 0.6355 GB " [Timeout remaining time 650] (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: 12.213113150559366] Failed to read output from testmodel.py, exit status != 0: 9.52906053327024 9.54144623 9.452649044 Calling exit ...