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.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004893/0.004893, allocations: 100.2 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 193 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002085/0.002084, allocations: 287.6 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9402/0.9402, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 96.09 kB / 0.6815 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4106, allocations: 86.99 MB / 0.7664 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1363/0.547, allocations: 136.1 MB / 0.8993 GB, free: 11.25 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02622/0.5733, allocations: 22.35 MB / 0.9212 GB, free: 4.832 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.5735, allocations: 0 / 0.9212 GB, free: 4.832 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.5738, allocations: 51.61 kB / 0.9212 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.5741, allocations: 91.36 kB / 0.9213 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01452/0.5887, allocations: 6.677 MB / 0.9278 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0003664/0.5891, allocations: 251.9 kB / 0.9281 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.5891, allocations: 13.56 kB / 0.9281 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002769/0.5894, allocations: 139.4 kB / 0.9282 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.5896, allocations: 87.67 kB / 0.9283 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.5896, allocations: 8 kB / 0.9283 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01913/0.6087, allocations: 10.96 MB / 0.939 GB, free: 2.562 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 7.854e-05/0.6088, allocations: 35.84 kB / 0.939 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.6089, allocations: 83.66 kB / 0.9391 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0105/0.6195, allocations: 6.156 MB / 0.9451 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6195, allocations: 0 / 0.9451 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6195, allocations: 0 / 0.9451 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.6195, allocations: 0 / 0.9451 GB, free: 12.28 MB / 0.7169 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.002462/0.622, allocations: 1.185 MB / 0.9463 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.622, allocations: 8.031 kB / 0.9463 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.6231, allocations: 88.66 kB / 0.9464 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.6234, allocations: 232 kB / 0.9466 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.6234, allocations: 20.06 kB / 0.9466 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.6234, allocations: 16 kB / 0.9466 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.6245, allocations: 453.6 kB / 0.9471 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.6245, allocations: 4 kB / 0.9471 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.6246, allocations: 4 kB / 0.9471 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.6246, allocations: 7.984 kB / 0.9471 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.6257, allocations: 0.601 MB / 0.9477 GB, free: 9.57 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.6268, allocations: 0.8783 MB / 0.9485 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007648/0.6275, allocations: 250.3 kB / 0.9488 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.6277, allocations: 80.83 kB / 0.9488 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4078/1.036, allocations: 35.41 MB / 0.9834 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/1.036, allocations: 45.94 kB / 0.9835 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 1.793e-06/1.036, allocations: 0 / 0.9835 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.00154/1.037, allocations: 423.1 kB / 0.9839 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/1.037, allocations: 51.41 kB / 0.9839 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.289e-05/1.037, allocations: 147.5 kB / 0.9841 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/1.037, allocations: 29.7 kB / 0.9841 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/1.037, allocations: 110.4 kB / 0.9842 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/1.037, allocations: 92.8 kB / 0.9843 GB, free: 164.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.333e-05/1.037, allocations: 69.67 kB / 0.9843 GB, free: 164.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.283e-05/1.038, allocations: 330.7 kB / 0.9847 GB, free: 164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/1.038, allocations: 83.94 kB / 0.9847 GB, free: 163.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/1.038, allocations: 125.6 kB / 0.9849 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/1.038, allocations: 216.4 kB / 0.9851 GB, free: 163.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.038, allocations: 0 / 0.9851 GB, free: 163.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005908/1.039, allocations: 302.1 kB / 0.9853 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.039, allocations: 8.156 kB / 0.9854 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/1.039, allocations: 2.375 kB / 0.9854 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/1.039, allocations: 7.281 kB / 0.9854 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/1.039, allocations: 79.88 kB / 0.9854 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/1.039, allocations: 11.88 kB / 0.9855 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/1.039, allocations: 23.44 kB / 0.9855 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/1.039, allocations: 31.97 kB / 0.9855 GB, free: 163.1 MB / 0.7169 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 9.652e-05/1.039, allocations: 117.8 kB / 0.9856 GB, free: 163 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/1.04, allocations: 19.81 kB / 0.9856 GB, free: 163 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/1.041, allocations: 2.344 MB / 0.9879 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/1.041, allocations: 11.98 kB / 0.9879 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/1.041, allocations: 3.938 kB / 0.9879 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/1.041, allocations: 0 / 0.9879 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/1.044, allocations: 3.422 MB / 0.9913 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.044, allocations: 0 / 0.9913 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/1.044, allocations: 59.94 kB / 0.9913 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/1.044, allocations: 3.938 kB / 0.9913 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/1.044, allocations: 15.94 kB / 0.9914 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.044, allocations: 0 / 0.9914 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.044, allocations: 4 kB / 0.9914 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000585/1.044, allocations: 0.5423 MB / 0.9919 GB, free: 156.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.158e-05/1.045, allocations: 140.4 kB / 0.992 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/1.045, allocations: 8.875 kB / 0.992 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/1.045, allocations: 11.98 kB / 0.992 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/1.045, allocations: 23.97 kB / 0.9921 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/1.045, allocations: 16 kB / 0.9921 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.844e-05/1.045, allocations: 110.2 kB / 0.9922 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/1.045, allocations: 0 / 0.9922 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003496/1.048, allocations: 1.62 MB / 0.9938 GB, free: 154.7 MB / 0.7169 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.005876/1.054, allocations: 1.896 MB / 0.9956 GB, free: 153 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005092/1.055, allocations: 326.7 kB / 0.9959 GB, free: 152.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.055, allocations: 0 / 0.9959 GB, free: 152.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000223/1.055, allocations: 240.5 kB / 0.9962 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/1.056, allocations: 60.25 kB / 0.9962 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007738/1.056, allocations: 0.6325 MB / 0.9968 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/1.056, allocations: 0.7681 MB / 0.9976 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003797/1.057, allocations: 408.9 kB / 0.998 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/1.057, allocations: 47.41 kB / 0.998 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/1.057, allocations: 3.938 kB / 0.998 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.04865/1.106, allocations: 57.07 MB / 1.054 GB, free: 93.43 MB / 0.7169 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)