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.001277/0.001277, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001483/0.001483, allocations: 160 kB / 23.01 MB, free: 4.602 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.346/1.346, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 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.002362/0.002362, allocations: 233.2 kB / 260 MB, free: 460 kB / 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 0.888/0.888, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.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.002956/0.002956, allocations: 99.84 kB / 0.6473 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3852, allocations: 95.35 MB / 0.7405 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1435/0.5287, allocations: 119.6 MB / 0.8573 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02704/0.5558, allocations: 20.24 MB / 0.877 GB, free: 6.535 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.5559, allocations: 0 / 0.877 GB, free: 6.535 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.5562, allocations: 47.67 kB / 0.8771 GB, free: 6.488 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.5565, allocations: 99.34 kB / 0.8772 GB, free: 6.391 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0167/0.5732, allocations: 6.933 MB / 0.884 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004134/0.5736, allocations: 251.9 kB / 0.8842 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.424e-05/0.5737, allocations: 9.812 kB / 0.8842 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003268/0.574, allocations: 151.4 kB / 0.8843 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.5742, allocations: 79.66 kB / 0.8844 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.5742, allocations: 12 kB / 0.8844 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02083/0.595, allocations: 11.11 MB / 0.8953 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.5951, allocations: 39.89 kB / 0.8953 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.5953, allocations: 71.72 kB / 0.8954 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0117/0.607, allocations: 6.493 MB / 0.9017 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.607, allocations: 4 kB / 0.9017 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.633e-06/0.607, allocations: 0 / 0.9017 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.607, allocations: 0 / 0.9017 GB, free: 13.23 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.002589/0.6096, allocations: 1.159 MB / 0.9029 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.6096, allocations: 9.344 kB / 0.9029 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.6106, allocations: 84.77 kB / 0.903 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.6109, allocations: 170.3 kB / 0.9031 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.611, allocations: 16.12 kB / 0.9031 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.611, allocations: 12 kB / 0.9031 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.6122, allocations: 0.6739 MB / 0.9038 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.6122, allocations: 0 / 0.9038 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.6123, allocations: 11.94 kB / 0.9038 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.6123, allocations: 4 kB / 0.9038 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.6135, allocations: 0.6086 MB / 0.9044 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009935/0.6145, allocations: 0.7035 MB / 0.9051 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007911/0.6153, allocations: 230.4 kB / 0.9053 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.6154, allocations: 64.83 kB / 0.9054 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08617/0.7015, allocations: 23.36 MB / 0.9282 GB, free: 1.914 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/0.7016, allocations: 38.5 kB / 0.9282 GB, free: 1.867 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=25): time 1.704e-06/0.7016, allocations: 0 / 0.9282 GB, free: 1.867 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25): time 0.001796/0.7034, allocations: 425.3 kB / 0.9286 GB, free: 1.449 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.7034, allocations: 51.41 kB / 0.9287 GB, free: 1.387 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.7036, allocations: 137.8 kB / 0.9288 GB, free: 1.242 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/0.7036, allocations: 25.7 kB / 0.9288 GB, free: 1.211 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.729e-05/0.7037, allocations: 120.5 kB / 0.9289 GB, free: 1.09 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.948e-05/0.7038, allocations: 87.22 kB / 0.929 GB, free: 1.004 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.7039, allocations: 81.67 kB / 0.9291 GB, free: 0.918 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.7041, allocations: 322.8 kB / 0.9294 GB, free: 0.5938 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.7042, allocations: 83.94 kB / 0.9295 GB, free: 0.5117 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.7045, allocations: 134.3 kB / 0.9296 GB, free: 372 kB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/0.705, allocations: 224.5 kB / 0.9298 GB, free: 132 kB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.705, allocations: 0 / 0.9298 GB, free: 132 kB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007867/0.7057, allocations: 297.3 kB / 0.9301 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.7058, allocations: 8 kB / 0.9301 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.7058, allocations: 0 / 0.9301 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.7058, allocations: 8.156 kB / 0.9301 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.7061, allocations: 83.81 kB / 0.9302 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.7061, allocations: 0 / 0.9302 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.7062, allocations: 19.89 kB / 0.9302 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.446e-05/0.7063, allocations: 23.97 kB / 0.9303 GB, free: 15.69 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.0001472/0.7064, allocations: 137.7 kB / 0.9304 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.7066, allocations: 15.91 kB / 0.9304 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002691/0.7093, allocations: 2.5 MB / 0.9328 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.7093, allocations: 11.98 kB / 0.9329 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7093, allocations: 4 kB / 0.9329 GB, free: 13 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.7093, allocations: 3.984 kB / 0.9329 GB, free: 13 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/0.7129, allocations: 3.525 MB / 0.9363 GB, free: 9.391 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.7129, allocations: 4 kB / 0.9363 GB, free: 9.387 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.7132, allocations: 59.89 kB / 0.9364 GB, free: 9.328 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.7132, allocations: 3.984 kB / 0.9364 GB, free: 9.324 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.7132, allocations: 8 kB / 0.9364 GB, free: 9.316 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.7132, allocations: 4 kB / 0.9364 GB, free: 9.312 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.7132, allocations: 3.938 kB / 0.9364 GB, free: 9.309 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008186/0.7141, allocations: 0.5559 MB / 0.9369 GB, free: 8.738 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.7142, allocations: 63.58 kB / 0.937 GB, free: 8.676 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.7142, allocations: 8 kB / 0.937 GB, free: 8.668 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.7144, allocations: 15.98 kB / 0.937 GB, free: 8.652 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.7144, allocations: 23.91 kB / 0.937 GB, free: 8.629 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.7145, allocations: 15.98 kB / 0.9371 GB, free: 8.613 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 7.004e-05/0.7145, allocations: 101.3 kB / 0.9372 GB, free: 8.516 MB / 0.7637 GB Notification: Performance of sort global known variables: time 8e-08/0.7145, allocations: 0 / 0.9372 GB, free: 8.516 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004112/0.7187, allocations: 1.707 MB / 0.9388 GB, free: 6.805 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.006828/0.7255, allocations: 1.959 MB / 0.9407 GB, free: 4.832 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0005936/0.7261, allocations: 324.5 kB / 0.941 GB, free: 4.516 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.7261, allocations: 4.062 kB / 0.941 GB, free: 4.512 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003001/0.7264, allocations: 197.9 kB / 0.9412 GB, free: 4.32 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.7268, allocations: 51.88 kB / 0.9413 GB, free: 4.27 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.7278, allocations: 0.6473 MB / 0.9419 GB, free: 3.594 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.728, allocations: 160.5 kB / 0.9421 GB, free: 3.414 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005368/0.7285, allocations: 400.7 kB / 0.9425 GB, free: 3.023 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.7286, allocations: 44.48 kB / 0.9425 GB, free: 2.977 MB / 0.7637 GB Notification: Performance of SimCode: time 4.31e-07/0.7286, allocations: 7.875 kB / 0.9425 GB, free: 2.969 MB / 0.7637 GB Notification: Performance of Templates: time 0.3772/1.106, allocations: 59.28 MB / 1 GB, free: 228.2 MB / 0.8106 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.792883609072305] Failed to read output from testmodel.py, exit status != 0: 1.113781260093674 1.123453474 0.514052201 Calling exit ...