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.001343/0.001343, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001639/0.001639, allocations: 218.1 kB / 23 MB, free: 5.004 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.438/1.438, 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 1.024/1.024, allocations: 150 MB / 463.2 MB, free: 10.54 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.002145/0.002145, allocations: 64.98 kB / 0.6413 GB, free: 10.44 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1887, allocations: 89.18 MB / 0.7284 GB, free: 1.328 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.447/0.6357, allocations: 55.77 MB / 0.7829 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01761/0.6533, allocations: 10.51 MB / 0.7931 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002878/0.6562, allocations: 95.47 kB / 0.7932 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002798/0.659, allocations: 0.919 MB / 0.7941 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007111/0.6661, allocations: 2.088 MB / 0.7961 GB, free: 408 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007538/0.6736, allocations: 2.069 MB / 0.7982 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008035/0.6817, allocations: 3.839 MB / 0.8019 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002484/0.6841, allocations: 0.991 MB / 0.8029 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005414/0.6896, allocations: 1.977 MB / 0.8048 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003173/0.6927, allocations: 1.263 MB / 0.806 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005211/0.6932, allocations: 105.7 kB / 0.8061 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00471/0.698, allocations: 1.38 MB / 0.8075 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009336/0.6989, allocations: 404.5 kB / 0.8079 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002394/0.7013, allocations: 0.8576 MB / 0.8087 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007381/0.7087, allocations: 2.487 MB / 0.8111 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.7087, allocations: 0 / 0.8111 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7087, allocations: 0 / 0.8111 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.304e-05/0.7088, allocations: 1.281 kB / 0.8111 GB, free: 9.375 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.005695/0.7145, allocations: 2.136 MB / 0.8132 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.7145, allocations: 9.406 kB / 0.8132 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002816/0.7148, allocations: 164.1 kB / 0.8134 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004151/0.7189, allocations: 0.6557 MB / 0.814 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003406/0.7223, allocations: 1.117 MB / 0.8151 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.7225, allocations: 83.7 kB / 0.8152 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003145/0.7228, allocations: 109.3 kB / 0.8153 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004148/0.7269, allocations: 1.493 MB / 0.8168 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.379e-05/0.727, allocations: 7.188 kB / 0.8168 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.7271, allocations: 48.78 kB / 0.8168 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-05/0.7271, allocations: 27.56 kB / 0.8168 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003906/0.731, allocations: 1.224 MB / 0.818 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/0.7429, allocations: 8.319 MB / 0.8262 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003356/0.7463, allocations: 1.05 MB / 0.8272 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/0.7478, allocations: 0.5228 MB / 0.8277 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/0.7489, allocations: 295.2 kB / 0.828 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001872/0.7507, allocations: 0.6798 MB / 0.8286 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 3.296e-06/0.7507, allocations: 0 / 0.8286 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.005589/0.7563, allocations: 1.798 MB / 0.8304 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.7564, allocations: 65.12 kB / 0.8305 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/0.7585, allocations: 1.519 MB / 0.832 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001531/0.7587, allocations: 43.3 kB / 0.832 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008189/0.7595, allocations: 0.8064 MB / 0.8328 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003808/0.7599, allocations: 306 kB / 0.8331 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003285/0.7602, allocations: 222.6 kB / 0.8333 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.7604, allocations: 352.5 kB / 0.8336 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/0.762, allocations: 0.5232 MB / 0.8341 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/0.7639, allocations: 0.8997 MB / 0.835 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003418/0.7673, allocations: 1.415 MB / 0.8364 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.7673, allocations: 2.625 kB / 0.8364 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004407/0.7717, allocations: 1.607 MB / 0.838 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.7717, allocations: 13.05 kB / 0.838 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.7718, allocations: 13.09 kB / 0.838 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/0.7718, allocations: 16.62 kB / 0.838 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.7732, allocations: 352.3 kB / 0.8383 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.919e-05/0.7732, allocations: 31.8 kB / 0.8384 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.775, allocations: 223.7 kB / 0.8386 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.7752, allocations: 66.69 kB / 0.8386 GB, free: 5.469 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.0007013/0.7759, allocations: 350.4 kB / 0.839 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004336/0.7763, allocations: 179.4 kB / 0.8392 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005208/0.7815, allocations: 2.164 MB / 0.8413 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.93e-05/0.7816, allocations: 23.92 kB / 0.8413 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.7816, allocations: 7.875 kB / 0.8413 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.7816, allocations: 3.984 kB / 0.8413 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007529/0.7891, allocations: 3.343 MB / 0.8446 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.7891, allocations: 192 / 0.8446 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/0.7903, allocations: 239.7 kB / 0.8448 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-05/0.7904, allocations: 8 kB / 0.8448 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/0.7905, allocations: 35.95 kB / 0.8448 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-05/0.7905, allocations: 4 kB / 0.8448 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.7905, allocations: 4 kB / 0.8448 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007034/0.7975, allocations: 2.784 MB / 0.8476 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/0.7987, allocations: 330.2 kB / 0.8479 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000479/0.7992, allocations: 24 kB / 0.8479 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/0.8006, allocations: 123.8 kB / 0.848 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/0.8008, allocations: 76.86 kB / 0.8481 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/0.801, allocations: 47.95 kB / 0.8481 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00219/0.8031, allocations: 1.031 MB / 0.8491 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8031, allocations: 4 kB / 0.8491 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002557/0.8057, allocations: 0.5457 MB / 0.8497 GB, free: 10.27 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.01015/0.8158, allocations: 4.069 MB / 0.8537 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00445/0.8203, allocations: 1.434 MB / 0.8551 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.8203, allocations: 0 / 0.8551 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002236/0.8225, allocations: 0.7675 MB / 0.8558 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003828/0.8264, allocations: 0.732 MB / 0.8565 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02856/0.8549, allocations: 12.71 MB / 0.8689 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/0.8561, allocations: 1.312 MB / 0.8702 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001479/0.8576, allocations: 377 kB / 0.8706 GB, free: 4.445 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/0.8587, allocations: 0.7218 MB / 0.8713 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of SimCode: time 1.352e-06/0.8587, allocations: 0 / 0.8713 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1101/0.9688, allocations: 49.05 MB / 0.9192 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/16.42, allocations: 7.094 kB / 0.9192 GB, free: 3.137 MB / 0.6856 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 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: 20.49048603605479] Failed to read output from testmodel.py, exit status != 0: 16.629941541003063 16.654520784 15.94105136 Calling exit ...