Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.608/1.608, allocations: 289.7 MB / 302.3 MB, free: 2.109 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 183.5 kB / 371.6 MB, free: 3.43 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008376/0.0008375, allocations: 95.84 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.485e-05/5.499e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2643, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.357/7.621, allocations: 2.413 GB / 3.392 GB, free: 200 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/7.622, allocations: 95.41 kB / 3.392 GB, free: 199.9 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 10.42/18.04, allocations: 2.327 GB / 5.719 GB, free: 59.48 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.234e-06/18.04, allocations: 4 kB / 5.719 GB, free: 59.47 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001221/18.04, allocations: 173.5 kB / 5.719 GB, free: 59.43 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1169 * Number of variables: 1169 Notification: Performance of Generate backend data structure: time 0.02349/18.06, allocations: 6.174 MB / 5.725 GB, free: 56.49 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/18.06, allocations: 6.719 kB / 5.725 GB, free: 56.49 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01677/18.08, allocations: 2.304 MB / 5.728 GB, free: 56.02 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02866/18.11, allocations: 7.65 MB / 5.735 GB, free: 54.75 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008386/18.11, allocations: 403.7 kB / 5.736 GB, free: 54.7 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003008/18.11, allocations: 489.4 kB / 5.736 GB, free: 54.69 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/18.13, allocations: 5.642 MB / 5.741 GB, free: 53.95 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001263/18.13, allocations: 13.83 kB / 5.742 GB, free: 53.94 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007417/18.13, allocations: 197.8 kB / 5.742 GB, free: 53.94 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001613/18.13, allocations: 176.4 kB / 5.742 GB, free: 53.92 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01068/18.14, allocations: 5.003 MB / 5.747 GB, free: 52.54 MB / 1.01 GB Warning: The model contains alias variables with conflicting start and/or 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.05716/18.2, allocations: 23.8 MB / 5.77 GB, free: 37.51 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008638/18.21, allocations: 4.179 MB / 5.774 GB, free: 35.47 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003902/18.21, allocations: 1.745 MB / 5.776 GB, free: 34.77 MB / 1.01 GB Warning: The model contains alias variables with conflicting start and/or 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.02465/18.24, allocations: 8.725 MB / 5.784 GB, free: 29.09 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004528/18.24, allocations: 2.106 MB / 5.786 GB, free: 28.29 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004223/18.25, allocations: 0.4927 MB / 5.787 GB, free: 28.06 MB / 1.01 GB Notification: Performance of pre-optimization done (n=322): time 1.41e-05/18.25, allocations: 3.938 kB / 5.787 GB, free: 28.06 MB / 1.01 GB Notification: Performance of matching and sorting (n=326): time 0.02911/18.28, allocations: 9.046 MB / 5.796 GB, free: 21.09 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001872/18.28, allocations: 368.7 kB / 5.796 GB, free: 20.65 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01075/18.29, allocations: 4.399 MB / 5.8 GB, free: 16.75 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.00154/18.29, allocations: 113.7 kB / 5.8 GB, free: 16.63 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003182/18.29, allocations: 2.761 MB / 5.803 GB, free: 14.12 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001907/18.29, allocations: 1.096 MB / 5.804 GB, free: 13.1 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003093/18.29, allocations: 79.98 kB / 5.804 GB, free: 13.02 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002248/18.29, allocations: 459.1 kB / 5.805 GB, free: 12.61 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002358/18.3, allocations: 1.525 MB / 5.806 GB, free: 11.21 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00284/18.3, allocations: 2.566 MB / 5.809 GB, free: 8.395 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0027/18.3, allocations: 1.874 MB / 5.811 GB, free: 6.766 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/18.3, allocations: 8 kB / 5.811 GB, free: 6.758 MB / 1.01 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01224/18.31, allocations: 5.267 MB / 5.816 GB, free: 1.453 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.004521/18.32, allocations: 11.53 MB / 5.827 GB, free: 5.141 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.749e-05/18.32, allocations: 27.98 kB / 5.827 GB, free: 5.113 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004664/18.32, allocations: 1.056 MB / 5.828 GB, free: 4.059 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005093/18.33, allocations: 0.8853 MB / 5.829 GB, free: 3.172 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007038/18.34, allocations: 6.208 MB / 5.835 GB, free: 12.58 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00847/18.34, allocations: 482.9 kB / 5.835 GB, free: 12.11 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001432/18.35, allocations: 211.9 kB / 5.836 GB, free: 11.9 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/18.35, allocations: 4 kB / 5.836 GB, free: 11.9 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01234/18.36, allocations: 4.755 MB / 5.84 GB, free: 7.102 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.826e-05/18.36, allocations: 24.97 kB / 5.84 GB, free: 7.078 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004191/18.36, allocations: 1.07 MB / 5.841 GB, free: 6.008 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004735/18.37, allocations: 0.858 MB / 5.842 GB, free: 5.148 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019/19.39, allocations: 6.21 MB / 5.848 GB, free: 102.1 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007865/19.39, allocations: 465.2 kB / 5.849 GB, free: 102.1 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001373/19.39, allocations: 198 kB / 5.849 GB, free: 102.1 MB / 1.042 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (437): * Single equations (assignments): 429 * 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,3 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001473/19.4, allocations: 359.1 kB / 5.849 GB, free: 102 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002316/19.4, allocations: 0.5527 MB / 5.85 GB, free: 102 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02213/19.42, allocations: 5.595 MB / 5.855 GB, free: 101.7 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000165/19.42, allocations: 41.36 kB / 5.855 GB, free: 101.7 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.993e-05/19.42, allocations: 3.281 kB / 5.855 GB, free: 101.7 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01821/19.44, allocations: 4.348 MB / 5.859 GB, free: 101.4 MB / 1.042 GB Warning: The model contains alias variables with conflicting start and/or 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.03597/19.48, allocations: 10.89 MB / 5.87 GB, free: 100.6 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.062e-05/19.48, allocations: 0 / 5.87 GB, free: 100.6 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004094/19.48, allocations: 0.6395 MB / 5.871 GB, free: 100.6 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003335/19.48, allocations: 0.929 MB / 5.872 GB, free: 100.6 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001044/19.48, allocations: 117.7 kB / 5.872 GB, free: 100.6 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009045/19.49, allocations: 12.56 MB / 5.884 GB, free: 90.18 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/19.49, allocations: 6.281 kB / 5.884 GB, free: 90.18 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01766/19.51, allocations: 7.098 MB / 5.891 GB, free: 89.43 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006848/19.52, allocations: 1.206 MB / 5.892 GB, free: 89.24 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003302/19.52, allocations: 74.12 kB / 5.892 GB, free: 89.24 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008195/19.53, allocations: 426.4 kB / 5.893 GB, free: 89.23 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00119/19.53, allocations: 285.1 kB / 5.893 GB, free: 89.23 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000689/19.53, allocations: 162 kB / 5.893 GB, free: 89.23 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.008891/19.54, allocations: 3.377 MB / 5.896 GB, free: 89.02 MB / 1.042 GB Notification: Performance of sort global known variables: time 7.12e-07/19.54, allocations: 3.125 kB / 5.896 GB, free: 89.02 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.02099/19.56, allocations: 3.138 MB / 5.899 GB, free: 89.02 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.0106/19.57, allocations: 3.953 MB / 5.903 GB, free: 88 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.01977/19.59, allocations: 7.208 MB / 5.91 GB, free: 87.44 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-05/19.59, allocations: 3.25 kB / 5.91 GB, free: 87.44 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.006298/19.6, allocations: 2.864 MB / 5.913 GB, free: 86.64 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01771/19.62, allocations: 2.752 MB / 5.916 GB, free: 86.59 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03226/19.65, allocations: 9.506 MB / 5.925 GB, free: 84.51 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005342/19.65, allocations: 3.635 MB / 5.929 GB, free: 83.66 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.01592/19.67, allocations: 2.848 MB / 5.931 GB, free: 83.61 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002341/19.67, allocations: 406.1 kB / 5.932 GB, free: 83.61 MB / 1.042 GB Notification: Performance of SimCode: time 1.773e-06/19.67, allocations: 0 / 5.932 GB, free: 83.61 MB / 1.042 GB Notification: Performance of Templates: time 0.2845/19.96, allocations: 160.2 MB / 6.088 GB, free: 73.95 MB / 1.042 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)