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.8663/0.8663, allocations: 143.4 MB / 159.2 MB, free: 4.871 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 175.7 kB / 191.9 MB, free: 5.707 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.489/1.489, allocations: 222.9 MB / 447.3 MB, free: 5.828 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.001046/0.001046, allocations: 107.1 kB / 0.517 GB, free: 3.703 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001894/0.001894, allocations: 292.9 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 79.88 kB / 0.6885 GB, free: 3.844 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3891, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1521/0.5412, allocations: 134.1 MB / 0.8988 GB, free: 5.086 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.4374/0.9787, allocations: 24.62 MB / 0.9229 GB, free: 1.109 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002037/0.979, allocations: 3.312 kB / 0.9229 GB, free: 1.109 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.9794, allocations: 42.67 kB / 0.9229 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.9797, allocations: 84.25 kB / 0.923 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02095/1.001, allocations: 5.287 MB / 0.9282 GB, free: 0.9414 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000516/1.001, allocations: 312.2 kB / 0.9285 GB, free: 0.9414 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.368e-05/1.001, allocations: 7.906 kB / 0.9285 GB, free: 0.9414 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003636/1.002, allocations: 146.1 kB / 0.9286 GB, free: 0.9336 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/1.002, allocations: 92.86 kB / 0.9287 GB, free: 0.9336 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/1.002, allocations: 7.094 kB / 0.9287 GB, free: 0.9336 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0248/1.027, allocations: 10.85 MB / 0.9393 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001286/1.027, allocations: 45.62 kB / 0.9393 GB, free: 0.8164 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002084/1.027, allocations: 76.55 kB / 0.9394 GB, free: 0.8164 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01969/1.047, allocations: 6.203 MB / 0.9455 GB, free: 15.84 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/1.047, allocations: 0 / 0.9455 GB, free: 15.84 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.685e-06/1.047, allocations: 1.203 kB / 0.9455 GB, free: 15.84 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.364e-06/1.047, allocations: 0 / 0.9455 GB, free: 15.84 MB / 0.573 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.004804/1.052, allocations: 1.181 MB / 0.9466 GB, free: 15.04 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/1.052, allocations: 10.12 kB / 0.9466 GB, free: 15.04 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/1.053, allocations: 91.03 kB / 0.9467 GB, free: 15 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/1.053, allocations: 229.1 kB / 0.9469 GB, free: 14.77 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/1.053, allocations: 12.19 kB / 0.9469 GB, free: 14.77 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/1.053, allocations: 19.03 kB / 0.947 GB, free: 14.77 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/1.054, allocations: 452 kB / 0.9474 GB, free: 14.61 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/1.054, allocations: 2.219 kB / 0.9474 GB, free: 14.61 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/1.054, allocations: 10.59 kB / 0.9474 GB, free: 14.61 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/1.054, allocations: 7.844 kB / 0.9474 GB, free: 14.61 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/1.055, allocations: 0.5961 MB / 0.948 GB, free: 14.46 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/1.056, allocations: 0.8722 MB / 0.9488 GB, free: 13.72 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007446/1.057, allocations: 265.4 kB / 0.9491 GB, free: 13.64 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/1.057, allocations: 71.17 kB / 0.9492 GB, free: 13.62 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08708/1.144, allocations: 35.04 MB / 0.9834 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/1.144, allocations: 37.06 kB / 0.9834 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 2.144e-06/1.144, allocations: 0 / 0.9834 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.001673/1.146, allocations: 422.8 kB / 0.9838 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/1.146, allocations: 55.41 kB / 0.9839 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/1.146, allocations: 139.1 kB / 0.984 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/1.146, allocations: 28.83 kB / 0.984 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.017e-05/1.146, allocations: 114.9 kB / 0.9841 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.734e-05/1.147, allocations: 84.42 kB / 0.9842 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/1.147, allocations: 76.61 kB / 0.9843 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.147, allocations: 330 kB / 0.9846 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/1.147, allocations: 89.69 kB / 0.9847 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/1.147, allocations: 133.3 kB / 0.9848 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/1.148, allocations: 218.4 kB / 0.985 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.148, allocations: 0 / 0.985 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006478/1.148, allocations: 299.1 kB / 0.9853 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/1.148, allocations: 4 kB / 0.9853 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/1.148, allocations: 4 kB / 0.9853 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/1.148, allocations: 3.938 kB / 0.9853 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/1.149, allocations: 81.41 kB / 0.9854 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/1.149, allocations: 8.109 kB / 0.9854 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/1.149, allocations: 23.44 kB / 0.9854 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/1.149, allocations: 26.97 kB / 0.9855 GB, free: 13.71 MB / 0.6042 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.0001121/1.149, allocations: 127.7 kB / 0.9856 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/1.149, allocations: 15.81 kB / 0.9856 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/1.151, allocations: 2.347 MB / 0.9879 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/1.151, allocations: 11.11 kB / 0.9879 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.151, allocations: 0 / 0.9879 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/1.151, allocations: 7.984 kB / 0.9879 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00309/1.154, allocations: 3.438 MB / 0.9913 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/1.154, allocations: 1.203 kB / 0.9913 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/1.155, allocations: 58.86 kB / 0.9913 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/1.155, allocations: 0 / 0.9913 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/1.155, allocations: 8 kB / 0.9913 GB, free: 8.812 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/1.155, allocations: 3.938 kB / 0.9913 GB, free: 8.809 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.155, allocations: 0 / 0.9913 GB, free: 8.809 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/1.156, allocations: 1.367 MB / 0.9927 GB, free: 7.379 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/1.156, allocations: 144.5 kB / 0.9928 GB, free: 7.219 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/1.156, allocations: 4 kB / 0.9928 GB, free: 7.215 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/1.157, allocations: 15.98 kB / 0.9928 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/1.157, allocations: 11.98 kB / 0.9928 GB, free: 7.188 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/1.157, allocations: 17.08 kB / 0.9929 GB, free: 7.172 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.943e-05/1.157, allocations: 108.7 kB / 0.993 GB, free: 7.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/1.157, allocations: 4 kB / 0.993 GB, free: 7.066 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.005449/1.162, allocations: 1.663 MB / 0.9946 GB, free: 5.402 MB / 0.6042 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.009406/1.172, allocations: 1.891 MB / 0.9964 GB, free: 3.656 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007746/1.172, allocations: 324.5 kB / 0.9967 GB, free: 3.348 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.172, allocations: 4 kB / 0.9968 GB, free: 3.344 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003054/1.173, allocations: 238.4 kB / 0.997 GB, free: 3.117 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006403/1.173, allocations: 72.12 kB / 0.997 GB, free: 3.047 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/1.175, allocations: 1.086 MB / 0.9981 GB, free: 1.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/1.175, allocations: 0.7856 MB / 0.9989 GB, free: 1.117 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005436/1.176, allocations: 405.9 kB / 0.9993 GB, free: 0.7266 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/1.176, allocations: 43.41 kB / 0.9993 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/1.176, allocations: 4 kB / 0.9993 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of Templates: time 0.07423/1.25, allocations: 57.23 MB / 1.055 GB, free: 7.461 MB / 0.6667 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)