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.0009497/0.0009497, allocations: 80.53 kB / 19.93 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.0007934/0.0007934, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8088/0.8088, 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/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.001449/0.001449, allocations: 231.9 kB / 260.2 MB, free: 13.02 MB / 250.7 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 0.6373/0.6373, allocations: 138.4 MB / 455.1 MB, free: 30.02 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6475 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.716e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.3257/0.3257, allocations: 119.6 MB / 0.7644 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01669/0.3424, allocations: 20.24 MB / 0.7841 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.3426, allocations: 7.938 kB / 0.7841 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.3429, allocations: 39.69 kB / 0.7842 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.3431, allocations: 99.28 kB / 0.7843 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01265/0.3558, allocations: 7.008 MB / 0.7911 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.3561, allocations: 255.8 kB / 0.7914 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.962e-05/0.3562, allocations: 17.73 kB / 0.7914 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/0.3565, allocations: 187.3 kB / 0.7915 GB, free: 7.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.3566, allocations: 79.77 kB / 0.7916 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.3566, allocations: 12 kB / 0.7916 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01466/0.3713, allocations: 11.12 MB / 0.8025 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.3714, allocations: 43.81 kB / 0.8025 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.3716, allocations: 63.89 kB / 0.8026 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01655/0.3881, allocations: 8.361 MB / 0.8108 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.3882, allocations: 4 kB / 0.8108 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3882, allocations: 0 / 0.8108 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.3882, allocations: 0 / 0.8108 GB, free: 3.629 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.003189/0.3913, allocations: 1.168 MB / 0.8119 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.3914, allocations: 13.94 kB / 0.8119 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005992/0.392, allocations: 80.77 kB / 0.812 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.3923, allocations: 171.3 kB / 0.8122 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.3923, allocations: 12.38 kB / 0.8122 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.3923, allocations: 20.31 kB / 0.8122 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008113/0.3931, allocations: 0.6723 MB / 0.8128 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3931, allocations: 0 / 0.8128 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.3932, allocations: 4 kB / 0.8129 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.3932, allocations: 4 kB / 0.8129 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007142/0.3939, allocations: 0.6164 MB / 0.8135 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007704/0.3947, allocations: 0.6926 MB / 0.8141 GB, free: 24 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005068/0.3952, allocations: 245.5 kB / 0.8144 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.651e-05/0.3953, allocations: 64.83 kB / 0.8144 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04157/0.4368, allocations: 23.36 MB / 0.8372 GB, free: 8.305 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.4368, allocations: 30.56 kB / 0.8373 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=25): time 2.475e-06/0.4368, allocations: 0 / 0.8373 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25): time 0.001018/0.4379, allocations: 420.5 kB / 0.8377 GB, free: 7.852 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.4379, allocations: 55.41 kB / 0.8377 GB, free: 7.785 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.037e-05/0.438, allocations: 121.8 kB / 0.8378 GB, free: 7.656 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.438, allocations: 33.7 kB / 0.8379 GB, free: 7.617 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/0.4381, allocations: 120.5 kB / 0.838 GB, free: 7.496 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.841e-05/0.4381, allocations: 91.22 kB / 0.8381 GB, free: 7.406 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.856e-05/0.4382, allocations: 73.67 kB / 0.8381 GB, free: 7.328 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.303e-05/0.4383, allocations: 322.8 kB / 0.8385 GB, free: 7.004 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.4384, allocations: 83.94 kB / 0.8385 GB, free: 6.922 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.4386, allocations: 130.8 kB / 0.8387 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.4389, allocations: 221.6 kB / 0.8389 GB, free: 6.547 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4389, allocations: 7.938 kB / 0.8389 GB, free: 6.539 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004873/0.4393, allocations: 297.3 kB / 0.8392 GB, free: 6.242 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4394, allocations: 7.938 kB / 0.8392 GB, free: 6.234 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4394, allocations: 0 / 0.8392 GB, free: 6.234 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.4394, allocations: 4 kB / 0.8392 GB, free: 6.23 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.4396, allocations: 83.88 kB / 0.8392 GB, free: 6.148 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.4396, allocations: 4 kB / 0.8393 GB, free: 6.145 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.508e-05/0.4396, allocations: 23.77 kB / 0.8393 GB, free: 6.125 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.4397, allocations: 32.12 kB / 0.8393 GB, free: 6.094 MB / 0.6667 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.0001019/0.4398, allocations: 134.4 kB / 0.8394 GB, free: 5.953 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-05/0.4399, allocations: 15.91 kB / 0.8395 GB, free: 5.938 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.4415, allocations: 2.494 MB / 0.8419 GB, free: 3.441 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.4415, allocations: 7.984 kB / 0.8419 GB, free: 3.434 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4415, allocations: 0 / 0.8419 GB, free: 3.434 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4415, allocations: 0 / 0.8419 GB, free: 3.434 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/0.4441, allocations: 3.541 MB / 0.8454 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.4442, allocations: 3.125 kB / 0.8454 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.4443, allocations: 63.94 kB / 0.8454 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.4443, allocations: 0 / 0.8454 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.4443, allocations: 4 kB / 0.8454 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.4443, allocations: 0 / 0.8454 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4443, allocations: 0 / 0.8454 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005153/0.4448, allocations: 0.5666 MB / 0.846 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-05/0.4449, allocations: 59.64 kB / 0.846 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.4449, allocations: 4 kB / 0.846 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.445, allocations: 15.98 kB / 0.846 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.4451, allocations: 11.97 kB / 0.8461 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.4451, allocations: 19.98 kB / 0.8461 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.818e-05/0.4451, allocations: 95.27 kB / 0.8462 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5e-08/0.4451, allocations: 0 / 0.8462 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003912/0.4491, allocations: 1.719 MB / 0.8478 GB, free: 13.22 MB / 0.6823 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.005843/0.4549, allocations: 2.21 MB / 0.85 GB, free: 11 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005611/0.4555, allocations: 322 kB / 0.8503 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4555, allocations: 0 / 0.8503 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.4556, allocations: 192.5 kB / 0.8505 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.456, allocations: 53.94 kB / 0.8505 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.4571, allocations: 0.6349 MB / 0.8512 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.4573, allocations: 160.5 kB / 0.8513 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.4574, allocations: 52.47 kB / 0.8514 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of SimCode: time 2.114e-06/0.4574, allocations: 4 kB / 0.8514 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of Templates: time 0.03962/0.497, allocations: 33.14 MB / 0.8837 GB, free: 8.391 MB / 0.7136 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: 7.389908307231963] Failed to read output from testmodel.py, exit status != 0: 0.504946063272655 0.5128397140000001 0.122816452 Calling exit ...