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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8303/0.8303, allocations: 140.1 MB / 156 MB, free: 8.391 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001265/0.001265, allocations: 176.6 kB / 188.5 MB, free: 8.984 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.4 MB / 426.3 MB, free: 8.109 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009661/0.0009661, allocations: 90.38 kB / 0.4945 GB, free: 8.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001943/0.001943, allocations: 264.9 kB / 0.5728 GB, free: 66.11 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005056/0.0005058, allocations: 20 kB / 0.662 GB, free: 6.699 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.376, allocations: 79.29 MB / 0.7394 GB, free: 46.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7501/1.126, allocations: 418.5 MB / 1.148 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/1.126, allocations: 78.34 kB / 1.148 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7906/1.917, allocations: 194.5 MB / 1.338 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.395e-06/1.917, allocations: 0 / 1.338 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.664e-05/1.917, allocations: 4 kB / 1.338 GB, free: 102.4 MB / 0.6823 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.005485/1.923, allocations: 1.224 MB / 1.339 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/1.923, allocations: 8.031 kB / 1.339 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/1.924, allocations: 84.67 kB / 1.339 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/1.924, allocations: 232.1 kB / 1.34 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/1.924, allocations: 16.38 kB / 1.34 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/1.924, allocations: 16.31 kB / 1.34 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009652/1.925, allocations: 441 kB / 1.34 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/1.925, allocations: 192 / 1.34 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/1.925, allocations: 11.94 kB / 1.34 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/1.925, allocations: 8 kB / 1.34 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/1.926, allocations: 0.5936 MB / 1.341 GB, free: 99.71 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008535/1.927, allocations: 0.8744 MB / 1.342 GB, free: 98.75 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006734/1.928, allocations: 243.8 kB / 1.342 GB, free: 98.51 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/1.928, allocations: 76.81 kB / 1.342 GB, free: 98.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06636/1.994, allocations: 34.62 MB / 1.376 GB, free: 60.72 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/1.994, allocations: 38.48 kB / 1.376 GB, free: 60.68 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 2.084e-06/1.994, allocations: 0 / 1.376 GB, free: 60.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001498/1.996, allocations: 407.5 kB / 1.376 GB, free: 60.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/1.996, allocations: 55.41 kB / 1.376 GB, free: 60.21 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.864e-05/1.996, allocations: 143.8 kB / 1.376 GB, free: 60.06 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/1.996, allocations: 33.7 kB / 1.376 GB, free: 60.02 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/1.996, allocations: 104.4 kB / 1.376 GB, free: 59.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/1.996, allocations: 90.73 kB / 1.377 GB, free: 59.82 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.798e-05/1.996, allocations: 4 kB / 1.377 GB, free: 59.82 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.009e-05/1.996, allocations: 326.8 kB / 1.377 GB, free: 59.49 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/1.996, allocations: 71.95 kB / 1.377 GB, free: 59.42 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/1.996, allocations: 142 kB / 1.377 GB, free: 59.26 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/1.997, allocations: 217.2 kB / 1.377 GB, free: 59.03 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.997, allocations: 3.938 kB / 1.377 GB, free: 59.03 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005847/1.997, allocations: 289.3 kB / 1.378 GB, free: 58.74 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.997, allocations: 7.938 kB / 1.378 GB, free: 58.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/1.997, allocations: 4 kB / 1.378 GB, free: 58.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/1.997, allocations: 3.984 kB / 1.378 GB, free: 58.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/1.998, allocations: 83.89 kB / 1.378 GB, free: 58.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.998, allocations: 3.984 kB / 1.378 GB, free: 58.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/1.998, allocations: 23.69 kB / 1.378 GB, free: 58.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/1.998, allocations: 23.98 kB / 1.378 GB, free: 58.59 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001143/1.998, allocations: 133.9 kB / 1.378 GB, free: 58.45 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/1.998, allocations: 19.8 kB / 1.378 GB, free: 58.43 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/2, allocations: 2.3 MB / 1.38 GB, free: 56.11 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/2, allocations: 7.984 kB / 1.38 GB, free: 56.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/2, allocations: 0 / 1.38 GB, free: 56.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/2, allocations: 3.984 kB / 1.38 GB, free: 56.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/2.002, allocations: 3.353 MB / 1.383 GB, free: 52.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/2.002, allocations: 0 / 1.383 GB, free: 52.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/2.003, allocations: 67.88 kB / 1.383 GB, free: 52.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/2.003, allocations: 0 / 1.383 GB, free: 52.57 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/2.003, allocations: 8 kB / 1.383 GB, free: 52.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/2.003, allocations: 0 / 1.383 GB, free: 52.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/2.003, allocations: 0 / 1.383 GB, free: 52.56 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006129/2.003, allocations: 0.5583 MB / 1.384 GB, free: 51.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/2.004, allocations: 136.6 kB / 1.384 GB, free: 51.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/2.004, allocations: 4 kB / 1.384 GB, free: 51.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/2.004, allocations: 27.92 kB / 1.384 GB, free: 51.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/2.004, allocations: 19.97 kB / 1.384 GB, free: 51.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/2.004, allocations: 11.94 kB / 1.384 GB, free: 51.77 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.882e-05/2.004, allocations: 108.8 kB / 1.384 GB, free: 51.66 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/2.004, allocations: 0 / 1.384 GB, free: 51.66 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006382/2.01, allocations: 1.655 MB / 1.386 GB, free: 50.01 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01117/2.022, allocations: 2.437 MB / 1.388 GB, free: 47.57 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005217/2.022, allocations: 318.5 kB / 1.389 GB, free: 47.26 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/2.022, allocations: 4 kB / 1.389 GB, free: 47.26 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/2.022, allocations: 240.5 kB / 1.389 GB, free: 47.02 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/2.023, allocations: 65.28 kB / 1.389 GB, free: 46.96 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008854/2.024, allocations: 0.7889 MB / 1.39 GB, free: 46.14 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/2.024, allocations: 0.7664 MB / 1.39 GB, free: 45.35 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000458/2.024, allocations: 397 kB / 1.391 GB, free: 44.96 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/2.025, allocations: 51.41 kB / 1.391 GB, free: 44.91 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/2.025, allocations: 0 / 1.391 GB, free: 44.91 MB / 0.6823 GB Notification: Performance of Templates: time 0.3923/2.417, allocations: 47.53 MB / 1.437 GB, free: 179.8 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.makefile (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)