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.424/2.424, allocations: 387.4 MB / 394.9 MB, free: 13.45 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.000993/0.0009928, allocations: 184.7 kB / 487.4 MB, free: 5.078 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.515/1.515, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009627/0.0009627, allocations: 100.6 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.252e-05/2.246e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2869, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.233/1.52, allocations: 434.8 MB / 1.631 GB, free: 3.578 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/1.521, allocations: 87.77 kB / 1.631 GB, free: 3.535 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.849/3.37, allocations: 0.5603 GB / 2.191 GB, free: 10.71 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.592e-06/3.37, allocations: 0 / 2.191 GB, free: 10.71 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001547/3.37, allocations: 47.98 kB / 2.191 GB, free: 10.66 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.004154/3.374, allocations: 1.983 MB / 2.193 GB, free: 8.617 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/3.374, allocations: 12.02 kB / 2.193 GB, free: 8.605 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004634/3.379, allocations: 0.6883 MB / 2.194 GB, free: 7.914 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003405/3.382, allocations: 1.865 MB / 2.196 GB, free: 5.992 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/3.382, allocations: 100.3 kB / 2.196 GB, free: 5.887 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/3.382, allocations: 76 kB / 2.196 GB, free: 5.812 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001957/3.384, allocations: 1.149 MB / 2.197 GB, free: 4.66 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/3.386, allocations: 1.45 MB / 2.198 GB, free: 3.113 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/3.387, allocations: 0 / 2.198 GB, free: 3.113 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/3.387, allocations: 4 kB / 2.198 GB, free: 3.109 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.242e-05/3.387, allocations: 62.44 kB / 2.198 GB, free: 3.047 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.7788/4.166, allocations: 7.066 MB / 2.205 GB, free: 236.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/4.167, allocations: 0.6634 MB / 2.206 GB, free: 236.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00063/4.168, allocations: 376 kB / 2.206 GB, free: 236.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/4.169, allocations: 1.267 MB / 2.207 GB, free: 234.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/4.169, allocations: 44.22 kB / 2.207 GB, free: 234.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=77): time 3.186e-06/4.169, allocations: 0.9375 kB / 2.207 GB, free: 234.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=77): time 0.005165/4.174, allocations: 1.082 MB / 2.209 GB, free: 234.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/4.174, allocations: 189.7 kB / 2.209 GB, free: 234.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/4.176, allocations: 1.028 MB / 2.21 GB, free: 234.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002343/4.177, allocations: 37.64 kB / 2.21 GB, free: 234.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000761/4.177, allocations: 0.7747 MB / 2.211 GB, free: 234 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000297/4.178, allocations: 254.8 kB / 2.211 GB, free: 233.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-05/4.178, allocations: 0.75 kB / 2.211 GB, free: 233.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.752e-05/4.178, allocations: 340.5 kB / 2.211 GB, free: 233.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006983/4.179, allocations: 353.3 kB / 2.211 GB, free: 233.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008423/4.179, allocations: 0.6437 MB / 2.212 GB, free: 233.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002119/4.182, allocations: 0.5249 MB / 2.213 GB, free: 233.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/4.182, allocations: 5.453 kB / 2.213 GB, free: 233.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.005502/4.187, allocations: 1.35 MB / 2.214 GB, free: 233.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005671/4.188, allocations: 2.472 MB / 2.216 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/4.188, allocations: 9.625 kB / 2.216 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009632/4.189, allocations: 369.8 kB / 2.217 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/4.19, allocations: 277.6 kB / 2.217 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/4.192, allocations: 0.9513 MB / 2.218 GB, free: 230.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002939/4.195, allocations: 255.2 kB / 2.218 GB, free: 230.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002424/4.195, allocations: 57.25 kB / 2.218 GB, free: 230.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/4.195, allocations: 3.875 kB / 2.218 GB, free: 230.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005534/4.201, allocations: 1.189 MB / 2.219 GB, free: 230 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/4.201, allocations: 5.844 kB / 2.219 GB, free: 230 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009278/4.202, allocations: 361.7 kB / 2.22 GB, free: 230 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/4.203, allocations: 264.1 kB / 2.22 GB, free: 230 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/4.205, allocations: 0.9568 MB / 2.221 GB, free: 229.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002674/4.207, allocations: 217.7 kB / 2.221 GB, free: 229.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002273/4.207, allocations: 60.73 kB / 2.221 GB, free: 229.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.0005249/4.208, allocations: 144.5 kB / 2.221 GB, free: 229.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005294/4.213, allocations: 1.069 MB / 2.222 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006787/4.214, allocations: 139.4 kB / 2.222 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005513/4.22, allocations: 1.157 MB / 2.224 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/4.22, allocations: 8.828 kB / 2.224 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/4.22, allocations: 0.75 kB / 2.224 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004394/4.224, allocations: 1.038 MB / 2.225 GB, free: 228.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009323/4.233, allocations: 2.888 MB / 2.227 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/4.233, allocations: 6.656 kB / 2.227 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009966/4.234, allocations: 170.1 kB / 2.228 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007463/4.235, allocations: 357.6 kB / 2.228 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.453e-05/4.235, allocations: 23.48 kB / 2.228 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/4.236, allocations: 0.9457 MB / 2.229 GB, free: 227.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-06/4.236, allocations: 7.312 kB / 2.229 GB, free: 227.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/4.248, allocations: 2.438 MB / 2.231 GB, free: 227.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/4.249, allocations: 396.4 kB / 2.232 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000613/4.25, allocations: 7.781 kB / 2.232 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002226/4.252, allocations: 151.3 kB / 2.232 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/4.252, allocations: 88.75 kB / 2.232 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001969/4.253, allocations: 42.59 kB / 2.232 GB, free: 227.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001683/4.254, allocations: 0.7754 MB / 2.233 GB, free: 227 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.91e-07/4.254, allocations: 0 / 2.233 GB, free: 227 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005014/4.259, allocations: 1.027 MB / 2.234 GB, free: 227 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.01579/4.275, allocations: 4.72 MB / 2.238 GB, free: 224.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003725/4.279, allocations: 1.424 MB / 2.24 GB, free: 224.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/4.279, allocations: 6.344 kB / 2.24 GB, free: 224.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009461/4.28, allocations: 471 kB / 2.24 GB, free: 224.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003888/4.284, allocations: 0.6038 MB / 2.241 GB, free: 224.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009366/4.293, allocations: 2.436 MB / 2.243 GB, free: 224.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/4.295, allocations: 1.299 MB / 2.244 GB, free: 223.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003432/4.298, allocations: 425.9 kB / 2.245 GB, free: 223.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/4.299, allocations: 0.6036 MB / 2.245 GB, free: 223.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.633e-06/4.299, allocations: 0 / 2.245 GB, free: 223.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1069/4.406, allocations: 48.72 MB / 2.293 GB, free: 222.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/4.406, allocations: 202.1 kB / 2.293 GB, free: 222 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.725/8.131, allocations: 1.688 kB / 2.293 GB, free: 222 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