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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Examples_ScrollWaterToWater_OneRoomRadiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.297/2.297, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001119/0.001119, allocations: 179.3 kB / 498.1 MB, free: 5.73 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.638/1.638, allocations: 223.1 MB / 0.7948 GB, free: 18.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001088, allocations: 103.8 kB / 0.9346 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003906, allocations: 10.67 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.293, allocations: 142.4 MB / 1.223 GB, free: 89.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.32/5.613, allocations: 2.241 GB / 3.464 GB, free: 146.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/5.613, allocations: 108.6 kB / 3.465 GB, free: 146.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 8.709/14.32, allocations: 2.358 GB / 5.823 GB, free: 10.07 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.464e-06/14.32, allocations: 0 / 5.823 GB, free: 10.07 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.001453/14.32, allocations: 183.8 kB / 5.823 GB, free: 9.887 MB / 1.198 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.02854/14.35, allocations: 7.661 MB / 5.831 GB, free: 2.121 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/14.35, allocations: 16.02 kB / 5.831 GB, free: 2.105 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00343/14.36, allocations: 0.6172 MB / 5.831 GB, free: 1.477 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01837/14.37, allocations: 2.489 MB / 5.834 GB, free: 14.98 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02921/14.4, allocations: 7.916 MB / 5.841 GB, free: 6.98 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007075/14.4, allocations: 403.8 kB / 5.842 GB, free: 6.578 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00263/14.41, allocations: 483.8 kB / 5.842 GB, free: 6.105 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0223/14.43, allocations: 5.985 MB / 5.848 GB, free: 15.88 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003288/14.43, allocations: 15.84 kB / 5.848 GB, free: 15.86 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002117/14.43, allocations: 192 kB / 5.848 GB, free: 15.67 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002395/14.43, allocations: 192.8 kB / 5.848 GB, free: 15.48 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01915/14.45, allocations: 5.569 MB / 5.854 GB, free: 9.895 MB / 1.229 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.9728/15.42, allocations: 23.92 MB / 5.877 GB, free: 95.76 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01459/15.44, allocations: 4.687 MB / 5.882 GB, free: 95.24 MB / 1.229 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.02576/15.46, allocations: 8.727 MB / 5.89 GB, free: 92.11 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005962/15.47, allocations: 2.373 MB / 5.893 GB, free: 91.98 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004092/15.47, allocations: 0.4976 MB / 5.893 GB, free: 91.98 MB / 1.229 GB Notification: Performance of pre-optimization done (n=322): time 1.946e-05/15.47, allocations: 0 / 5.893 GB, free: 91.98 MB / 1.229 GB Notification: Performance of matching and sorting (n=325): time 0.0619/15.54, allocations: 14.29 MB / 5.907 GB, free: 89.61 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001805/15.54, allocations: 381.8 kB / 5.907 GB, free: 89.2 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009375/15.55, allocations: 4.521 MB / 5.912 GB, free: 88.82 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.001308/15.55, allocations: 105.5 kB / 5.912 GB, free: 88.79 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.002821/15.55, allocations: 2.77 MB / 5.915 GB, free: 88.2 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.001898/15.55, allocations: 1.094 MB / 5.916 GB, free: 87.64 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003156/15.55, allocations: 73.97 kB / 5.916 GB, free: 87.64 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0002373/15.55, allocations: 456.7 kB / 5.916 GB, free: 87.33 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00446/15.56, allocations: 1.777 MB / 5.918 GB, free: 87.32 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00522/15.56, allocations: 2.844 MB / 5.921 GB, free: 86.18 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005082/15.57, allocations: 2.112 MB / 5.923 GB, free: 86.12 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.187e-05/15.57, allocations: 7.812 kB / 5.923 GB, free: 86.12 MB / 1.229 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.01727/15.58, allocations: 5.798 MB / 5.929 GB, free: 85.67 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.002639/15.59, allocations: 11.57 MB / 5.94 GB, free: 73.7 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.763e-05/15.59, allocations: 26.22 kB / 5.94 GB, free: 73.7 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005091/15.59, allocations: 1.167 MB / 5.941 GB, free: 73.65 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00516/15.6, allocations: 0.8934 MB / 5.942 GB, free: 73.65 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006696/15.6, allocations: 6.441 MB / 5.948 GB, free: 68.95 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008245/15.61, allocations: 0.5029 MB / 5.949 GB, free: 68.93 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00114/15.61, allocations: 208.3 kB / 5.949 GB, free: 68.93 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/15.61, allocations: 5.875 kB / 5.949 GB, free: 68.93 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01502/15.63, allocations: 5.264 MB / 5.954 GB, free: 68.78 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.218e-05/15.63, allocations: 28.52 kB / 5.954 GB, free: 68.77 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005103/15.63, allocations: 1.167 MB / 5.955 GB, free: 68.73 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004722/15.64, allocations: 0.8748 MB / 5.956 GB, free: 68.73 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007238/15.65, allocations: 6.457 MB / 5.962 GB, free: 64.02 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008353/15.65, allocations: 479.7 kB / 5.963 GB, free: 64.01 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001315/15.66, allocations: 197.8 kB / 5.963 GB, free: 64.01 MB / 1.229 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 (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,4 7,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005671/15.66, allocations: 1.595 MB / 5.965 GB, free: 63.81 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002351/15.66, allocations: 0.5594 MB / 5.965 GB, free: 63.52 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02386/15.69, allocations: 6.285 MB / 5.971 GB, free: 63.19 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.849e-05/15.69, allocations: 35.5 kB / 5.971 GB, free: 63.19 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.297e-05/15.69, allocations: 8.297 kB / 5.971 GB, free: 63.19 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02102/15.71, allocations: 5.031 MB / 5.976 GB, free: 62.85 MB / 1.229 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.04164/15.75, allocations: 10.96 MB / 5.987 GB, free: 62.07 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.054e-05/15.75, allocations: 3.969 kB / 5.987 GB, free: 62.07 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004675/15.76, allocations: 0.6667 MB / 5.988 GB, free: 62.07 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004507/15.76, allocations: 0.9792 MB / 5.988 GB, free: 61.99 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001536/15.76, allocations: 111.5 kB / 5.989 GB, free: 61.99 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01675/15.78, allocations: 12.66 MB / 6.001 GB, free: 67.62 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/15.78, allocations: 0 / 6.001 GB, free: 67.62 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02387/15.8, allocations: 7.774 MB / 6.009 GB, free: 66.6 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005467/15.81, allocations: 1.211 MB / 6.01 GB, free: 66.2 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002538/15.81, allocations: 77.95 kB / 6.01 GB, free: 66.2 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007936/15.82, allocations: 437.1 kB / 6.01 GB, free: 66.19 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00098/15.82, allocations: 277.3 kB / 6.01 GB, free: 66.19 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008758/15.82, allocations: 169.6 kB / 6.011 GB, free: 66.19 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.01145/15.83, allocations: 3.477 MB / 6.014 GB, free: 65.97 MB / 1.245 GB Notification: Performance of sort global known variables: time 5.01e-07/15.83, allocations: 0 / 6.014 GB, free: 65.97 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.0237/15.86, allocations: 3.178 MB / 6.017 GB, free: 65.97 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (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%) 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.03463/15.89, allocations: 12.57 MB / 6.029 GB, free: 63.36 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.02355/15.91, allocations: 7.767 MB / 6.037 GB, free: 62.8 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.969e-05/15.91, allocations: 7.438 kB / 6.037 GB, free: 62.79 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.007288/15.92, allocations: 3.102 MB / 6.04 GB, free: 61.99 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01671/15.94, allocations: 2.73 MB / 6.043 GB, free: 61.96 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05927/16, allocations: 34.26 MB / 6.076 GB, free: 53.32 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008264/16.01, allocations: 3.621 MB / 6.08 GB, free: 52.44 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.01255/16.02, allocations: 1.984 MB / 6.082 GB, free: 52.18 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006982/16.03, allocations: 2.738 MB / 6.084 GB, free: 52.17 MB / 1.26 GB Notification: Performance of SimCode: time 2.044e-06/16.03, allocations: 3.312 kB / 6.084 GB, free: 52.17 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3212/16.35, allocations: 203.3 MB / 6.283 GB, free: 9.801 MB / 1.26 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002734/16.35, allocations: 277.4 kB / 6.283 GB, free: 9.438 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.779/26.13, allocations: 3.938 kB / 6.283 GB, free: 9.434 MB / 1.26 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Examples_ScrollWaterToWater_OneRoomRadiator_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_HeatPumps_Examples_ScrollWaterToWater_OneRoomRadiator.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator_res.mat does not exist to compare? outputFormat=mat