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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.002/2.002, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001363/0.001363, allocations: 177.3 kB / 487 MB, free: 5.371 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.434/1.434, allocations: 221.3 MB / 0.7819 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 94.19 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.069e-05/1.093e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2616, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.317/4.579, allocations: 2.241 GB / 3.446 GB, free: 57.08 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/4.579, allocations: 91.95 kB / 3.446 GB, free: 56.99 MB / 1.151 GB Notification: Performance of FrontEnd: time 8.695/13.27, allocations: 2.354 GB / 5.8 GB, free: 120.5 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.001382/13.28, allocations: 178.9 kB / 5.801 GB, free: 120.5 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.02387/13.3, allocations: 6.29 MB / 5.807 GB, free: 117.8 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/13.3, allocations: 10.7 kB / 5.807 GB, free: 117.8 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01537/13.31, allocations: 2.057 MB / 5.809 GB, free: 117.4 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02911/13.34, allocations: 7.906 MB / 5.816 GB, free: 116.4 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001001/13.35, allocations: 231.1 kB / 5.817 GB, free: 116.3 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004/13.35, allocations: 279.6 kB / 5.817 GB, free: 116.3 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01478/13.36, allocations: 4.871 MB / 5.822 GB, free: 116.3 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0197/13.38, allocations: 5.072 MB / 5.827 GB, free: 115.6 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000395/13.38, allocations: 11.69 kB / 5.827 GB, free: 115.6 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002398/13.39, allocations: 13.69 kB / 5.827 GB, free: 115.6 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002685/13.39, allocations: 185.4 kB / 5.827 GB, free: 115.6 MB / 1.214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05656/13.44, allocations: 24.06 MB / 5.85 GB, free: 106.1 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008034/13.45, allocations: 3.553 MB / 5.854 GB, free: 106.1 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003789/13.46, allocations: 1.843 MB / 5.856 GB, free: 106 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02209/13.48, allocations: 8.456 MB / 5.864 GB, free: 102.7 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004363/13.48, allocations: 2.057 MB / 5.866 GB, free: 102.6 MB / 1.214 GB Notification: Performance of pre-optimization done (n=322): time 1.06e-05/13.48, allocations: 2.469 kB / 5.866 GB, free: 102.6 MB / 1.214 GB Notification: Performance of matching and sorting (n=325): time 0.03984/13.52, allocations: 9.785 MB / 5.875 GB, free: 100.9 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/13.52, allocations: 377.9 kB / 5.876 GB, free: 100.4 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01171/13.53, allocations: 3.93 MB / 5.88 GB, free: 100.1 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001527/13.54, allocations: 37.73 kB / 5.88 GB, free: 100.1 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.003309/13.54, allocations: 1.757 MB / 5.881 GB, free: 99.18 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.002643/13.54, allocations: 1.052 MB / 5.882 GB, free: 98.49 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001093/13.54, allocations: 0 / 5.882 GB, free: 98.49 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0004402/13.54, allocations: 456.2 kB / 5.883 GB, free: 98.18 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003706/13.55, allocations: 1.557 MB / 5.884 GB, free: 98.17 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004445/13.55, allocations: 2.581 MB / 5.887 GB, free: 97.02 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006829/13.56, allocations: 2.163 MB / 5.889 GB, free: 96.97 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.457e-05/13.56, allocations: 10.69 kB / 5.889 GB, free: 96.96 MB / 1.214 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.01886/13.58, allocations: 5.293 MB / 5.894 GB, free: 96.53 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.002918/13.58, allocations: 11.35 MB / 5.905 GB, free: 84.57 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/13.58, allocations: 22.5 kB / 5.905 GB, free: 84.57 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002983/13.58, allocations: 0.8375 MB / 5.906 GB, free: 84.52 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005457/13.59, allocations: 0.9112 MB / 5.907 GB, free: 84.52 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007338/13.6, allocations: 6.218 MB / 5.913 GB, free: 79.94 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01035/13.61, allocations: 427.6 kB / 5.913 GB, free: 79.9 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002436/13.61, allocations: 207.9 kB / 5.914 GB, free: 79.9 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/13.61, allocations: 5.562 kB / 5.914 GB, free: 79.9 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01802/13.63, allocations: 4.548 MB / 5.918 GB, free: 79.76 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001291/13.63, allocations: 27.16 kB / 5.918 GB, free: 79.76 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002849/13.63, allocations: 0.8428 MB / 5.919 GB, free: 79.71 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005143/13.64, allocations: 0.8842 MB / 5.92 GB, free: 79.71 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00733/13.64, allocations: 6.23 MB / 5.926 GB, free: 75.12 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008188/13.65, allocations: 395 kB / 5.926 GB, free: 75.09 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001535/13.65, allocations: 197.4 kB / 5.926 GB, free: 75.09 MB / 1.214 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumHeaPum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumHeaPumSou.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 () * 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,5 6,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002847/13.66, allocations: 233.1 kB / 5.927 GB, free: 74.96 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003097/13.66, allocations: 0.5231 MB / 5.927 GB, free: 74.69 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02525/13.68, allocations: 5.745 MB / 5.933 GB, free: 74.37 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.914e-05/13.68, allocations: 39.61 kB / 5.933 GB, free: 74.37 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-05/13.68, allocations: 2 kB / 5.933 GB, free: 74.37 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01677/13.7, allocations: 4.396 MB / 5.937 GB, free: 74.04 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03369/13.73, allocations: 9.918 MB / 5.947 GB, free: 73.35 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-05/13.73, allocations: 8.031 kB / 5.947 GB, free: 73.35 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004075/13.74, allocations: 0.653 MB / 5.947 GB, free: 73.35 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002934/13.74, allocations: 0.8844 MB / 5.948 GB, free: 73.27 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007286/13.74, allocations: 77.47 kB / 5.948 GB, free: 73.27 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01044/13.75, allocations: 12.22 MB / 5.96 GB, free: 63.24 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/13.75, allocations: 5.625 kB / 5.96 GB, free: 63.24 MB / 1.214 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02059/13.77, allocations: 7.202 MB / 5.967 GB, free: 62.29 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005646/13.78, allocations: 1.174 MB / 5.969 GB, free: 61.92 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003043/13.78, allocations: 20.72 kB / 5.969 GB, free: 61.91 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007442/13.79, allocations: 379.7 kB / 5.969 GB, free: 61.9 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009873/13.79, allocations: 250.4 kB / 5.969 GB, free: 61.89 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001061/13.79, allocations: 163.6 kB / 5.969 GB, free: 61.89 MB / 1.214 GB Notification: Performance of sort global known variables: time 0.009099/13.8, allocations: 2.943 MB / 5.972 GB, free: 61.71 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.02055/13.82, allocations: 2.963 MB / 5.975 GB, free: 61.52 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m,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) * 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%) 4,(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 {2 19,1 4,1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01068/13.83, allocations: 3.856 MB / 5.979 GB, free: 60.35 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.01839/13.85, allocations: 6.891 MB / 5.986 GB, free: 59.83 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 2.076e-05/13.85, allocations: 6.469 kB / 5.986 GB, free: 59.83 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.005977/13.86, allocations: 2.749 MB / 5.988 GB, free: 59.11 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01897/13.88, allocations: 2.316 MB / 5.991 GB, free: 59.04 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04125/13.92, allocations: 9.675 MB / 6 GB, free: 56.91 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01307/13.93, allocations: 4.196 MB / 6.004 GB, free: 56 MB / 1.214 GB Notification: Performance of SimCode: time 2.375e-06/13.93, allocations: 0 / 6.004 GB, free: 56 MB / 1.214 GB Notification: Performance of Templates: time 0.3334/14.26, allocations: 150.4 MB / 6.151 GB, free: 0.7422 MB / 1.229 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