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.001778/0.001778, allocations: 93.47 kB / 19.44 MB, free: 336 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.001978/0.001978, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.589/1.589, allocations: 177.1 MB / 203.1 MB, free: 5.566 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.00338/0.00338, allocations: 242.3 kB / 259.8 MB, free: 12.87 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.308/1.308, allocations: 138.4 MB / 454.7 MB, free: 1.504 MB / 362.7 MB " [Timeout remaining time 178] 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 2.665e-06/2.665e-06, allocations: 0 / 0.5543 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.497e-05/4.763e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.4142/0.4143, allocations: 131.6 MB / 0.6828 GB, free: 22.01 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02054/0.4348, allocations: 22.24 MB / 0.7045 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.435, allocations: 7.938 kB / 0.7045 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.4352, allocations: 51.67 kB / 0.7046 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.4355, allocations: 99.23 kB / 0.7047 GB, free: 2.586 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.01715/0.4527, allocations: 6.994 MB / 0.7115 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004639/0.4531, allocations: 263.7 kB / 0.7118 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.703e-05/0.4532, allocations: 9.812 kB / 0.7118 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004234/0.4536, allocations: 183.4 kB / 0.7119 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.4538, allocations: 79.77 kB / 0.712 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.4538, allocations: 8 kB / 0.712 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02412/0.4779, allocations: 11.13 MB / 0.7229 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.478, allocations: 39.83 kB / 0.7229 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.4782, allocations: 63.89 kB / 0.723 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.02078/0.499, allocations: 8.368 MB / 0.7312 GB, free: 7.422 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.499, allocations: 0 / 0.7312 GB, free: 7.422 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.202e-06/0.499, allocations: 0 / 0.7312 GB, free: 7.422 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.499, allocations: 0 / 0.7312 GB, free: 7.422 MB / 0.5417 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.003735/0.5027, allocations: 1.27 MB / 0.7324 GB, free: 6.109 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.5028, allocations: 8.75 kB / 0.7324 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.504, allocations: 148 kB / 0.7326 GB, free: 5.961 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.5043, allocations: 172.3 kB / 0.7327 GB, free: 5.766 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.5043, allocations: 16.38 kB / 0.7327 GB, free: 5.75 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.5043, allocations: 20.38 kB / 0.7328 GB, free: 5.73 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.5057, allocations: 0.6015 MB / 0.7333 GB, free: 5.059 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.5057, allocations: 0 / 0.7333 GB, free: 5.059 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.5057, allocations: 8 kB / 0.7333 GB, free: 5.051 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.5057, allocations: 4 kB / 0.7334 GB, free: 5.047 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.507, allocations: 0.5073 MB / 0.7338 GB, free: 4.539 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.5083, allocations: 0.8904 MB / 0.7347 GB, free: 3.602 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008962/0.5092, allocations: 250.3 kB / 0.735 GB, free: 3.348 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.5093, allocations: 75.66 kB / 0.735 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09529/0.6046, allocations: 23.55 MB / 0.758 GB, free: 11.69 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.6047, allocations: 41.39 kB / 0.7581 GB, free: 11.64 MB / 0.573 GB Notification: Performance of pre-optimization done (n=25): time 1.453e-06/0.6047, allocations: 0 / 0.7581 GB, free: 11.64 MB / 0.573 GB Notification: Performance of matching and sorting (n=25): time 0.002025/0.6067, allocations: 466.6 kB / 0.7585 GB, free: 11.18 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.6068, allocations: 55.41 kB / 0.7586 GB, free: 11.11 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.607, allocations: 197.8 kB / 0.7588 GB, free: 10.9 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.607, allocations: 29.7 kB / 0.7588 GB, free: 10.87 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.6073, allocations: 159.3 kB / 0.7589 GB, free: 10.7 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 9.922e-05/0.6074, allocations: 91.22 kB / 0.759 GB, free: 10.61 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.6076, allocations: 91.31 kB / 0.7591 GB, free: 10.52 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002934/0.6079, allocations: 0.4961 MB / 0.7596 GB, free: 10.01 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.6081, allocations: 83.95 kB / 0.7597 GB, free: 9.926 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.6084, allocations: 154 kB / 0.7598 GB, free: 9.75 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005537/0.609, allocations: 250.2 kB / 0.7601 GB, free: 9.484 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.609, allocations: 0 / 0.7601 GB, free: 9.484 MB / 0.573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000927/0.6099, allocations: 352.9 kB / 0.7604 GB, free: 9.133 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.6099, allocations: 4 kB / 0.7604 GB, free: 9.129 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.6099, allocations: 0 / 0.7604 GB, free: 9.129 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.6099, allocations: 4 kB / 0.7604 GB, free: 9.125 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.6103, allocations: 79.88 kB / 0.7605 GB, free: 9.047 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.6103, allocations: 4 kB / 0.7605 GB, free: 9.043 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.6104, allocations: 19.88 kB / 0.7605 GB, free: 9.023 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/0.6105, allocations: 27.97 kB / 0.7605 GB, free: 8.996 MB / 0.573 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.0001875/0.6107, allocations: 172.7 kB / 0.7607 GB, free: 8.816 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/0.6109, allocations: 51.59 kB / 0.7607 GB, free: 8.766 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/0.613, allocations: 1.533 MB / 0.7622 GB, free: 7.23 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.613, allocations: 11.98 kB / 0.7622 GB, free: 7.219 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6131, allocations: 0 / 0.7622 GB, free: 7.219 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.6131, allocations: 7.984 kB / 0.7623 GB, free: 7.211 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002837/0.6159, allocations: 2.143 MB / 0.7643 GB, free: 4.973 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.6159, allocations: 0 / 0.7643 GB, free: 4.973 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.6162, allocations: 51.95 kB / 0.7644 GB, free: 4.922 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.6162, allocations: 0 / 0.7644 GB, free: 4.922 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.6162, allocations: 12.88 kB / 0.7644 GB, free: 4.91 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.6162, allocations: 3.938 kB / 0.7644 GB, free: 4.906 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6162, allocations: 0 / 0.7644 GB, free: 4.906 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009434/0.6172, allocations: 0.563 MB / 0.765 GB, free: 4.32 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.6173, allocations: 59.64 kB / 0.765 GB, free: 4.262 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.6173, allocations: 4 kB / 0.765 GB, free: 4.258 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.6175, allocations: 12.61 kB / 0.765 GB, free: 4.246 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.6176, allocations: 19.97 kB / 0.7651 GB, free: 4.227 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.6176, allocations: 12 kB / 0.7651 GB, free: 4.215 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001021/0.6177, allocations: 139.2 kB / 0.7652 GB, free: 4.078 MB / 0.573 GB Notification: Performance of sort global known variables: time 9e-08/0.6177, allocations: 4 kB / 0.7652 GB, free: 4.074 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004976/0.6227, allocations: 1.719 MB / 0.7669 GB, free: 2.352 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.009638/0.6323, allocations: 2.205 MB / 0.769 GB, free: 140 kB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0008495/0.6332, allocations: 293.5 kB / 0.7693 GB, free: 15.85 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.6332, allocations: 4 kB / 0.7693 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.6335, allocations: 181.5 kB / 0.7695 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007517/0.6343, allocations: 92.73 kB / 0.7696 GB, free: 15.58 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.6355, allocations: 0.5797 MB / 0.7701 GB, free: 14.97 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.6357, allocations: 161 kB / 0.7703 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0007664/0.6365, allocations: 401.6 kB / 0.7707 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.6366, allocations: 44.47 kB / 0.7707 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of SimCode: time 9.92e-07/0.6366, allocations: 0 / 0.7707 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of Templates: time 0.0996/0.7362, allocations: 61.68 MB / 0.831 GB, free: 0.7188 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.687982300063595]