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.001109/0.001109, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001102/0.001102, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.258/1.258, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002043/0.002043, allocations: 298 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9123/0.9123, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 95.86 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4233, allocations: 86.97 MB / 0.7671 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1397/0.563, allocations: 136.1 MB / 0.9 GB, free: 11.21 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02513/0.5881, allocations: 22.35 MB / 0.9218 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.5883, allocations: 0 / 0.9218 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.5886, allocations: 43.69 kB / 0.9219 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.589, allocations: 95.34 kB / 0.922 GB, free: 4.652 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01709/0.6061, allocations: 6.67 MB / 0.9285 GB, free: 14 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0004151/0.6065, allocations: 251.9 kB / 0.9287 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 5.275e-05/0.6066, allocations: 13.56 kB / 0.9287 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003407/0.6069, allocations: 143.4 kB / 0.9289 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.6071, allocations: 87.66 kB / 0.9289 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.6072, allocations: 8 kB / 0.929 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02074/0.6279, allocations: 10.96 MB / 0.9397 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.6281, allocations: 35.89 kB / 0.9397 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.6282, allocations: 87.64 kB / 0.9398 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01408/0.6423, allocations: 6.152 MB / 0.9458 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.6424, allocations: 4 kB / 0.9458 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6424, allocations: 0 / 0.9458 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.6424, allocations: 0 / 0.9458 GB, free: 12.24 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.003529/0.6459, allocations: 1.189 MB / 0.9469 GB, free: 11 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.646, allocations: 8.031 kB / 0.947 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.6472, allocations: 84.66 kB / 0.947 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.6476, allocations: 236 kB / 0.9473 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.6476, allocations: 16.12 kB / 0.9473 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.6476, allocations: 20 kB / 0.9473 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.6488, allocations: 453.6 kB / 0.9477 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.6488, allocations: 0 / 0.9477 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.6488, allocations: 12 kB / 0.9477 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.6489, allocations: 4 kB / 0.9477 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.65, allocations: 0.597 MB / 0.9483 GB, free: 9.531 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.6512, allocations: 0.8783 MB / 0.9492 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008147/0.652, allocations: 257.1 kB / 0.9494 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.6521, allocations: 80.81 kB / 0.9495 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4273/1.079, allocations: 35.41 MB / 0.9841 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/1.079, allocations: 38.56 kB / 0.9841 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/1.079, allocations: 0 / 0.9841 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.001496/1.081, allocations: 420.2 kB / 0.9845 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.994e-05/1.081, allocations: 59.41 kB / 0.9846 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.377e-05/1.081, allocations: 145.2 kB / 0.9847 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/1.081, allocations: 33.7 kB / 0.9847 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/1.081, allocations: 104.9 kB / 0.9848 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/1.081, allocations: 88.94 kB / 0.9849 GB, free: 164.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.012e-05/1.081, allocations: 81.66 kB / 0.985 GB, free: 164.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.139e-05/1.081, allocations: 322.8 kB / 0.9853 GB, free: 164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/1.081, allocations: 75.95 kB / 0.9854 GB, free: 163.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/1.082, allocations: 125.6 kB / 0.9855 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/1.082, allocations: 227.2 kB / 0.9857 GB, free: 163.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.082, allocations: 0 / 0.9857 GB, free: 163.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005764/1.083, allocations: 293.3 kB / 0.986 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/1.083, allocations: 14.83 kB / 0.986 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/1.083, allocations: 7.391 kB / 0.986 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/1.083, allocations: 0 / 0.986 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/1.083, allocations: 87.88 kB / 0.9861 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/1.083, allocations: 3.938 kB / 0.9861 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/1.083, allocations: 23.78 kB / 0.9861 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/1.083, allocations: 19.98 kB / 0.9862 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.738e-05/1.083, allocations: 133.1 kB / 0.9863 GB, free: 163 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/1.083, allocations: 19.8 kB / 0.9863 GB, free: 163 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/1.085, allocations: 2.337 MB / 0.9886 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/1.085, allocations: 11.05 kB / 0.9886 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.085, allocations: 7.922 kB / 0.9886 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.085, allocations: 0 / 0.9886 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/1.087, allocations: 3.429 MB / 0.992 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/1.087, allocations: 3.844 kB / 0.992 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/1.087, allocations: 47.95 kB / 0.992 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/1.087, allocations: 7.938 kB / 0.992 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/1.087, allocations: 15.98 kB / 0.992 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.087, allocations: 0 / 0.992 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.087, allocations: 0 / 0.992 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005697/1.088, allocations: 0.5427 MB / 0.9926 GB, free: 156.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.87e-05/1.088, allocations: 144.5 kB / 0.9927 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/1.088, allocations: 4 kB / 0.9927 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/1.088, allocations: 15.98 kB / 0.9927 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/1.088, allocations: 15.98 kB / 0.9927 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/1.088, allocations: 15.98 kB / 0.9927 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.49e-05/1.088, allocations: 103.3 kB / 0.9928 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.088, allocations: 0 / 0.9928 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003459/1.092, allocations: 1.631 MB / 0.9944 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.005721/1.098, allocations: 1.897 MB / 0.9963 GB, free: 153 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005195/1.098, allocations: 320.4 kB / 0.9966 GB, free: 152.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.098, allocations: 0 / 0.9966 GB, free: 152.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002323/1.098, allocations: 248.2 kB / 0.9968 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.0004922/1.099, allocations: 66.3 kB / 0.9969 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007977/1.1, allocations: 0.6503 MB / 0.9975 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/1.1, allocations: 0.7661 MB / 0.9983 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/1.1, allocations: 51.41 kB / 0.9983 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of SimCode: time 9.12e-07/1.1, allocations: 0 / 0.9983 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.03185/1.132, allocations: 31.42 MB / 1.029 GB, free: 119.4 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)