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.00138/0.001381, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.00154/0.00154, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.279/1.279, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002125/0.002125, allocations: 277.7 kB / 291.5 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.9117/0.9117, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 91.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3577, allocations: 86.97 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1265/0.4842, allocations: 136.1 MB / 0.9 GB, free: 11.22 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02407/0.5083, allocations: 22.34 MB / 0.9218 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.5084, allocations: 0 / 0.9218 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.5086, allocations: 47.62 kB / 0.9219 GB, free: 4.758 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.5089, allocations: 95.41 kB / 0.922 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01398/0.5229, allocations: 6.677 MB / 0.9285 GB, free: 14 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.5232, allocations: 247.9 kB / 0.9287 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.865e-05/0.5233, allocations: 13.55 kB / 0.9287 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.5236, allocations: 139.5 kB / 0.9289 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.5237, allocations: 91.59 kB / 0.929 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.5237, allocations: 8 kB / 0.929 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01694/0.5407, allocations: 10.96 MB / 0.9397 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 6.244e-05/0.5408, allocations: 43.83 kB / 0.9397 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 8.786e-05/0.5409, allocations: 91.58 kB / 0.9398 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.008986/0.5499, allocations: 6.148 MB / 0.9458 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5499, allocations: 0 / 0.9458 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5499, allocations: 0 / 0.9458 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.5499, allocations: 0 / 0.9458 GB, free: 12.25 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.002782/0.5527, allocations: 1.184 MB / 0.9469 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.5527, allocations: 12.03 kB / 0.947 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.5538, allocations: 96.59 kB / 0.9471 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.5541, allocations: 224 kB / 0.9473 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.5542, allocations: 16.12 kB / 0.9473 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.5542, allocations: 15.94 kB / 0.9473 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.5553, allocations: 457.6 kB / 0.9477 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.5554, allocations: 0 / 0.9477 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.5554, allocations: 12 kB / 0.9477 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.5554, allocations: 8 kB / 0.9478 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.5566, allocations: 0.5931 MB / 0.9483 GB, free: 9.547 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009806/0.5576, allocations: 0.8822 MB / 0.9492 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007995/0.5584, allocations: 258.3 kB / 0.9494 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.5585, allocations: 76.77 kB / 0.9495 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3905/0.949, allocations: 35.42 MB / 0.9841 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.9491, allocations: 30.56 kB / 0.9841 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 1.794e-06/0.9491, allocations: 0 / 0.9841 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.001552/0.9506, allocations: 419.6 kB / 0.9845 GB, free: 164.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.325e-05/0.9507, allocations: 55.41 kB / 0.9846 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.55e-05/0.9508, allocations: 148.1 kB / 0.9847 GB, free: 164.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.9508, allocations: 33.7 kB / 0.9848 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.9508, allocations: 108.1 kB / 0.9849 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.9509, allocations: 84.88 kB / 0.9849 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.203e-05/0.951, allocations: 81.66 kB / 0.985 GB, free: 164.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.828e-05/0.951, allocations: 326.6 kB / 0.9853 GB, free: 164.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.9512, allocations: 75.95 kB / 0.9854 GB, free: 164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.9514, allocations: 129.6 kB / 0.9855 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.9517, allocations: 225 kB / 0.9857 GB, free: 163.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9517, allocations: 0 / 0.9857 GB, free: 163.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006176/0.9523, allocations: 304.9 kB / 0.986 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.9524, allocations: 4 kB / 0.986 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.9524, allocations: 4 kB / 0.986 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.9524, allocations: 3.5 kB / 0.986 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.9527, allocations: 87.88 kB / 0.9861 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.9527, allocations: 0 / 0.9861 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.9528, allocations: 31.38 kB / 0.9862 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.9529, allocations: 20.14 kB / 0.9862 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.808e-05/0.953, allocations: 129.8 kB / 0.9863 GB, free: 163 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.9531, allocations: 19.8 kB / 0.9863 GB, free: 163 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.9548, allocations: 2.33 MB / 0.9886 GB, free: 160.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.9548, allocations: 3.984 kB / 0.9886 GB, free: 160.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.9548, allocations: 0 / 0.9886 GB, free: 160.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.409e-05/0.9549, allocations: 144.4 kB / 0.9887 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/0.9549, allocations: 4 kB / 0.9887 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.9552, allocations: 35.95 kB / 0.9888 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.9552, allocations: 11.98 kB / 0.9888 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005876/0.9558, allocations: 0.5443 MB / 0.9893 GB, free: 159.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005912/0.9564, allocations: 0.6204 MB / 0.9899 GB, free: 159.3 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001995/0.9566, allocations: 228.3 kB / 0.9901 GB, free: 159.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.249e-05/0.9567, allocations: 103.3 kB / 0.9902 GB, free: 159 MB / 0.7169 GB Notification: Performance of Backend: time 5.81e-07/0.9567, allocations: 0 / 0.9902 GB, free: 159 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007519/0.9642, allocations: 2.222 MB / 0.9924 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of SimCode: time 0.0006904/0.9649, allocations: 0.9303 MB / 0.9933 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.05597/1.021, allocations: 60.86 MB / 1.053 GB, free: 95.3 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)