Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001366/0.001366, allocations: 74.44 kB / 19.01 MB, free: 2.863 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.001541/0.001541, allocations: 159.2 kB / 22.25 MB, free: 5.105 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.448/1.448, allocations: 177.2 MB / 202.6 MB, free: 9.266 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002495/0.002495, allocations: 232.8 kB / 259.2 MB, free: 0.5938 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.088/1.088, allocations: 138.5 MB / 454.2 MB, free: 2.023 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003063/0.003063, allocations: 99.84 kB / 0.6466 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.4349, allocations: 95.34 MB / 0.7397 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1575/0.5924, allocations: 119.6 MB / 0.8565 GB, free: 7.094 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02951/0.6219, allocations: 20.23 MB / 0.8763 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.6221, allocations: 0 / 0.8763 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.6224, allocations: 55.55 kB / 0.8763 GB, free: 2.746 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0003986/0.6228, allocations: 91.38 kB / 0.8764 GB, free: 2.656 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01897/0.6418, allocations: 6.932 MB / 0.8832 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004565/0.6422, allocations: 259.8 kB / 0.8834 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.143e-05/0.6423, allocations: 5.812 kB / 0.8834 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003981/0.6427, allocations: 191.4 kB / 0.8836 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.6428, allocations: 79.66 kB / 0.8837 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.6428, allocations: 8 kB / 0.8837 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02175/0.6646, allocations: 11.11 MB / 0.8946 GB, free: 80 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.6647, allocations: 47.7 kB / 0.8946 GB, free: 32 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.6648, allocations: 75.7 kB / 0.8947 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01475/0.6796, allocations: 6.482 MB / 0.901 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.6796, allocations: 0 / 0.901 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6796, allocations: 0 / 0.901 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.6796, allocations: 0 / 0.901 GB, free: 9.461 MB / 0.7325 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.003496/0.6831, allocations: 1.171 MB / 0.9021 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.6832, allocations: 9.344 kB / 0.9022 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.6842, allocations: 84.77 kB / 0.9022 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.6846, allocations: 174.3 kB / 0.9024 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.6846, allocations: 16.06 kB / 0.9024 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.6846, allocations: 16 kB / 0.9024 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.686, allocations: 0.6622 MB / 0.9031 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.686, allocations: 0 / 0.9031 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.686, allocations: 8 kB / 0.9031 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.686, allocations: 8 kB / 0.9031 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.6873, allocations: 0.6125 MB / 0.9037 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.6884, allocations: 0.6996 MB / 0.9044 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008471/0.6892, allocations: 230.4 kB / 0.9046 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.6894, allocations: 74.3 kB / 0.9047 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08741/0.7768, allocations: 23.36 MB / 0.9275 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.7768, allocations: 30.56 kB / 0.9275 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=25): time 1.744e-06/0.7768, allocations: 4 kB / 0.9275 GB, free: 14.08 MB / 0.7637 GB Notification: Performance of matching and sorting (n=25): time 0.001957/0.7788, allocations: 416.7 kB / 0.9279 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.7788, allocations: 55.41 kB / 0.928 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.779, allocations: 129.7 kB / 0.9281 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.779, allocations: 37.7 kB / 0.9281 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.7791, allocations: 108.6 kB / 0.9282 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 9.584e-05/0.7792, allocations: 95.2 kB / 0.9283 GB, free: 13.22 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.7793, allocations: 77.67 kB / 0.9284 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.7795, allocations: 326.8 kB / 0.9287 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.7797, allocations: 83.94 kB / 0.9288 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/0.7801, allocations: 126.3 kB / 0.9289 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/0.7806, allocations: 221 kB / 0.9291 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7806, allocations: 0 / 0.9291 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008675/0.7814, allocations: 304.6 kB / 0.9294 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.7815, allocations: 6.188 kB / 0.9294 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.7815, allocations: 4 kB / 0.9294 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.7815, allocations: 0 / 0.9294 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.7818, allocations: 83.81 kB / 0.9295 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.7818, allocations: 7.984 kB / 0.9295 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.782, allocations: 23.98 kB / 0.9295 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.905e-05/0.782, allocations: 27.97 kB / 0.9296 GB, free: 11.91 MB / 0.7637 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.000156/0.7822, allocations: 133.7 kB / 0.9297 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.7824, allocations: 15.91 kB / 0.9297 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003011/0.7854, allocations: 2.496 MB / 0.9321 GB, free: 9.238 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.7854, allocations: 7.984 kB / 0.9321 GB, free: 9.23 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7854, allocations: 0 / 0.9321 GB, free: 9.23 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.7854, allocations: 0 / 0.9321 GB, free: 9.23 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004031/0.7895, allocations: 3.535 MB / 0.9356 GB, free: 5.609 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/0.7895, allocations: 4 kB / 0.9356 GB, free: 5.605 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.7898, allocations: 59.94 kB / 0.9357 GB, free: 5.547 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.7898, allocations: 0 / 0.9357 GB, free: 5.547 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.7898, allocations: 8 kB / 0.9357 GB, free: 5.539 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.7898, allocations: 0 / 0.9357 GB, free: 5.539 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/0.7898, allocations: 7.875 kB / 0.9357 GB, free: 5.531 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008622/0.7907, allocations: 0.5589 MB / 0.9362 GB, free: 4.957 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.7908, allocations: 67.58 kB / 0.9363 GB, free: 4.891 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.7908, allocations: 4 kB / 0.9363 GB, free: 4.887 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.791, allocations: 15.98 kB / 0.9363 GB, free: 4.871 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.7911, allocations: 27.91 kB / 0.9363 GB, free: 4.844 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.7911, allocations: 11.98 kB / 0.9363 GB, free: 4.832 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 7.069e-05/0.7912, allocations: 99.02 kB / 0.9364 GB, free: 4.738 MB / 0.7637 GB Notification: Performance of sort global known variables: time 7e-08/0.7912, allocations: 0 / 0.9364 GB, free: 4.738 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004433/0.7956, allocations: 1.711 MB / 0.9381 GB, free: 3.023 MB / 0.7637 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.008494/0.8041, allocations: 1.963 MB / 0.94 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0008153/0.8049, allocations: 320.2 kB / 0.9403 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/0.8049, allocations: 4 kB / 0.9403 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.8053, allocations: 188.5 kB / 0.9405 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005522/0.8058, allocations: 56.19 kB / 0.9406 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3522/1.158, allocations: 0.641 MB / 0.9412 GB, free: 195.6 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/1.158, allocations: 162 kB / 0.9413 GB, free: 195.5 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000669/1.159, allocations: 402 kB / 0.9417 GB, free: 195.5 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/1.159, allocations: 45.41 kB / 0.9418 GB, free: 195.5 MB / 0.7637 GB Notification: Performance of SimCode: time 8.12e-07/1.159, allocations: 0 / 0.9418 GB, free: 195.5 MB / 0.7637 GB Notification: Performance of Templates: time 0.05925/1.218, allocations: 59.3 MB / 0.9997 GB, free: 145.9 MB / 0.7637 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.844733145087957] Failed to read output from testmodel.py, exit status != 0: 1.2261568550020456 1.234884923 0.5528838930000001 Calling exit ...