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.0009781/0.0009783, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008056/0.008056, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001728/0.001728, allocations: 267 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9254/0.9254, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005069/0.000507, allocations: 13.56 kB / 0.5986 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1633, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.4498/0.6132, allocations: 132.3 MB / 0.8143 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02661/0.6399, allocations: 24.26 MB / 0.838 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002586/0.6402, allocations: 0 / 0.838 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003119/0.6405, allocations: 39.78 kB / 0.838 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.6409, allocations: 89.19 kB / 0.8381 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01636/0.6572, allocations: 5.283 MB / 0.8433 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004663/0.6577, allocations: 305.7 kB / 0.8436 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.468e-05/0.6578, allocations: 11.33 kB / 0.8436 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000296/0.6581, allocations: 141.7 kB / 0.8437 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.6582, allocations: 90.5 kB / 0.8438 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.6583, allocations: 8.719 kB / 0.8438 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.019/0.6773, allocations: 10.84 MB / 0.8544 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.6774, allocations: 43.36 kB / 0.8544 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.6776, allocations: 105.4 kB / 0.8545 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01374/0.6913, allocations: 6.163 MB / 0.8605 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.6914, allocations: 0 / 0.8605 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6914, allocations: 0 / 0.8605 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.6914, allocations: 0 / 0.8605 GB, free: 11.2 MB / 0.5762 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.003208/0.6946, allocations: 1.139 MB / 0.8617 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.6946, allocations: 10.84 kB / 0.8617 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.6957, allocations: 94.61 kB / 0.8618 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.6959, allocations: 233.7 kB / 0.862 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.6959, allocations: 13.22 kB / 0.862 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.696, allocations: 19.69 kB / 0.862 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.697, allocations: 455.1 kB / 0.8624 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.697, allocations: 0 / 0.8624 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/0.6971, allocations: 12 kB / 0.8625 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.6971, allocations: 4 kB / 0.8625 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.6982, allocations: 0.5975 MB / 0.863 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.6994, allocations: 0.8846 MB / 0.8639 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008423/0.7002, allocations: 252.4 kB / 0.8641 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.7004, allocations: 76.83 kB / 0.8642 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08383/0.7842, allocations: 35.33 MB / 0.8987 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.7843, allocations: 34.56 kB / 0.8988 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.7843, allocations: 0 / 0.8988 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.001608/0.7859, allocations: 422.2 kB / 0.8992 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.786, allocations: 59.39 kB / 0.8992 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.7861, allocations: 139.8 kB / 0.8993 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.7861, allocations: 29.7 kB / 0.8994 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/0.7862, allocations: 116.4 kB / 0.8995 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.364e-05/0.7863, allocations: 82.77 kB / 0.8996 GB, free: 472 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.7863, allocations: 29.7 kB / 0.8996 GB, free: 436 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.66e-05/0.7864, allocations: 330.7 kB / 0.8999 GB, free: 96 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.7866, allocations: 83.94 kB / 0.9 GB, free: 12 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.7868, allocations: 126.3 kB / 0.9001 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003782/0.7872, allocations: 225 kB / 0.9003 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7872, allocations: 0 / 0.9003 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006376/0.7879, allocations: 304.8 kB / 0.9006 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.7879, allocations: 4 kB / 0.9006 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.7879, allocations: 4 kB / 0.9006 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.7879, allocations: 0 / 0.9006 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.7882, allocations: 87.88 kB / 0.9007 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.7882, allocations: 0 / 0.9007 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.7884, allocations: 19.84 kB / 0.9007 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.034e-05/0.7884, allocations: 27.91 kB / 0.9008 GB, free: 15.19 MB / 0.6231 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.0001218/0.7886, allocations: 126.4 kB / 0.9009 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.7887, allocations: 23.78 kB / 0.9009 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002203/0.7909, allocations: 2.346 MB / 0.9032 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.791, allocations: 7.984 kB / 0.9032 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.791, allocations: 0 / 0.9032 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.791, allocations: 7.938 kB / 0.9032 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003025/0.794, allocations: 3.43 MB / 0.9066 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.794, allocations: 0 / 0.9066 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.7943, allocations: 59.88 kB / 0.9066 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.7943, allocations: 4 kB / 0.9066 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.7943, allocations: 11.94 kB / 0.9066 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.7943, allocations: 2.125 kB / 0.9066 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7943, allocations: 0 / 0.9066 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006999/0.795, allocations: 0.5418 MB / 0.9072 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.7952, allocations: 140.6 kB / 0.9073 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.7952, allocations: 11.86 kB / 0.9073 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.7954, allocations: 20 kB / 0.9073 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.7955, allocations: 19.97 kB / 0.9073 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.7955, allocations: 15.98 kB / 0.9074 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.128e-05/0.7956, allocations: 109.4 kB / 0.9075 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7956, allocations: 0 / 0.9075 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003961/0.7996, allocations: 1.632 MB / 0.9091 GB, free: 6.527 MB / 0.6231 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.00661/0.8062, allocations: 1.888 MB / 0.9109 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005819/0.8068, allocations: 326 kB / 0.9112 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.8068, allocations: 320 / 0.9112 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002783/0.8071, allocations: 240.5 kB / 0.9114 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005518/0.8076, allocations: 67.88 kB / 0.9115 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.8087, allocations: 0.797 MB / 0.9123 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.809, allocations: 0.7622 MB / 0.913 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005193/0.8095, allocations: 409 kB / 0.9134 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.8096, allocations: 43.42 kB / 0.9135 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of SimCode: time 2e-07/0.8096, allocations: 0 / 0.9135 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of Templates: time 0.06818/0.8778, allocations: 57.01 MB / 0.9691 GB, free: 8.914 MB / 0.6856 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)