Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.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.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",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.385/2.385, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.00113/0.00113, allocations: 180 kB / 492.3 MB, free: 0.6016 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.673/1.673, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.0008617/0.0008617, allocations: 89.67 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.218e-05/4.249e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3117, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.362/1.674, allocations: 435.5 MB / 1.638 GB, free: 11.11 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003503/1.674, allocations: 96.11 kB / 1.638 GB, free: 11.06 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 2.734/4.409, allocations: 0.563 GB / 2.201 GB, free: 237.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.283e-06/4.409, allocations: 0 / 2.201 GB, free: 237.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000214/4.409, allocations: 52.86 kB / 2.201 GB, free: 237.8 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.00574/4.415, allocations: 1.97 MB / 2.203 GB, free: 237.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/4.415, allocations: 9.922 kB / 2.203 GB, free: 237.3 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003943/4.415, allocations: 200.4 kB / 2.203 GB, free: 237.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005336/4.42, allocations: 0.6855 MB / 2.204 GB, free: 237.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004984/4.425, allocations: 1.86 MB / 2.206 GB, free: 236.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/4.426, allocations: 148.9 kB / 2.206 GB, free: 236.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/4.426, allocations: 135.5 kB / 2.206 GB, free: 236.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003326/4.429, allocations: 1.635 MB / 2.207 GB, free: 236.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.562e-05/4.429, allocations: 5.594 kB / 2.207 GB, free: 236.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/4.43, allocations: 60.09 kB / 2.207 GB, free: 236.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.773e-05/4.43, allocations: 54.02 kB / 2.208 GB, free: 236.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002481/4.432, allocations: 1.242 MB / 2.209 GB, free: 236.5 MB / 1.151 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.01215/4.444, allocations: 7.375 MB / 2.216 GB, free: 233.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/4.446, allocations: 0.6965 MB / 2.217 GB, free: 233.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006636/4.446, allocations: 409.3 kB / 2.217 GB, free: 233.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/4.447, allocations: 1.269 MB / 2.218 GB, free: 232.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/4.448, allocations: 47.44 kB / 2.218 GB, free: 232 MB / 1.151 GB Notification: Performance of pre-optimization done (n=77): time 3.306e-06/4.448, allocations: 0 / 2.218 GB, free: 232 MB / 1.151 GB Notification: Performance of matching and sorting (n=77): time 0.003919/4.451, allocations: 1.013 MB / 2.219 GB, free: 231.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/4.452, allocations: 194.1 kB / 2.219 GB, free: 231.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/4.454, allocations: 1.288 MB / 2.221 GB, free: 231.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002188/4.454, allocations: 50.95 kB / 2.221 GB, free: 231.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007845/4.455, allocations: 0.7647 MB / 2.222 GB, free: 231.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000311/4.455, allocations: 269.7 kB / 2.222 GB, free: 231.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-05/4.455, allocations: 21.81 kB / 2.222 GB, free: 231.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001011/4.455, allocations: 339.5 kB / 2.222 GB, free: 230.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007433/4.456, allocations: 373.3 kB / 2.222 GB, free: 230.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/4.457, allocations: 0.6669 MB / 2.223 GB, free: 230.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009932/4.458, allocations: 420.6 kB / 2.224 GB, free: 230.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/4.458, allocations: 2.5 kB / 2.224 GB, free: 230.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004981/4.463, allocations: 1.327 MB / 2.225 GB, free: 230.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007562/4.464, allocations: 2.509 MB / 2.227 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/4.464, allocations: 8.484 kB / 2.227 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001662/4.466, allocations: 427 kB / 2.228 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/4.468, allocations: 272.9 kB / 2.228 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/4.469, allocations: 0.9077 MB / 2.229 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003186/4.472, allocations: 299.6 kB / 2.229 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/4.472, allocations: 56.98 kB / 2.229 GB, free: 227.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/4.472, allocations: 5.844 kB / 2.229 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003919/4.476, allocations: 1.163 MB / 2.23 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/4.476, allocations: 7.906 kB / 2.23 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/4.477, allocations: 420 kB / 2.231 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/4.479, allocations: 270.8 kB / 2.231 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009938/4.48, allocations: 0.9046 MB / 2.232 GB, free: 226.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002803/4.483, allocations: 263.3 kB / 2.232 GB, free: 226.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001947/4.483, allocations: 57.33 kB / 2.232 GB, free: 226.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 9 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004832/4.483, allocations: 176.5 kB / 2.232 GB, free: 226.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007461/4.484, allocations: 161 kB / 2.233 GB, free: 226.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004287/4.489, allocations: 1.107 MB / 2.234 GB, free: 226.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/4.489, allocations: 9.328 kB / 2.234 GB, free: 226.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/4.489, allocations: 0 / 2.234 GB, free: 226.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003195/4.492, allocations: 0.9628 MB / 2.235 GB, free: 226.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008491/4.5, allocations: 3.028 MB / 2.237 GB, free: 225.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/4.5, allocations: 3.406 kB / 2.237 GB, free: 225.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/4.502, allocations: 172.5 kB / 2.238 GB, free: 225.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001557/4.503, allocations: 418.4 kB / 2.238 GB, free: 225.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001682/4.503, allocations: 28.33 kB / 2.238 GB, free: 225.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/4.504, allocations: 0.8924 MB / 2.239 GB, free: 225 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/4.504, allocations: 3.938 kB / 2.239 GB, free: 225 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01186/4.516, allocations: 2.439 MB / 2.241 GB, free: 224.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002129/4.519, allocations: 422.1 kB / 2.242 GB, free: 224.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009317/4.519, allocations: 25.45 kB / 2.242 GB, free: 224.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002617/4.522, allocations: 170 kB / 2.242 GB, free: 224.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002999/4.522, allocations: 85.38 kB / 2.242 GB, free: 224.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002125/4.523, allocations: 47.38 kB / 2.242 GB, free: 224.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002128/4.525, allocations: 1.009 MB / 2.243 GB, free: 224 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.1e-07/4.525, allocations: 0 / 2.243 GB, free: 224 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005646/4.53, allocations: 1.044 MB / 2.244 GB, free: 223.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 5 (heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 4 (heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.01504/4.546, allocations: 4.678 MB / 2.249 GB, free: 221.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004779/4.55, allocations: 1.515 MB / 2.25 GB, free: 221.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/4.55, allocations: 7.938 kB / 2.25 GB, free: 221.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/4.552, allocations: 495 kB / 2.251 GB, free: 221.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005097/4.557, allocations: 0.7956 MB / 2.251 GB, free: 221.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009099/4.566, allocations: 2.55 MB / 2.254 GB, free: 220.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/4.567, allocations: 1.301 MB / 2.255 GB, free: 220.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003608/4.571, allocations: 487.2 kB / 2.256 GB, free: 220.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/4.572, allocations: 0.6196 MB / 2.256 GB, free: 220.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.663e-06/4.572, allocations: 0 / 2.256 GB, free: 220.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1133/4.685, allocations: 60.1 MB / 2.315 GB, free: 218.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003342/4.686, allocations: 252.6 kB / 2.315 GB, free: 218.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.089/8.774, allocations: 0 / 2.315 GB, free: 218.2 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection_res.mat does not exist to compare? outputFormat=mat