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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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.7804/0.7804, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 183.2 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 221.3 MB / 441.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 96.8 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001958/0.001958, allocations: 275 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.489e-05/4.491e-05, allocations: 8 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5005/0.5005, allocations: 82.75 MB / 0.7642 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9547/1.455, allocations: 420.3 MB / 1.175 GB, free: 4.168 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/1.456, allocations: 75.91 kB / 1.175 GB, free: 4.133 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.958/2.414, allocations: 195.8 MB / 1.366 GB, free: 97.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.483e-06/2.414, allocations: 0 / 1.366 GB, free: 97.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.504e-05/2.414, allocations: 4 kB / 1.366 GB, free: 97.12 MB / 0.698 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.0069/2.421, allocations: 1.216 MB / 1.367 GB, free: 95.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/2.421, allocations: 8.031 kB / 1.367 GB, free: 95.85 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/2.422, allocations: 87.73 kB / 1.367 GB, free: 95.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/2.422, allocations: 226.8 kB / 1.367 GB, free: 95.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/2.422, allocations: 15.94 kB / 1.367 GB, free: 95.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/2.422, allocations: 16 kB / 1.368 GB, free: 95.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/2.423, allocations: 448.3 kB / 1.368 GB, free: 95.01 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/2.423, allocations: 0 / 1.368 GB, free: 95.01 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/2.423, allocations: 8 kB / 1.368 GB, free: 95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/2.423, allocations: 4 kB / 1.368 GB, free: 95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00099/2.424, allocations: 0.5893 MB / 1.369 GB, free: 94.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000893/2.425, allocations: 0.9061 MB / 1.369 GB, free: 93.42 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006807/2.426, allocations: 250.3 kB / 1.37 GB, free: 93.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.888e-05/2.426, allocations: 80.78 kB / 1.37 GB, free: 93.08 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07316/2.499, allocations: 34.75 MB / 1.404 GB, free: 55.24 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/2.499, allocations: 42.55 kB / 1.404 GB, free: 55.19 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 2.645e-06/2.499, allocations: 7.922 kB / 1.404 GB, free: 55.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.001448/2.501, allocations: 376.8 kB / 1.404 GB, free: 54.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/2.501, allocations: 59.36 kB / 1.404 GB, free: 54.74 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/2.501, allocations: 122.4 kB / 1.404 GB, free: 54.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/2.501, allocations: 29.7 kB / 1.404 GB, free: 54.58 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/2.501, allocations: 108.4 kB / 1.404 GB, free: 54.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.423e-05/2.501, allocations: 90.73 kB / 1.404 GB, free: 54.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/2.501, allocations: 4 kB / 1.404 GB, free: 54.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.596e-05/2.501, allocations: 322.8 kB / 1.405 GB, free: 54.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/2.501, allocations: 79.97 kB / 1.405 GB, free: 53.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/2.501, allocations: 122.6 kB / 1.405 GB, free: 53.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/2.502, allocations: 87.89 kB / 1.405 GB, free: 53.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/2.502, allocations: 4 kB / 1.405 GB, free: 53.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005617/2.502, allocations: 285.4 kB / 1.405 GB, free: 53.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/2.502, allocations: 5.094 kB / 1.405 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/2.502, allocations: 4 kB / 1.405 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/2.502, allocations: 7.984 kB / 1.405 GB, free: 53.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/2.502, allocations: 79.88 kB / 1.405 GB, free: 53.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/2.502, allocations: 4 kB / 1.405 GB, free: 53.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/2.503, allocations: 27.7 kB / 1.405 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/2.503, allocations: 32.12 kB / 1.405 GB, free: 53.31 MB / 0.698 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 () * 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 8.412e-05/2.503, allocations: 122.6 kB / 1.406 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/2.503, allocations: 11.91 kB / 1.406 GB, free: 53.17 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007597/2.504, allocations: 0.4931 MB / 1.406 GB, free: 52.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/2.504, allocations: 8 kB / 1.406 GB, free: 52.67 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/2.504, allocations: 0 / 1.406 GB, free: 52.67 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/2.504, allocations: 3.938 kB / 1.406 GB, free: 52.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009746/2.505, allocations: 0.8202 MB / 1.407 GB, free: 51.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/2.505, allocations: 0 / 1.407 GB, free: 51.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/2.505, allocations: 75.81 kB / 1.407 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/2.505, allocations: 0 / 1.407 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/2.505, allocations: 23.94 kB / 1.407 GB, free: 51.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/2.505, allocations: 4 kB / 1.407 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/2.505, allocations: 4 kB / 1.407 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005764/2.506, allocations: 435.7 kB / 1.407 GB, free: 51.24 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.934e-05/2.506, allocations: 128.7 kB / 1.408 GB, free: 51.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/2.506, allocations: 4 kB / 1.408 GB, free: 51.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/2.506, allocations: 23.94 kB / 1.408 GB, free: 51.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/2.506, allocations: 27.97 kB / 1.408 GB, free: 51.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/2.506, allocations: 23.97 kB / 1.408 GB, free: 51.02 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.221e-05/2.506, allocations: 112.6 kB / 1.408 GB, free: 50.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/2.506, allocations: 0 / 1.408 GB, free: 50.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007514/2.514, allocations: 1.662 MB / 1.409 GB, free: 49.24 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.01373/2.528, allocations: 2.44 MB / 1.412 GB, free: 46.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000575/2.528, allocations: 251.8 kB / 1.412 GB, free: 46.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/2.528, allocations: 320 / 1.412 GB, free: 46.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/2.528, allocations: 171.8 kB / 1.412 GB, free: 46.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004861/2.529, allocations: 63.86 kB / 1.412 GB, free: 46.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/2.529, allocations: 298.3 kB / 1.412 GB, free: 46 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/2.53, allocations: 0.7301 MB / 1.413 GB, free: 45.24 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001018/2.531, allocations: 1.222 MB / 1.414 GB, free: 44.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/2.531, allocations: 55.39 kB / 1.414 GB, free: 43.96 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/2.531, allocations: 3.938 kB / 1.414 GB, free: 43.96 MB / 0.698 GB Notification: Performance of Templates: time 0.6425/3.173, allocations: 46.16 MB / 1.46 GB, free: 178.1 MB / 0.698 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)