Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.0008067/0.0008067, 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.001286/0.001286, 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.922/0.922, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.5783/0.5783, allocations: 114 MB / 373.9 MB, free: 8.715 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_X_wSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.5542 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.008e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.474/0.474, allocations: 214.2 MB / 0.7634 GB, free: 32.73 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01048/0.4845, allocations: 8.034 MB / 0.7713 GB, free: 27.82 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002202/0.4867, allocations: 90.59 kB / 0.7713 GB, free: 27.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002562/0.4892, allocations: 1.06 MB / 0.7724 GB, free: 27.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00693/0.4962, allocations: 3.289 MB / 0.7756 GB, free: 25.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.007459/0.5036, allocations: 3.619 MB / 0.7791 GB, free: 24.38 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005546/0.5092, allocations: 3.932 MB / 0.783 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/0.5111, allocations: 1.044 MB / 0.784 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006085/0.5172, allocations: 2.778 MB / 0.7867 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002443/0.5196, allocations: 1.229 MB / 0.7879 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003455/0.52, allocations: 130.8 kB / 0.788 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00624/0.5262, allocations: 3.227 MB / 0.7912 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001236/0.5275, allocations: 0.6325 MB / 0.7918 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001367/0.5288, allocations: 0.6759 MB / 0.7925 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.008354/0.5372, allocations: 3.835 MB / 0.7962 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.5372, allocations: 0 / 0.7962 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.585e-06/0.5372, allocations: 0 / 0.7962 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.993e-05/0.5373, allocations: 0 / 0.7962 GB, free: 17.59 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.00554/0.5428, allocations: 2.616 MB / 0.7988 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.5428, allocations: 9.375 kB / 0.7988 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001615/0.543, allocations: 197.3 kB / 0.7989 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003516/0.5465, allocations: 1.099 MB / 0.8 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.5484, allocations: 1.135 MB / 0.8011 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.194e-05/0.5485, allocations: 96.94 kB / 0.8012 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.5486, allocations: 131.8 kB / 0.8013 GB, free: 15 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/0.5511, allocations: 1.982 MB / 0.8033 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/0.5511, allocations: 6 kB / 0.8033 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.95e-05/0.5512, allocations: 56.77 kB / 0.8033 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.509e-05/0.5512, allocations: 57.98 kB / 0.8034 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00288/0.5541, allocations: 1.889 MB / 0.8052 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006585/0.5607, allocations: 7.18 MB / 0.8123 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/0.5629, allocations: 1.546 MB / 0.8138 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009617/0.5639, allocations: 0.7596 MB / 0.8145 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003937/0.5642, allocations: 133.9 kB / 0.8146 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.5653, allocations: 0.865 MB / 0.8155 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=104): time 4.989e-06/0.5653, allocations: 3.344 kB / 0.8155 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of matching and sorting (n=104): time 0.003527/0.5689, allocations: 2.341 MB / 0.8178 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.5689, allocations: 63.09 kB / 0.8178 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.5704, allocations: 1.731 MB / 0.8195 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.5705, allocations: 47.23 kB / 0.8196 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000351/0.5708, allocations: 0.851 MB / 0.8204 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/0.5711, allocations: 371.9 kB / 0.8208 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002249/0.5713, allocations: 239.2 kB / 0.821 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.631e-05/0.5713, allocations: 355.8 kB / 0.8213 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009053/0.5723, allocations: 0.6658 MB / 0.822 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.5733, allocations: 1.294 MB / 0.8232 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001901/0.5752, allocations: 1.721 MB / 0.8249 GB, free: 492 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.5752, allocations: 5.844 kB / 0.8249 GB, free: 492 kB / 0.6355 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003035/0.5782, allocations: 1.939 MB / 0.8268 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.5783, allocations: 11.59 kB / 0.8268 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.5783, allocations: 12.56 kB / 0.8268 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.5783, allocations: 19.44 kB / 0.8269 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009249/0.5792, allocations: 363.2 kB / 0.8272 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.5793, allocations: 26.11 kB / 0.8272 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.5806, allocations: 252.4 kB / 0.8275 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.5807, allocations: 67.34 kB / 0.8275 GB, free: 15.32 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (157): * Single equations (assignments): 157 * 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.0007081/0.5814, allocations: 405.8 kB / 0.8279 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003611/0.5818, allocations: 196.5 kB / 0.8281 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002654/0.5844, allocations: 1.832 MB / 0.8299 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.5844, allocations: 11.12 kB / 0.8299 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5844, allocations: 3.125 kB / 0.8299 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.5844, allocations: 5.641 kB / 0.8299 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005272/0.5897, allocations: 3.816 MB / 0.8336 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.5897, allocations: 8.875 kB / 0.8336 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007533/0.5905, allocations: 272.5 kB / 0.8339 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.5905, allocations: 15.94 kB / 0.8339 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.871e-05/0.5905, allocations: 35.97 kB / 0.834 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-05/0.5906, allocations: 18.52 kB / 0.834 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.5906, allocations: 10.62 kB / 0.834 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004277/0.5948, allocations: 2.922 MB / 0.8368 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009342/0.5958, allocations: 326.3 kB / 0.8371 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/0.596, allocations: 32 kB / 0.8372 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007672/0.5968, allocations: 119.9 kB / 0.8373 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.5969, allocations: 93.52 kB / 0.8374 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.915e-05/0.597, allocations: 47.97 kB / 0.8374 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001294/0.5983, allocations: 1.171 MB / 0.8386 GB, free: 5.645 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5983, allocations: 0 / 0.8386 GB, free: 5.645 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001293/0.5996, allocations: 467.5 kB / 0.839 GB, free: 5.188 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (110): * Single equations (assignments): 104 * 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.004969/0.6045, allocations: 3.983 MB / 0.8429 GB, free: 1.348 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002755/0.6073, allocations: 1.596 MB / 0.8445 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/0.6073, allocations: 0 / 0.8445 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.6085, allocations: 0.7837 MB / 0.8452 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002935/0.6115, allocations: 0.9031 MB / 0.8461 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02266/0.6341, allocations: 15.02 MB / 0.8608 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000674/0.6348, allocations: 0.8023 MB / 0.8616 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001548/0.6363, allocations: 446.4 kB / 0.862 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008355/0.6372, allocations: 0.7112 MB / 0.8627 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of SimCode: time 2.094e-06/0.6372, allocations: 0 / 0.8627 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07126/0.7084, allocations: 53.31 MB / 0.9147 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.681/9.39, allocations: 6.594 kB / 0.9148 GB, free: 8.207 MB / 0.7292 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.05164406541735] Failed to read output from testmodel.py, exit status != 0: 9.519062213599682 9.531820463 8.992467886 Calling exit ...