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.004808/0.004808, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001058/0.001058, allocations: 197.4 kB / 16.68 MB, free: 5.926 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.35/1.35, 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.002061/0.002061, allocations: 281 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9644/0.9644, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 91.84 kB / 0.6815 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4812/0.483, allocations: 86.98 MB / 0.7664 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1599/0.6429, allocations: 136.1 MB / 0.8993 GB, free: 11.26 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02486/0.6678, allocations: 22.35 MB / 0.9212 GB, free: 4.832 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.6681, allocations: 0 / 0.9212 GB, free: 4.832 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.6684, allocations: 47.67 kB / 0.9212 GB, free: 4.785 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0003533/0.6689, allocations: 91.36 kB / 0.9213 GB, free: 4.695 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01613/0.685, allocations: 6.68 MB / 0.9278 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0004009/0.6854, allocations: 251.9 kB / 0.9281 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.976e-05/0.6855, allocations: 9.562 kB / 0.9281 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.6858, allocations: 143.4 kB / 0.9282 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.6859, allocations: 91.66 kB / 0.9283 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.686, allocations: 8 kB / 0.9283 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0212/0.7072, allocations: 10.96 MB / 0.939 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.7073, allocations: 35.89 kB / 0.939 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.7075, allocations: 79.66 kB / 0.9391 GB, free: 2.453 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0177/0.7252, allocations: 6.156 MB / 0.9451 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.934e-06/0.7252, allocations: 0 / 0.9451 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.775e-06/0.7252, allocations: 0 / 0.9451 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.7252, allocations: 0 / 0.9451 GB, free: 12.29 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.003633/0.7289, allocations: 1.197 MB / 0.9463 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.7289, allocations: 15.97 kB / 0.9463 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.7301, allocations: 80.67 kB / 0.9464 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.7305, allocations: 228 kB / 0.9466 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.7305, allocations: 16.12 kB / 0.9466 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.7306, allocations: 16 kB / 0.9466 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.7317, allocations: 457.6 kB / 0.9471 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.7318, allocations: 3.938 kB / 0.9471 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.7318, allocations: 8 kB / 0.9471 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.7318, allocations: 4 kB / 0.9471 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.733, allocations: 0.5893 MB / 0.9477 GB, free: 9.582 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.7341, allocations: 0.8822 MB / 0.9485 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008254/0.7349, allocations: 254.2 kB / 0.9488 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.7351, allocations: 72.83 kB / 0.9488 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4609/1.196, allocations: 35.42 MB / 0.9834 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/1.196, allocations: 38.56 kB / 0.9835 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 2.685e-06/1.196, allocations: 4 kB / 0.9835 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.001624/1.198, allocations: 422.2 kB / 0.9839 GB, free: 164.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/1.198, allocations: 55.41 kB / 0.9839 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.741e-05/1.198, allocations: 143.2 kB / 0.984 GB, free: 164.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/1.198, allocations: 33.55 kB / 0.9841 GB, free: 164.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/1.198, allocations: 115 kB / 0.9842 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/1.198, allocations: 86.75 kB / 0.9843 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.433e-05/1.198, allocations: 73.67 kB / 0.9843 GB, free: 164.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.378e-05/1.198, allocations: 326.8 kB / 0.9847 GB, free: 164.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/1.198, allocations: 83.94 kB / 0.9847 GB, free: 164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/1.199, allocations: 125.6 kB / 0.9849 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/1.199, allocations: 222.7 kB / 0.9851 GB, free: 163.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.199, allocations: 0 / 0.9851 GB, free: 163.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006077/1.199, allocations: 302.7 kB / 0.9854 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/1.2, allocations: 7.609 kB / 0.9854 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.2, allocations: 4 kB / 0.9854 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.2, allocations: 0 / 0.9854 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/1.2, allocations: 84.03 kB / 0.9854 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/1.2, allocations: 10.05 kB / 0.9855 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/1.2, allocations: 19.84 kB / 0.9855 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/1.2, allocations: 23.98 kB / 0.9855 GB, free: 163.2 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.82e-05/1.2, allocations: 129.8 kB / 0.9856 GB, free: 163 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/1.2, allocations: 15.81 kB / 0.9856 GB, free: 163 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/1.202, allocations: 2.342 MB / 0.9879 GB, free: 160.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/1.202, allocations: 15.05 kB / 0.9879 GB, free: 160.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.202, allocations: 11.88 kB / 0.9879 GB, free: 160.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/1.202, allocations: 0 / 0.9879 GB, free: 160.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/1.204, allocations: 3.418 MB / 0.9913 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.204, allocations: 0 / 0.9913 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/1.205, allocations: 59.88 kB / 0.9913 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/1.205, allocations: 7.938 kB / 0.9914 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/1.205, allocations: 4 kB / 0.9914 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.205, allocations: 4 kB / 0.9914 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.229e-05/1.205, allocations: 0 / 0.9914 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006097/1.205, allocations: 0.5502 MB / 0.9919 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.053e-05/1.205, allocations: 144.4 kB / 0.992 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/1.205, allocations: 4 kB / 0.992 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/1.206, allocations: 15.98 kB / 0.9921 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/1.206, allocations: 19.97 kB / 0.9921 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/1.206, allocations: 12 kB / 0.9921 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.882e-05/1.206, allocations: 107.2 kB / 0.9922 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.206, allocations: 4 kB / 0.9922 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003756/1.209, allocations: 1.623 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.008024/1.217, allocations: 1.895 MB / 0.9956 GB, free: 153 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006795/1.218, allocations: 320.4 kB / 0.9959 GB, free: 152.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.218, allocations: 0 / 0.9959 GB, free: 152.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002808/1.218, allocations: 248.5 kB / 0.9962 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/1.219, allocations: 64.19 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.0009069/1.22, allocations: 0.6362 MB / 0.9969 GB, free: 151.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/1.22, allocations: 0.7622 MB / 0.9976 GB, free: 151 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004403/1.221, allocations: 401 kB / 0.998 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/1.221, allocations: 47.41 kB / 0.998 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of SimCode: time 8.32e-07/1.221, allocations: 4 kB / 0.998 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.05963/1.28, allocations: 57.16 MB / 1.054 GB, free: 93.38 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)