Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|temSup.T|temRet.T",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|temSup.T|temRet.T",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.426/2.426, allocations: 390.3 MB / 405.3 MB, free: 13.37 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 185 kB / 498.1 MB, free: 5.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.614/1.614, allocations: 223.2 MB / 0.7948 GB, free: 17.96 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008866/0.0008866, allocations: 108.1 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000461/0.000461, allocations: 10.06 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.321, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.436/5.757, allocations: 2.241 GB / 3.464 GB, free: 187.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/5.757, allocations: 101.5 kB / 3.464 GB, free: 187.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 8.784/14.54, allocations: 2.358 GB / 5.823 GB, free: 81.02 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.745e-06/14.54, allocations: 0 / 5.823 GB, free: 81.02 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.001324/14.54, allocations: 178.2 kB / 5.823 GB, free: 80.97 MB / 1.214 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.02946/14.57, allocations: 7.659 MB / 5.831 GB, free: 75.77 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/14.57, allocations: 7.906 kB / 5.831 GB, free: 75.77 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01871/14.59, allocations: 2.498 MB / 5.833 GB, free: 73.29 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02662/14.62, allocations: 7.913 MB / 5.841 GB, free: 65.33 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005916/14.62, allocations: 399.8 kB / 5.841 GB, free: 64.93 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002208/14.62, allocations: 483.9 kB / 5.842 GB, free: 64.46 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01561/14.64, allocations: 5.986 MB / 5.847 GB, free: 58.23 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001208/14.64, allocations: 11.84 kB / 5.847 GB, free: 58.21 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007167/14.64, allocations: 196 kB / 5.848 GB, free: 58.02 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000158/14.64, allocations: 188.7 kB / 5.848 GB, free: 57.84 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01416/14.65, allocations: 5.569 MB / 5.853 GB, free: 52.25 MB / 1.214 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04719/14.7, allocations: 23.92 MB / 5.877 GB, free: 27.35 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009683/14.71, allocations: 4.685 MB / 5.881 GB, free: 22.61 MB / 1.214 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.0188/14.73, allocations: 8.73 MB / 5.89 GB, free: 13.29 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004805/14.73, allocations: 2.36 MB / 5.892 GB, free: 10.88 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003799/14.74, allocations: 0.5005 MB / 5.892 GB, free: 10.38 MB / 1.214 GB Notification: Performance of pre-optimization done (n=322): time 3.731e-05/14.74, allocations: 0 / 5.892 GB, free: 10.38 MB / 1.214 GB Notification: Performance of matching and sorting (n=325): time 0.05855/14.79, allocations: 14.29 MB / 5.906 GB, free: 11.73 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002514/14.79, allocations: 376.7 kB / 5.907 GB, free: 11.28 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009994/14.8, allocations: 4.524 MB / 5.911 GB, free: 6.742 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.001433/14.81, allocations: 105.7 kB / 5.911 GB, free: 6.633 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.00364/14.81, allocations: 2.764 MB / 5.914 GB, free: 3.844 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.002204/14.81, allocations: 1.094 MB / 5.915 GB, free: 2.734 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003335/14.81, allocations: 76 kB / 5.915 GB, free: 2.66 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0003264/14.81, allocations: 458 kB / 5.916 GB, free: 2.207 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004989/14.82, allocations: 1.784 MB / 5.917 GB, free: 432 kB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006039/14.82, allocations: 2.84 MB / 5.92 GB, free: 13.15 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005682/14.83, allocations: 2.111 MB / 5.922 GB, free: 11.03 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.554e-05/14.83, allocations: 8 kB / 5.922 GB, free: 11.02 MB / 1.245 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.01894/14.85, allocations: 5.801 MB / 5.928 GB, free: 5.168 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.9319/15.78, allocations: 11.58 MB / 5.939 GB, free: 122.9 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-05/15.78, allocations: 22.53 kB / 5.939 GB, free: 122.9 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005778/15.79, allocations: 1.163 MB / 5.94 GB, free: 122.8 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005577/15.79, allocations: 0.8964 MB / 5.941 GB, free: 122.8 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007976/15.8, allocations: 6.437 MB / 5.947 GB, free: 118.1 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008521/15.81, allocations: 0.5009 MB / 5.948 GB, free: 118.1 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001446/15.81, allocations: 205.7 kB / 5.948 GB, free: 118.1 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/15.81, allocations: 6.312 kB / 5.948 GB, free: 118.1 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01752/15.83, allocations: 5.256 MB / 5.953 GB, free: 118 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/15.83, allocations: 23.56 kB / 5.953 GB, free: 118 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005475/15.83, allocations: 1.183 MB / 5.954 GB, free: 117.9 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005335/15.84, allocations: 0.8832 MB / 5.955 GB, free: 117.9 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007849/15.85, allocations: 6.455 MB / 5.962 GB, free: 113.3 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008022/15.85, allocations: 486.1 kB / 5.962 GB, free: 113.3 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001369/15.86, allocations: 200.3 kB / 5.962 GB, free: 113.3 MB / 1.245 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition1,$PRE.timTab.nextTimeEvent,$whenCondition3,$whenCondition2,timTab.nextTimeEvent,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEventScaled,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y,$PRE.hysteresis.y,hysteresis.y,and1.y,and2.y,$PRE.tesConHea.y,tesConHea.y,$PRE.tesEvaPum.y,tesEvaPum.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 428 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 5 {2 19,1 4,1 4,4 7,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005518/15.86, allocations: 1.583 MB / 5.964 GB, free: 113.1 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002034/15.86, allocations: 0.5584 MB / 5.964 GB, free: 113.1 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02334/15.89, allocations: 6.289 MB / 5.971 GB, free: 112.8 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.858e-05/15.89, allocations: 33.56 kB / 5.971 GB, free: 112.8 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.339e-05/15.89, allocations: 4.391 kB / 5.971 GB, free: 112.8 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02008/15.91, allocations: 5.031 MB / 5.975 GB, free: 112.5 MB / 1.245 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03117/15.94, allocations: 10.96 MB / 5.986 GB, free: 111.7 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/15.94, allocations: 7.453 kB / 5.986 GB, free: 111.7 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003924/15.94, allocations: 0.6601 MB / 5.987 GB, free: 111.7 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003394/15.95, allocations: 0.9729 MB / 5.988 GB, free: 111.6 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008321/15.95, allocations: 115.5 kB / 5.988 GB, free: 111.6 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009626/15.96, allocations: 12.66 MB / 6 GB, free: 101.3 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/15.96, allocations: 3.375 kB / 6 GB, free: 101.3 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02459/15.98, allocations: 7.764 MB / 6.008 GB, free: 100.6 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005896/15.99, allocations: 1.215 MB / 6.009 GB, free: 100.4 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0024/15.99, allocations: 85.94 kB / 6.009 GB, free: 100.4 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006734/16, allocations: 433.5 kB / 6.01 GB, free: 100.4 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000803/16, allocations: 284.5 kB / 6.01 GB, free: 100.4 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000562/16, allocations: 166.4 kB / 6.01 GB, free: 100.4 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.00875/16.01, allocations: 3.478 MB / 6.013 GB, free: 100.2 MB / 1.245 GB Notification: Performance of sort global known variables: time 9.12e-07/16.01, allocations: 0 / 6.013 GB, free: 100.2 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.02613/16.03, allocations: 3.163 MB / 6.016 GB, free: 100.2 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,temRet.T,heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 17 ($whenCondition3,$whenCondition2,$whenCondition1,timTab.nextTimeEvent,timTab.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext,heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y,hysteresis.y,and1.y,and2.y,tesConHea.y,tesEvaPum.y) * Number of discrete states: 11 (timTab.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTimMin.tNext,heaPum.temPro.hysLow.y,hysteresis.y,heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysHig.y,tesConHea.y,tesEvaPum.y,heaPum.com.isOn,timTab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (321): * Single equations (assignments): 296 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 4 {1 4,1 4,1 3,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.01251/16.04, allocations: 4.07 MB / 6.02 GB, free: 99.29 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.02352/16.07, allocations: 7.776 MB / 6.028 GB, free: 98.74 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.946e-05/16.07, allocations: 3.781 kB / 6.028 GB, free: 98.74 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.007053/16.08, allocations: 3.099 MB / 6.031 GB, free: 97.94 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01534/16.09, allocations: 2.746 MB / 6.034 GB, free: 97.91 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03053/16.12, allocations: 14 MB / 6.047 GB, free: 92.49 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0047/16.13, allocations: 3.617 MB / 6.051 GB, free: 91.68 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.01112/16.14, allocations: 1.991 MB / 6.053 GB, free: 91.63 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002686/16.14, allocations: 0.506 MB / 6.053 GB, free: 91.63 MB / 1.245 GB Notification: Performance of SimCode: time 1.383e-06/16.14, allocations: 0 / 6.053 GB, free: 91.63 MB / 1.245 GB Notification: Performance of Templates: time 0.2426/16.38, allocations: 146 MB / 6.196 GB, free: 82.55 MB / 1.245 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Examples_ScrollWaterToWater_OneRoomRadiator.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches