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.759/1.759, allocations: 288.2 MB / 303.2 MB, free: 8.16 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.001264/0.001264, allocations: 185 kB / 371.8 MB, free: 10.3 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.865/1.865, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.001148/0.001148, allocations: 98.17 kB / 0.7439 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.0004434, allocations: 15.8 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2869, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.949/7.236, allocations: 2.412 GB / 3.391 GB, free: 211.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/7.236, allocations: 102.9 kB / 3.391 GB, free: 211.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.386/16.62, allocations: 2.332 GB / 5.724 GB, free: 81.65 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.355e-06/16.62, allocations: 4 kB / 5.724 GB, free: 81.64 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001271/16.62, allocations: 174.5 kB / 5.724 GB, free: 81.6 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.02964/16.65, allocations: 7.577 MB / 5.731 GB, free: 78.12 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.376e-05/16.65, allocations: 10.12 kB / 5.731 GB, free: 78.12 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003681/16.66, allocations: 0.6168 MB / 5.732 GB, free: 78.06 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01676/16.67, allocations: 2.313 MB / 5.734 GB, free: 77.58 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02736/16.7, allocations: 7.712 MB / 5.742 GB, free: 74.71 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007689/16.7, allocations: 407.5 kB / 5.742 GB, free: 74.52 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002758/16.7, allocations: 485.4 kB / 5.743 GB, free: 74.36 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02251/16.73, allocations: 5.911 MB / 5.748 GB, free: 71.12 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003597/16.73, allocations: 9.688 kB / 5.748 GB, free: 71.12 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002226/16.73, allocations: 192.3 kB / 5.749 GB, free: 70.98 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002268/16.73, allocations: 176.4 kB / 5.749 GB, free: 70.96 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01739/16.75, allocations: 5.476 MB / 5.754 GB, free: 67.22 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.05502/16.8, allocations: 23.8 MB / 5.777 GB, free: 42.46 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/16.81, allocations: 4.604 MB / 5.782 GB, free: 37.8 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.02351/16.84, allocations: 8.684 MB / 5.79 GB, free: 28.54 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006556/16.84, allocations: 2.321 MB / 5.793 GB, free: 26.18 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004718/16.85, allocations: 0.5079 MB / 5.793 GB, free: 25.67 MB / 1.01 GB Notification: Performance of pre-optimization done (n=322): time 2.522e-05/16.85, allocations: 0 / 5.793 GB, free: 25.67 MB / 1.01 GB Notification: Performance of matching and sorting (n=326): time 0.06758/16.92, allocations: 14.14 MB / 5.807 GB, free: 11.16 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/16.92, allocations: 376.6 kB / 5.807 GB, free: 10.71 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0121/16.93, allocations: 4.458 MB / 5.812 GB, free: 6.285 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001345/16.93, allocations: 113.7 kB / 5.812 GB, free: 6.168 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003925/16.93, allocations: 2.757 MB / 5.814 GB, free: 3.387 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002108/16.94, allocations: 1.094 MB / 5.815 GB, free: 2.277 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009456/16.94, allocations: 79.98 kB / 5.815 GB, free: 2.199 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000386/16.94, allocations: 462 kB / 5.816 GB, free: 1.742 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005349/16.94, allocations: 1.745 MB / 5.818 GB, free: 15.99 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007223/16.95, allocations: 2.813 MB / 5.82 GB, free: 12.75 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006704/16.96, allocations: 2.081 MB / 5.822 GB, free: 10.66 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.179e-05/16.96, allocations: 8 kB / 5.822 GB, free: 10.65 MB / 1.026 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.02291/16.98, allocations: 5.79 MB / 5.828 GB, free: 4.805 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.005244/16.98, allocations: 11.53 MB / 5.839 GB, free: 8.488 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.914e-05/16.98, allocations: 28 kB / 5.839 GB, free: 8.461 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005736/16.99, allocations: 1.153 MB / 5.84 GB, free: 7.305 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005513/17, allocations: 0.8814 MB / 5.841 GB, free: 6.422 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8285/17.82, allocations: 6.454 MB / 5.848 GB, free: 120 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008405/17.83, allocations: 494.4 kB / 5.848 GB, free: 120 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00156/17.83, allocations: 207.5 kB / 5.848 GB, free: 120 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/17.83, allocations: 6.281 kB / 5.848 GB, free: 120 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01779/17.85, allocations: 5.238 MB / 5.853 GB, free: 119.9 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001032/17.85, allocations: 24.45 kB / 5.853 GB, free: 119.9 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005523/17.86, allocations: 1.17 MB / 5.855 GB, free: 119.9 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00536/17.86, allocations: 0.8629 MB / 5.855 GB, free: 119.9 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1858/18.05, allocations: 6.461 MB / 5.862 GB, free: 115.2 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008777/18.06, allocations: 475.5 kB / 5.862 GB, free: 115.2 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001787/18.06, allocations: 196.9 kB / 5.862 GB, free: 115.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.006136/18.07, allocations: 1.569 MB / 5.864 GB, free: 115 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002386/18.07, allocations: 0.5591 MB / 5.864 GB, free: 115 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02363/18.09, allocations: 6.064 MB / 5.87 GB, free: 114.7 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001156/18.09, allocations: 37.58 kB / 5.87 GB, free: 114.7 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.78e-05/18.09, allocations: 3.125 kB / 5.87 GB, free: 114.7 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01927/18.11, allocations: 4.827 MB / 5.875 GB, free: 114.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.03799/18.15, allocations: 10.86 MB / 5.886 GB, free: 113.7 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.112e-05/18.15, allocations: 2.219 kB / 5.886 GB, free: 113.7 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003949/18.15, allocations: 0.651 MB / 5.886 GB, free: 113.7 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003944/18.16, allocations: 0.9752 MB / 5.887 GB, free: 113.6 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007055/18.16, allocations: 119.4 kB / 5.887 GB, free: 113.6 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/18.17, allocations: 12.65 MB / 5.9 GB, free: 103.3 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/18.17, allocations: 13.91 kB / 5.9 GB, free: 103.3 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02369/18.19, allocations: 7.688 MB / 5.907 GB, free: 102.5 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006007/18.2, allocations: 1.205 MB / 5.909 GB, free: 102.4 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002761/18.2, allocations: 88.8 kB / 5.909 GB, free: 102.4 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006781/18.21, allocations: 418.6 kB / 5.909 GB, free: 102.4 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00106/18.21, allocations: 280.5 kB / 5.909 GB, free: 102.4 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009859/18.21, allocations: 164.3 kB / 5.909 GB, free: 102.4 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.009345/18.22, allocations: 3.43 MB / 5.913 GB, free: 102.2 MB / 1.042 GB Notification: Performance of sort global known variables: time 2.7e-07/18.22, allocations: 0 / 5.913 GB, free: 102.2 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.01899/18.24, allocations: 3.132 MB / 5.916 GB, free: 102.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.03333/18.27, allocations: 12.51 MB / 5.928 GB, free: 99.42 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.02576/18.3, allocations: 7.748 MB / 5.936 GB, free: 98.86 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-05/18.3, allocations: 4.906 kB / 5.936 GB, free: 98.86 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.007599/18.31, allocations: 3.074 MB / 5.939 GB, free: 98.07 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01617/18.32, allocations: 2.746 MB / 5.941 GB, free: 98.03 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05077/18.37, allocations: 34.11 MB / 5.975 GB, free: 73.56 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007477/18.38, allocations: 3.633 MB / 5.978 GB, free: 72.72 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.01308/18.39, allocations: 1.976 MB / 5.98 GB, free: 72.67 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00701/18.4, allocations: 2.718 MB / 5.983 GB, free: 72.67 MB / 1.042 GB Notification: Performance of SimCode: time 8.72e-07/18.4, allocations: 0 / 5.983 GB, free: 72.67 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4604/18.86, allocations: 202.4 MB / 6.18 GB, free: 11.57 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/18.86, allocations: 281.6 kB / 6.181 GB, free: 11.21 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/30.06, allocations: 0 / 6.181 GB, free: 11.21 MB / 1.042 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)