Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamProperties.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.001042/0.001042, allocations: 76.45 kB / 19.93 MB, free: 4.629 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.001352/0.001352, allocations: 173.9 kB / 23.21 MB, free: 1.344 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.8924/0.8924, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.5507/0.5507, allocations: 114 MB / 373.9 MB, free: 8.711 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.Media.Examples.SteamProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.5542 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341e-05/1.47e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.1083/0.1083, allocations: 119.6 MB / 0.671 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.3318/0.4401, allocations: 20.22 MB / 0.6908 GB, free: 41.62 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002068/0.4403, allocations: 4.859 kB / 0.6908 GB, free: 41.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003612/0.4406, allocations: 47.73 kB / 0.6908 GB, free: 41.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003533/0.441, allocations: 100.3 kB / 0.6909 GB, free: 41.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01692/0.4579, allocations: 7.021 MB / 0.6978 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004827/0.4584, allocations: 264.1 kB / 0.698 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 6.219e-05/0.4585, allocations: 12.48 kB / 0.698 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004037/0.4589, allocations: 181.6 kB / 0.6982 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.459, allocations: 78.62 kB / 0.6983 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.4591, allocations: 6.375 kB / 0.6983 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01815/0.4772, allocations: 11.12 MB / 0.7091 GB, free: 41.43 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.4774, allocations: 41.44 kB / 0.7092 GB, free: 41.43 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.4776, allocations: 63.83 kB / 0.7092 GB, free: 41.42 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.02384/0.5014, allocations: 8.363 MB / 0.7174 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/0.5014, allocations: 0 / 0.7174 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5014, allocations: 6.438 kB / 0.7174 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.5015, allocations: 0.9062 kB / 0.7174 GB, free: 41.2 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.007247/0.5087, allocations: 1.165 MB / 0.7186 GB, free: 40.47 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.5088, allocations: 10.78 kB / 0.7186 GB, free: 40.47 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.583e-05/0.5088, allocations: 51.06 kB / 0.7186 GB, free: 40.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006774/0.5095, allocations: 86.73 kB / 0.7187 GB, free: 40.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.5098, allocations: 171.5 kB / 0.7189 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.5099, allocations: 16.81 kB / 0.7189 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.5099, allocations: 16.53 kB / 0.7189 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009422/0.5108, allocations: 0.6743 MB / 0.7196 GB, free: 39.97 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.5109, allocations: 0 / 0.7196 GB, free: 39.97 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.5109, allocations: 9.266 kB / 0.7196 GB, free: 39.97 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.108e-06/0.5109, allocations: 3.656 kB / 0.7196 GB, free: 39.97 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007882/0.5117, allocations: 0.608 MB / 0.7202 GB, free: 39.97 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007909/0.5125, allocations: 0.7276 MB / 0.7209 GB, free: 39.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005227/0.513, allocations: 231.4 kB / 0.7211 GB, free: 39.45 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.5131, allocations: 65.34 kB / 0.7212 GB, free: 39.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04975/0.5629, allocations: 23.36 MB / 0.744 GB, free: 37.62 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.5629, allocations: 37.34 kB / 0.744 GB, free: 37.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 2.434e-06/0.5629, allocations: 0 / 0.744 GB, free: 37.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.001068/0.564, allocations: 422.8 kB / 0.7444 GB, free: 37.45 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.564, allocations: 54.88 kB / 0.7445 GB, free: 37.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.5641, allocations: 144.6 kB / 0.7446 GB, free: 37.28 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.5641, allocations: 29.08 kB / 0.7446 GB, free: 37.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.5642, allocations: 107.9 kB / 0.7447 GB, free: 37.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.5642, allocations: 89.33 kB / 0.7448 GB, free: 37.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-05/0.5643, allocations: 79.56 kB / 0.7449 GB, free: 37.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.629e-05/0.5643, allocations: 331.2 kB / 0.7452 GB, free: 36.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.5644, allocations: 78.27 kB / 0.7453 GB, free: 36.72 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.5646, allocations: 131.5 kB / 0.7454 GB, free: 36.66 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.5648, allocations: 223.2 kB / 0.7456 GB, free: 36.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5648, allocations: 2.625 kB / 0.7456 GB, free: 36.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004509/0.5653, allocations: 296.5 kB / 0.7459 GB, free: 36.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.5653, allocations: 7.312 kB / 0.7459 GB, free: 36.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.5653, allocations: 3.625 kB / 0.7459 GB, free: 36.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.5653, allocations: 4.156 kB / 0.7459 GB, free: 36.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.5655, allocations: 81.97 kB / 0.746 GB, free: 36.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.5655, allocations: 3.469 kB / 0.746 GB, free: 36.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.5656, allocations: 24.31 kB / 0.746 GB, free: 36.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.5656, allocations: 29.7 kB / 0.7461 GB, free: 36.47 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.000112/0.5657, allocations: 131.6 kB / 0.7462 GB, free: 36.35 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.5658, allocations: 15.28 kB / 0.7462 GB, free: 36.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.5676, allocations: 2.494 MB / 0.7486 GB, free: 35.96 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.5676, allocations: 11.52 kB / 0.7486 GB, free: 35.96 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.5676, allocations: 7.938 kB / 0.7486 GB, free: 35.95 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5676, allocations: 3.984 kB / 0.7487 GB, free: 35.95 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.57, allocations: 3.579 MB / 0.7521 GB, free: 35.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.57, allocations: 4.062 kB / 0.7522 GB, free: 35.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.5701, allocations: 57.25 kB / 0.7522 GB, free: 35.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.5701, allocations: 0 / 0.7522 GB, free: 35.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.5701, allocations: 8.25 kB / 0.7522 GB, free: 35.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.5701, allocations: 0 / 0.7522 GB, free: 35.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.5701, allocations: 0 / 0.7522 GB, free: 35.09 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005498/0.5707, allocations: 0.5653 MB / 0.7528 GB, free: 34.88 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.5708, allocations: 64.05 kB / 0.7528 GB, free: 34.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.5708, allocations: 5.281 kB / 0.7528 GB, free: 34.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.5709, allocations: 15.77 kB / 0.7528 GB, free: 34.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.571, allocations: 20.97 kB / 0.7529 GB, free: 34.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.571, allocations: 16.11 kB / 0.7529 GB, free: 34.82 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.005e-05/0.571, allocations: 102.7 kB / 0.753 GB, free: 34.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.1e-08/0.571, allocations: 0 / 0.753 GB, free: 34.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.007992/0.579, allocations: 1.712 MB / 0.7547 GB, free: 34.47 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * 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.01639/0.5954, allocations: 3.206 MB / 0.7578 GB, free: 33.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006412/0.5961, allocations: 319.9 kB / 0.7581 GB, free: 33.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.5961, allocations: 320 / 0.7581 GB, free: 33.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.5963, allocations: 197.3 kB / 0.7583 GB, free: 33.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000499/0.5968, allocations: 69.38 kB / 0.7583 GB, free: 33.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008841/0.6056, allocations: 3.09 MB / 0.7614 GB, free: 30.95 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.6057, allocations: 161.1 kB / 0.7615 GB, free: 30.84 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004204/0.6061, allocations: 402.9 kB / 0.7619 GB, free: 30.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.6063, allocations: 100.7 kB / 0.762 GB, free: 30.61 MB / 0.6355 GB Notification: Performance of SimCode: time 2.876e-06/0.6063, allocations: 0 / 0.762 GB, free: 30.61 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08746/0.6938, allocations: 64.54 MB / 0.825 GB, free: 6.094 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.461/10.15, allocations: 6.562 kB / 0.825 GB, free: 6.09 MB / 0.6667 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_SteamProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.756907070055604] Failed to read output from testmodel.py, exit status != 0: 10.273822529241443 10.284223039 9.780400367 Calling exit ...