Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.803/1.803, allocations: 288.3 MB / 303.2 MB, free: 8.078 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.00148/0.00148, allocations: 186.1 kB / 371.8 MB, free: 10.27 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.486/1.486, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009995/0.0009994, allocations: 99.47 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004145, allocations: 15.72 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2312, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.536/5.768, allocations: 2.412 GB / 3.391 GB, free: 211.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/5.768, allocations: 103.9 kB / 3.391 GB, free: 211.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.814/14.58, allocations: 2.333 GB / 5.725 GB, free: 82.84 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.994e-06/14.58, allocations: 0 / 5.725 GB, free: 82.84 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.00131/14.58, allocations: 173.1 kB / 5.725 GB, free: 82.8 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.0291/14.61, allocations: 7.577 MB / 5.732 GB, free: 79.32 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/14.61, allocations: 9.938 kB / 5.732 GB, free: 79.32 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01673/14.63, allocations: 2.31 MB / 5.734 GB, free: 78.84 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02497/14.65, allocations: 7.714 MB / 5.742 GB, free: 75.7 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005594/14.66, allocations: 407.4 kB / 5.742 GB, free: 75.49 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002231/14.66, allocations: 485.5 kB / 5.743 GB, free: 75.33 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01624/14.67, allocations: 5.908 MB / 5.749 GB, free: 71.57 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/14.67, allocations: 14.84 kB / 5.749 GB, free: 71.57 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007233/14.67, allocations: 198.6 kB / 5.749 GB, free: 71.42 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/14.67, allocations: 179.7 kB / 5.749 GB, free: 71.39 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01474/14.69, allocations: 5.472 MB / 5.754 GB, free: 66.54 MB / 1.01 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.05441/14.74, allocations: 23.79 MB / 5.778 GB, free: 41.77 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/14.76, allocations: 4.596 MB / 5.782 GB, free: 37.13 MB / 1.01 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.0233/14.78, allocations: 8.694 MB / 5.791 GB, free: 27.85 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00647/14.79, allocations: 2.317 MB / 5.793 GB, free: 25.49 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004614/14.79, allocations: 0.4967 MB / 5.793 GB, free: 24.99 MB / 1.01 GB Notification: Performance of pre-optimization done (n=322): time 1.854e-05/14.79, allocations: 7.875 kB / 5.793 GB, free: 24.98 MB / 1.01 GB Notification: Performance of matching and sorting (n=326): time 0.06659/14.86, allocations: 14.15 MB / 5.807 GB, free: 10.47 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002684/14.86, allocations: 372.7 kB / 5.807 GB, free: 10.03 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01514/14.87, allocations: 4.462 MB / 5.812 GB, free: 5.594 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.00187/14.87, allocations: 109.7 kB / 5.812 GB, free: 5.48 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.005166/14.88, allocations: 2.763 MB / 5.815 GB, free: 2.691 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002548/14.88, allocations: 1.09 MB / 5.816 GB, free: 1.586 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001032/14.88, allocations: 79.98 kB / 5.816 GB, free: 1.508 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000386/14.88, allocations: 458 kB / 5.816 GB, free: 1.055 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00575/14.89, allocations: 1.745 MB / 5.818 GB, free: 15.31 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007064/14.9, allocations: 2.809 MB / 5.821 GB, free: 12.07 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00654/14.9, allocations: 2.081 MB / 5.823 GB, free: 9.973 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.7e-05/14.9, allocations: 12 kB / 5.823 GB, free: 9.961 MB / 1.026 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.02348/14.93, allocations: 5.793 MB / 5.828 GB, free: 4.113 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.004759/14.93, allocations: 11.53 MB / 5.84 GB, free: 7.801 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.237e-05/14.93, allocations: 20 kB / 5.84 GB, free: 7.781 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005743/14.94, allocations: 1.162 MB / 5.841 GB, free: 6.621 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005394/14.94, allocations: 0.8853 MB / 5.842 GB, free: 5.734 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8757/15.82, allocations: 6.444 MB / 5.848 GB, free: 121 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00911/15.83, allocations: 494.8 kB / 5.848 GB, free: 121 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002045/15.83, allocations: 206.7 kB / 5.849 GB, free: 121 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/15.83, allocations: 6.281 kB / 5.849 GB, free: 121 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02089/15.85, allocations: 5.242 MB / 5.854 GB, free: 120.9 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001247/15.85, allocations: 24.09 kB / 5.854 GB, free: 120.9 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005686/15.86, allocations: 1.171 MB / 5.855 GB, free: 120.9 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005568/15.86, allocations: 0.86 MB / 5.856 GB, free: 120.9 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008337/15.87, allocations: 6.463 MB / 5.862 GB, free: 116.2 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008558/15.88, allocations: 467.7 kB / 5.862 GB, free: 116.2 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001631/15.88, allocations: 199.9 kB / 5.863 GB, free: 116.2 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 () * Number of clocked 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 {(2,100.0%) 4} * Non-linear torn systems: 5 {2 19,1 4,1 4,3 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.007368/15.89, allocations: 1.571 MB / 5.864 GB, free: 116 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003364/15.89, allocations: 0.5521 MB / 5.865 GB, free: 116 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03126/15.92, allocations: 6.057 MB / 5.871 GB, free: 115.7 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001938/15.92, allocations: 41.45 kB / 5.871 GB, free: 115.7 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.924e-05/15.92, allocations: 6.031 kB / 5.871 GB, free: 115.7 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02323/15.95, allocations: 4.832 MB / 5.875 GB, free: 115.4 MB / 1.042 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.0424/15.99, allocations: 10.86 MB / 5.886 GB, free: 114.6 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.353e-05/15.99, allocations: 8.422 kB / 5.886 GB, free: 114.6 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004382/15.99, allocations: 0.645 MB / 5.887 GB, free: 114.6 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004379/16, allocations: 0.9765 MB / 5.888 GB, free: 114.6 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001108/16, allocations: 115.7 kB / 5.888 GB, free: 114.6 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01497/16.01, allocations: 12.66 MB / 5.9 GB, free: 104.3 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/16.01, allocations: 7.109 kB / 5.9 GB, free: 104.3 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02889/16.04, allocations: 7.686 MB / 5.908 GB, free: 103.5 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006423/16.05, allocations: 1.2 MB / 5.909 GB, free: 103.4 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003305/16.05, allocations: 86.31 kB / 5.909 GB, free: 103.4 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007745/16.06, allocations: 424.5 kB / 5.909 GB, free: 103.4 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001399/16.06, allocations: 279 kB / 5.91 GB, free: 103.4 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00127/16.06, allocations: 166.8 kB / 5.91 GB, free: 103.4 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0104/16.07, allocations: 3.432 MB / 5.913 GB, free: 103.2 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.603e-06/16.07, allocations: 0 / 5.913 GB, free: 103.2 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.02095/16.1, allocations: 3.136 MB / 5.916 GB, free: 103.2 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (322): * Single equations (assignments): 297 * 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.01384/16.11, allocations: 4.032 MB / 5.92 GB, free: 102.2 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.02807/16.14, allocations: 7.74 MB / 5.928 GB, free: 101.6 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.082e-05/16.14, allocations: 4.969 kB / 5.928 GB, free: 101.6 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.008573/16.15, allocations: 3.08 MB / 5.931 GB, free: 100.8 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01674/16.16, allocations: 2.744 MB / 5.933 GB, free: 100.8 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03595/16.2, allocations: 13.89 MB / 5.947 GB, free: 95.39 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007651/16.21, allocations: 3.634 MB / 5.95 GB, free: 94.55 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0109/16.22, allocations: 1.981 MB / 5.952 GB, free: 94.5 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002571/16.22, allocations: 0.4984 MB / 5.953 GB, free: 94.5 MB / 1.042 GB Notification: Performance of SimCode: time 1.132e-06/16.22, allocations: 0.5625 kB / 5.953 GB, free: 94.5 MB / 1.042 GB Notification: Performance of Templates: time 0.243/16.46, allocations: 145.7 MB / 6.095 GB, free: 84.6 MB / 1.042 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)