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.0008564/0.0008564, 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.0009065/0.0009065, 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.8987/0.8987, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.5798/0.5798, allocations: 114 MB / 373.9 MB, free: 8.699 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 2.345e-06/2.345e-06, allocations: 0 / 0.5542 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.962e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.1128/0.1129, allocations: 119.6 MB / 0.671 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.3173/0.4302, allocations: 20.22 MB / 0.6908 GB, free: 41.6 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.4304, allocations: 2.906 kB / 0.6908 GB, free: 41.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.4307, allocations: 51.2 kB / 0.6908 GB, free: 41.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003177/0.4311, allocations: 97.7 kB / 0.6909 GB, free: 41.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01329/0.4443, allocations: 7.021 MB / 0.6978 GB, free: 41.47 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004254/0.4448, allocations: 259.1 kB / 0.698 GB, free: 41.47 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 6.049e-05/0.4448, allocations: 12.3 kB / 0.698 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003355/0.4452, allocations: 182.8 kB / 0.6982 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.4453, allocations: 79.39 kB / 0.6983 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.4453, allocations: 7.531 kB / 0.6983 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01467/0.46, allocations: 11.12 MB / 0.7091 GB, free: 41.41 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.4601, allocations: 41.16 kB / 0.7092 GB, free: 41.4 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.4603, allocations: 66.22 kB / 0.7093 GB, free: 41.4 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01913/0.4794, allocations: 8.362 MB / 0.7174 GB, free: 41.17 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.4794, allocations: 4.391 kB / 0.7174 GB, free: 41.17 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4794, allocations: 6.094 kB / 0.7174 GB, free: 41.17 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.4794, allocations: 1.031 kB / 0.7174 GB, free: 41.17 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.005985/0.4854, allocations: 1.16 MB / 0.7186 GB, free: 40.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.4854, allocations: 10.66 kB / 0.7186 GB, free: 40.45 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.893e-05/0.4855, allocations: 53.03 kB / 0.7186 GB, free: 40.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000621/0.4861, allocations: 81.56 kB / 0.7187 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.4863, allocations: 168.9 kB / 0.7189 GB, free: 40.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.4864, allocations: 16.66 kB / 0.7189 GB, free: 40.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.4864, allocations: 14.44 kB / 0.7189 GB, free: 40.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007653/0.4871, allocations: 0.675 MB / 0.7195 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.4871, allocations: 0 / 0.7195 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.4872, allocations: 6.406 kB / 0.7196 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.4872, allocations: 8.531 kB / 0.7196 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007181/0.4879, allocations: 0.6067 MB / 0.7202 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007364/0.4886, allocations: 0.7331 MB / 0.7209 GB, free: 39.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004868/0.4891, allocations: 231.7 kB / 0.7211 GB, free: 39.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.576e-05/0.4892, allocations: 64.47 kB / 0.7212 GB, free: 39.42 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04782/0.537, allocations: 23.36 MB / 0.744 GB, free: 37.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.537, allocations: 44.91 kB / 0.744 GB, free: 37.56 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 1.944e-06/0.5371, allocations: 0 / 0.744 GB, free: 37.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.001013/0.5381, allocations: 418.1 kB / 0.7444 GB, free: 37.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.5381, allocations: 54.28 kB / 0.7445 GB, free: 37.36 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.573e-05/0.5382, allocations: 146.4 kB / 0.7446 GB, free: 37.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.5382, allocations: 29.33 kB / 0.7446 GB, free: 37.22 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.5382, allocations: 108.1 kB / 0.7447 GB, free: 37.12 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.5383, allocations: 94.89 kB / 0.7448 GB, free: 37.06 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.076e-05/0.5384, allocations: 81.48 kB / 0.7449 GB, free: 37.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.213e-05/0.5384, allocations: 331 kB / 0.7452 GB, free: 36.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.5385, allocations: 77.7 kB / 0.7453 GB, free: 36.69 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.5387, allocations: 129.3 kB / 0.7454 GB, free: 36.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.539, allocations: 230.4 kB / 0.7456 GB, free: 36.56 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.539, allocations: 2.625 kB / 0.7456 GB, free: 36.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005209/0.5395, allocations: 293 kB / 0.7459 GB, free: 36.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.5396, allocations: 9.688 kB / 0.7459 GB, free: 36.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.5396, allocations: 3.094 kB / 0.7459 GB, free: 36.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.5396, allocations: 0 / 0.7459 GB, free: 36.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.5398, allocations: 81.72 kB / 0.746 GB, free: 36.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.5398, allocations: 10.7 kB / 0.746 GB, free: 36.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.54, allocations: 24.25 kB / 0.746 GB, free: 36.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.54, allocations: 24.8 kB / 0.7461 GB, free: 36.44 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.0001218/0.5401, allocations: 136.2 kB / 0.7462 GB, free: 36.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.5402, allocations: 15.47 kB / 0.7462 GB, free: 36.31 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/0.542, allocations: 2.485 MB / 0.7486 GB, free: 35.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.542, allocations: 13.84 kB / 0.7486 GB, free: 35.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.542, allocations: 3.938 kB / 0.7486 GB, free: 35.92 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.542, allocations: 1.781 kB / 0.7486 GB, free: 35.92 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.5445, allocations: 3.586 MB / 0.7522 GB, free: 35.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.5445, allocations: 0 / 0.7522 GB, free: 35.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.5447, allocations: 56.3 kB / 0.7522 GB, free: 35.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.5447, allocations: 3.312 kB / 0.7522 GB, free: 35.06 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.5447, allocations: 10.23 kB / 0.7522 GB, free: 35.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.5447, allocations: 0 / 0.7522 GB, free: 35.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5447, allocations: 4 kB / 0.7522 GB, free: 35.05 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005267/0.5453, allocations: 0.5589 MB / 0.7528 GB, free: 34.86 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.5454, allocations: 64.59 kB / 0.7528 GB, free: 34.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.5454, allocations: 3.562 kB / 0.7528 GB, free: 34.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.5455, allocations: 14.8 kB / 0.7528 GB, free: 34.81 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.5455, allocations: 18.5 kB / 0.7529 GB, free: 34.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.5456, allocations: 16.41 kB / 0.7529 GB, free: 34.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.636e-05/0.5456, allocations: 107.4 kB / 0.753 GB, free: 34.72 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5456, allocations: 3.938 kB / 0.753 GB, free: 34.71 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.007986/0.5536, allocations: 1.711 MB / 0.7547 GB, free: 34.45 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.01475/0.5684, allocations: 3.197 MB / 0.7578 GB, free: 33.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005836/0.5689, allocations: 325.3 kB / 0.7581 GB, free: 33.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5689, allocations: 3.938 kB / 0.7581 GB, free: 33.17 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.5691, allocations: 195 kB / 0.7583 GB, free: 33.15 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.5696, allocations: 71.86 kB / 0.7583 GB, free: 33.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007697/0.5773, allocations: 3.084 MB / 0.7614 GB, free: 30.93 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.5774, allocations: 160.1 kB / 0.7615 GB, free: 30.82 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003831/0.5778, allocations: 400.9 kB / 0.7619 GB, free: 30.66 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.5779, allocations: 111.7 kB / 0.762 GB, free: 30.58 MB / 0.6355 GB Notification: Performance of SimCode: time 1.072e-06/0.5779, allocations: 0 / 0.762 GB, free: 30.58 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08903/0.667, allocations: 64.54 MB / 0.825 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.435/10.1, allocations: 10.58 kB / 0.825 GB, free: 6.031 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.SteamProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.872558979317546] Failed to read output from testmodel.py, exit status != 0: 10.220551894977689 10.231463632 9.748213467 Calling exit ...