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.001398/0.001398, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001764/0.001764, allocations: 165.3 kB / 22.76 MB, free: 1.652 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 1.462/1.462, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.002609/0.002609, allocations: 225.7 kB / 259.8 MB, free: 12.85 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 1.078/1.078, allocations: 138.4 MB / 454.7 MB, free: 1.469 MB / 362.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.733e-06/1.733e-06, allocations: 0 / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.438e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.3621/0.3622, allocations: 119.6 MB / 0.6712 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02094/0.3831, allocations: 20.23 MB / 0.6909 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.3833, allocations: 3.938 kB / 0.6909 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.3836, allocations: 48.02 kB / 0.691 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003742/0.3839, allocations: 99.33 kB / 0.6911 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.01519/0.3991, allocations: 6.994 MB / 0.6979 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000296/0.3994, allocations: 255.7 kB / 0.6981 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.3995, allocations: 9.797 kB / 0.6982 GB, free: 7.117 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003249/0.3998, allocations: 187.4 kB / 0.6983 GB, free: 6.934 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.3999, allocations: 79.77 kB / 0.6984 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.3999, allocations: 8 kB / 0.6984 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01955/0.4195, allocations: 11.14 MB / 0.7093 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.4196, allocations: 35.89 kB / 0.7093 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.4198, allocations: 66.33 kB / 0.7094 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.01837/0.4381, allocations: 8.372 MB / 0.7176 GB, free: 3.215 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4381, allocations: 0 / 0.7176 GB, free: 3.215 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4381, allocations: 4 kB / 0.7176 GB, free: 3.211 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.4381, allocations: 0 / 0.7176 GB, free: 3.211 MB / 0.5261 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.003781/0.4419, allocations: 1.159 MB / 0.7187 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.442, allocations: 12.75 kB / 0.7187 GB, free: 2.004 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.4432, allocations: 144.3 kB / 0.7189 GB, free: 1.863 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.4435, allocations: 173.5 kB / 0.719 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.4436, allocations: 8.375 kB / 0.719 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.4436, allocations: 20.38 kB / 0.719 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.4451, allocations: 0.6688 MB / 0.7197 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.4451, allocations: 0 / 0.7197 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.4451, allocations: 8 kB / 0.7197 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.4451, allocations: 4 kB / 0.7197 GB, free: 0.8945 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.4466, allocations: 0.6088 MB / 0.7203 GB, free: 292 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.4478, allocations: 0.6978 MB / 0.721 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000913/0.4487, allocations: 227.6 kB / 0.7212 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.4488, allocations: 68.83 kB / 0.7213 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09081/0.5396, allocations: 23.36 MB / 0.7441 GB, free: 7.859 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/0.5397, allocations: 38.56 kB / 0.7441 GB, free: 7.812 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=25): time 2.204e-06/0.5397, allocations: 0 / 0.7441 GB, free: 7.812 MB / 0.5573 GB Notification: Performance of matching and sorting (n=25): time 0.002282/0.542, allocations: 453 kB / 0.7445 GB, free: 7.363 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.542, allocations: 55.41 kB / 0.7446 GB, free: 7.297 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.5422, allocations: 136.4 kB / 0.7447 GB, free: 7.156 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.23e-05/0.5423, allocations: 29.7 kB / 0.7448 GB, free: 7.121 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.5424, allocations: 116.5 kB / 0.7449 GB, free: 7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.5425, allocations: 91.2 kB / 0.745 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.5427, allocations: 73.67 kB / 0.745 GB, free: 6.832 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0004006/0.5431, allocations: 322.8 kB / 0.7453 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.5433, allocations: 83.94 kB / 0.7454 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.5436, allocations: 129.9 kB / 0.7455 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005256/0.5441, allocations: 221.9 kB / 0.7458 GB, free: 6.051 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5441, allocations: 0 / 0.7458 GB, free: 6.051 MB / 0.5573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009145/0.545, allocations: 329 kB / 0.7461 GB, free: 5.723 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.5451, allocations: 4 kB / 0.7461 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.5451, allocations: 4 kB / 0.7461 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.5451, allocations: 0 / 0.7461 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.5454, allocations: 83.88 kB / 0.7462 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.5454, allocations: 10.14 kB / 0.7462 GB, free: 5.625 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.5456, allocations: 23.78 kB / 0.7462 GB, free: 5.602 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-05/0.5457, allocations: 27.97 kB / 0.7462 GB, free: 5.574 MB / 0.5573 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.0001706/0.5458, allocations: 125.8 kB / 0.7463 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/0.5461, allocations: 47.59 kB / 0.7464 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003255/0.5493, allocations: 2.493 MB / 0.7488 GB, free: 2.902 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.5494, allocations: 7.984 kB / 0.7488 GB, free: 2.895 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5494, allocations: 0 / 0.7488 GB, free: 2.895 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5494, allocations: 0 / 0.7488 GB, free: 2.895 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004667/0.554, allocations: 3.55 MB / 0.7523 GB, free: 15.25 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.554, allocations: 4 kB / 0.7523 GB, free: 15.25 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002986/0.5543, allocations: 51.94 kB / 0.7523 GB, free: 15.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.5543, allocations: 7.938 kB / 0.7523 GB, free: 15.19 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.5544, allocations: 4 kB / 0.7524 GB, free: 15.19 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.5544, allocations: 4 kB / 0.7524 GB, free: 15.18 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5544, allocations: 0 / 0.7524 GB, free: 15.18 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.5554, allocations: 0.5821 MB / 0.7529 GB, free: 14.58 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.5555, allocations: 59.64 kB / 0.753 GB, free: 14.52 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.5556, allocations: 4 kB / 0.753 GB, free: 14.52 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.5558, allocations: 20.86 kB / 0.753 GB, free: 14.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.5559, allocations: 15.97 kB / 0.753 GB, free: 14.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/0.5559, allocations: 15.98 kB / 0.753 GB, free: 14.47 MB / 0.573 GB Notification: Performance of sorting global known variables: time 9.356e-05/0.556, allocations: 99.27 kB / 0.7531 GB, free: 14.37 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.556, allocations: 0 / 0.7531 GB, free: 14.37 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004856/0.5609, allocations: 1.719 MB / 0.7548 GB, free: 12.65 MB / 0.573 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.009689/0.5705, allocations: 2.204 MB / 0.757 GB, free: 10.44 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0008339/0.5714, allocations: 329.8 kB / 0.7573 GB, free: 10.11 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5714, allocations: 0 / 0.7573 GB, free: 10.11 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003621/0.5717, allocations: 192.8 kB / 0.7575 GB, free: 9.926 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007257/0.5725, allocations: 102.7 kB / 0.7576 GB, free: 9.828 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.5737, allocations: 0.6093 MB / 0.7581 GB, free: 9.191 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.5738, allocations: 157 kB / 0.7583 GB, free: 9.02 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006559/0.5745, allocations: 401.2 kB / 0.7587 GB, free: 8.625 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.5747, allocations: 52.47 kB / 0.7587 GB, free: 8.574 MB / 0.573 GB Notification: Performance of SimCode: time 7.31e-07/0.5747, allocations: 4 kB / 0.7587 GB, free: 8.57 MB / 0.573 GB Notification: Performance of Templates: time 0.09435/0.669, allocations: 60.43 MB / 0.8177 GB, free: 12.2 MB / 0.6355 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: 9.895457617007196]