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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_ScrollWaterToWater_OneRoomRadiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_ScrollWaterToWater_OneRoomRadiator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.678/1.678, allocations: 285.4 MB / 298 MB, free: 5.98 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.001109/0.00111, allocations: 176.9 kB / 366.4 MB, free: 2.086 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.703/1.703, allocations: 205.1 MB / 0.6248 GB, free: 7.758 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.0008214/0.0008215, allocations: 87.17 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.448e-05/4.454e-05, allocations: 4 kB / 0.8584 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6587/0.6588, allocations: 115.3 MB / 0.971 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.367/7.026, allocations: 2.412 GB / 3.383 GB, free: 83.75 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/7.026, allocations: 91.95 kB / 3.383 GB, free: 83.66 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.93/17.96, allocations: 2.326 GB / 5.708 GB, free: 86.8 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.144e-06/17.96, allocations: 0.7812 kB / 5.708 GB, free: 86.8 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.001446/17.96, allocations: 178.1 kB / 5.709 GB, free: 86.77 MB / 1.026 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.02936/17.99, allocations: 6.178 MB / 5.715 GB, free: 84.25 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 7.394e-05/17.99, allocations: 10 kB / 5.715 GB, free: 84.25 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004431/18, allocations: 0.6069 MB / 5.715 GB, free: 84.19 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01862/18.01, allocations: 2.302 MB / 5.718 GB, free: 83.8 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02902/18.04, allocations: 7.657 MB / 5.725 GB, free: 82.81 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007469/18.04, allocations: 407 kB / 5.725 GB, free: 82.77 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002886/18.05, allocations: 484.3 kB / 5.726 GB, free: 82.76 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01854/18.07, allocations: 5.639 MB / 5.731 GB, free: 82.06 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001401/18.07, allocations: 11.84 kB / 5.731 GB, free: 82.06 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008756/18.07, allocations: 195.9 kB / 5.732 GB, free: 82.06 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002014/18.07, allocations: 180.4 kB / 5.732 GB, free: 82.05 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01627/18.08, allocations: 4.997 MB / 5.737 GB, free: 82 MB / 1.026 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.07259/18.16, allocations: 23.81 MB / 5.76 GB, free: 73.05 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/18.17, allocations: 4.18 MB / 5.764 GB, free: 72.5 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004903/18.17, allocations: 1.751 MB / 5.766 GB, free: 72.47 MB / 1.026 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.03154/18.2, allocations: 8.7 MB / 5.774 GB, free: 69.17 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006479/18.21, allocations: 2.101 MB / 5.776 GB, free: 69.04 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005154/18.21, allocations: 0.5024 MB / 5.777 GB, free: 68.88 MB / 1.026 GB Notification: Performance of pre-optimization done (n=322): time 3.206e-05/18.21, allocations: 0 / 5.777 GB, free: 68.88 MB / 1.026 GB Notification: Performance of matching and sorting (n=326): time 0.04022/18.25, allocations: 9.043 MB / 5.786 GB, free: 67.2 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/18.25, allocations: 373.6 kB / 5.786 GB, free: 66.79 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0112/18.27, allocations: 4.401 MB / 5.79 GB, free: 66.41 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001372/18.27, allocations: 116.5 kB / 5.79 GB, free: 66.38 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.003686/18.27, allocations: 2.766 MB / 5.793 GB, free: 65.56 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.002053/18.27, allocations: 1.096 MB / 5.794 GB, free: 64.86 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009191/18.27, allocations: 74.72 kB / 5.794 GB, free: 64.86 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0003756/18.27, allocations: 460.9 kB / 5.795 GB, free: 64.55 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003338/18.28, allocations: 1.51 MB / 5.796 GB, free: 64.55 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003423/18.28, allocations: 2.578 MB / 5.799 GB, free: 63.39 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00314/18.28, allocations: 1.865 MB / 5.8 GB, free: 63.33 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/18.28, allocations: 13.91 kB / 5.8 GB, free: 63.33 MB / 1.026 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01279/18.3, allocations: 5.281 MB / 5.806 GB, free: 62.87 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.00252/18.3, allocations: 11.52 MB / 5.817 GB, free: 50.9 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.828e-05/18.3, allocations: 26 kB / 5.817 GB, free: 50.9 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004247/18.3, allocations: 1.056 MB / 5.818 GB, free: 50.85 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00477/18.31, allocations: 0.8807 MB / 5.819 GB, free: 50.85 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005729/18.31, allocations: 6.222 MB / 5.825 GB, free: 46.14 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008098/18.32, allocations: 489.7 kB / 5.825 GB, free: 46.11 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001322/18.32, allocations: 205.2 kB / 5.825 GB, free: 46.11 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/18.32, allocations: 3.25 kB / 5.825 GB, free: 46.11 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01315/18.34, allocations: 4.743 MB / 5.83 GB, free: 45.96 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.212e-05/18.34, allocations: 27.38 kB / 5.83 GB, free: 45.96 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004058/18.34, allocations: 1.068 MB / 5.831 GB, free: 45.91 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004275/18.35, allocations: 0.8665 MB / 5.832 GB, free: 45.91 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005466/18.35, allocations: 6.219 MB / 5.838 GB, free: 41.2 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007439/18.36, allocations: 457.2 kB / 5.839 GB, free: 41.17 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/18.36, allocations: 197.4 kB / 5.839 GB, free: 41.17 MB / 1.026 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.001906/18.36, allocations: 361.3 kB / 5.839 GB, free: 41.05 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002042/18.36, allocations: 0.5542 MB / 5.84 GB, free: 40.76 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01682/18.38, allocations: 5.588 MB / 5.845 GB, free: 40.42 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.204e-05/18.38, allocations: 44.27 kB / 5.845 GB, free: 40.41 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.01e-05/18.38, allocations: 2.938 kB / 5.845 GB, free: 40.41 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01327/18.39, allocations: 4.356 MB / 5.849 GB, free: 40.08 MB / 1.026 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.03608/18.43, allocations: 10.89 MB / 5.86 GB, free: 39.29 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-05/18.43, allocations: 3.25 kB / 5.86 GB, free: 39.29 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003819/18.43, allocations: 0.6337 MB / 5.861 GB, free: 39.29 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003154/18.44, allocations: 0.9342 MB / 5.862 GB, free: 39.21 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008112/18.44, allocations: 114.6 kB / 5.862 GB, free: 39.21 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008369/18.45, allocations: 12.56 MB / 5.874 GB, free: 28.76 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/18.45, allocations: 0 / 5.874 GB, free: 28.76 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01639/18.46, allocations: 7.101 MB / 5.881 GB, free: 27.7 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007008/18.47, allocations: 1.202 MB / 5.882 GB, free: 27.3 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002296/18.47, allocations: 79.31 kB / 5.882 GB, free: 27.3 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006339/18.48, allocations: 431.6 kB / 5.883 GB, free: 27.29 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006647/18.48, allocations: 282.8 kB / 5.883 GB, free: 27.28 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006341/18.48, allocations: 169.5 kB / 5.883 GB, free: 27.28 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.007818/18.49, allocations: 3.373 MB / 5.886 GB, free: 27.08 MB / 1.026 GB Notification: Performance of sort global known variables: time 4.6e-07/18.49, allocations: 0 / 5.886 GB, free: 27.08 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.01681/18.5, allocations: 3.138 MB / 5.889 GB, free: 26.9 MB / 1.026 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.02736/18.53, allocations: 11.83 MB / 5.901 GB, free: 23.89 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0193/18.55, allocations: 7.205 MB / 5.908 GB, free: 23.3 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.32e-05/18.55, allocations: 3.156 kB / 5.908 GB, free: 23.3 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.00563/18.56, allocations: 2.864 MB / 5.911 GB, free: 22.5 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01648/18.57, allocations: 2.751 MB / 5.913 GB, free: 22.45 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04125/18.62, allocations: 11.13 MB / 5.924 GB, free: 19.66 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008082/18.62, allocations: 3.64 MB / 5.928 GB, free: 18.74 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01683/18.64, allocations: 2.845 MB / 5.931 GB, free: 18.44 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006193/18.65, allocations: 2.633 MB / 5.933 GB, free: 18.43 MB / 1.026 GB Notification: Performance of SimCode: time 1.403e-06/18.65, allocations: 0 / 5.933 GB, free: 18.43 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.261/19.91, allocations: 217.1 MB / 6.145 GB, free: 130.9 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/19.91, allocations: 260.3 kB / 6.145 GB, free: 130.6 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/31.35, allocations: 0 / 6.145 GB, free: 130.6 MB / 1.073 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_ScrollWaterToWater_OneRoomRadiator_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_ScrollWaterToWater_OneRoomRadiator.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)