Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.346/2.346, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001157/0.001157, allocations: 173 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.3 MB / 0.7915 GB, free: 5.461 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.00101/0.00101, allocations: 91.89 kB / 0.9317 GB, free: 5.773 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.974e-05/2.978e-05, allocations: 7.047 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.281, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.322/1.603, allocations: 436.3 MB / 1.645 GB, free: 14.07 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/1.603, allocations: 84.55 kB / 1.645 GB, free: 13.98 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 2.621/4.224, allocations: 0.563 GB / 2.208 GB, free: 238.5 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.122e-06/4.224, allocations: 0 / 2.208 GB, free: 238.5 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0002325/4.224, allocations: 51.06 kB / 2.208 GB, free: 238.5 MB / 1.135 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.005312/4.23, allocations: 1.986 MB / 2.21 GB, free: 237.6 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/4.23, allocations: 11.81 kB / 2.21 GB, free: 237.6 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00052/4.23, allocations: 192.8 kB / 2.21 GB, free: 237.6 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005331/4.236, allocations: 0.6892 MB / 2.211 GB, free: 237.5 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004849/4.241, allocations: 1.862 MB / 2.213 GB, free: 237.2 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/4.241, allocations: 138.6 kB / 2.213 GB, free: 237.1 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004472/4.241, allocations: 135.4 kB / 2.213 GB, free: 237.1 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003408/4.245, allocations: 1.634 MB / 2.215 GB, free: 236.8 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.398e-05/4.245, allocations: 14.69 kB / 2.215 GB, free: 236.8 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/4.245, allocations: 58.55 kB / 2.215 GB, free: 236.8 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.33e-05/4.245, allocations: 55.05 kB / 2.215 GB, free: 236.8 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/4.247, allocations: 1.233 MB / 2.216 GB, free: 236.8 MB / 1.135 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.01192/4.259, allocations: 7.394 MB / 2.223 GB, free: 233.8 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/4.261, allocations: 0.6954 MB / 2.224 GB, free: 233.8 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005779/4.261, allocations: 396.2 kB / 2.224 GB, free: 233.8 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/4.262, allocations: 1.273 MB / 2.225 GB, free: 232.4 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/4.262, allocations: 43.47 kB / 2.225 GB, free: 232.3 MB / 1.135 GB Notification: Performance of pre-optimization done (n=77): time 2.876e-06/4.262, allocations: 3.938 kB / 2.225 GB, free: 232.3 MB / 1.135 GB Notification: Performance of matching and sorting (n=77): time 0.003548/4.266, allocations: 1.016 MB / 2.226 GB, free: 232.2 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/4.266, allocations: 197.7 kB / 2.227 GB, free: 232 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/4.268, allocations: 1.283 MB / 2.228 GB, free: 231.8 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0001709/4.268, allocations: 47.45 kB / 2.228 GB, free: 231.8 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005839/4.269, allocations: 0.7714 MB / 2.229 GB, free: 231.5 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/4.269, allocations: 267.4 kB / 2.229 GB, free: 231.4 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.95e-05/4.269, allocations: 16.94 kB / 2.229 GB, free: 231.4 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 7.244e-05/4.269, allocations: 351.5 kB / 2.229 GB, free: 231.1 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006114/4.27, allocations: 372.1 kB / 2.23 GB, free: 231.1 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007575/4.27, allocations: 0.6625 MB / 2.23 GB, free: 230.7 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000683/4.271, allocations: 424.7 kB / 2.231 GB, free: 230.7 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/4.271, allocations: 0 / 2.231 GB, free: 230.7 MB / 1.135 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003859/4.275, allocations: 1.331 MB / 2.232 GB, free: 230.6 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004817/4.276, allocations: 2.511 MB / 2.234 GB, free: 227.9 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/4.276, allocations: 3.062 kB / 2.234 GB, free: 227.9 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/4.277, allocations: 422.5 kB / 2.235 GB, free: 227.9 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/4.278, allocations: 269.4 kB / 2.235 GB, free: 227.9 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008782/4.279, allocations: 0.9096 MB / 2.236 GB, free: 227.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002922/4.282, allocations: 291 kB / 2.236 GB, free: 227.3 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001963/4.282, allocations: 62.06 kB / 2.236 GB, free: 227.3 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/4.282, allocations: 3.719 kB / 2.236 GB, free: 227.3 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003684/4.286, allocations: 1.168 MB / 2.237 GB, free: 227.3 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/4.286, allocations: 3.938 kB / 2.237 GB, free: 227.3 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/4.287, allocations: 420.4 kB / 2.238 GB, free: 227.3 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/4.289, allocations: 271.2 kB / 2.238 GB, free: 227.3 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008179/4.29, allocations: 0.9082 MB / 2.239 GB, free: 226.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/4.292, allocations: 268.2 kB / 2.239 GB, free: 226.7 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/4.292, allocations: 56.02 kB / 2.239 GB, free: 226.7 MB / 1.135 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.00037/4.293, allocations: 172.1 kB / 2.24 GB, free: 226.6 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004511/4.293, allocations: 159.2 kB / 2.24 GB, free: 226.5 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003684/4.297, allocations: 1.113 MB / 2.241 GB, free: 226.4 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/4.297, allocations: 5.406 kB / 2.241 GB, free: 226.4 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/4.297, allocations: 0 / 2.241 GB, free: 226.4 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002771/4.3, allocations: 0.9601 MB / 2.242 GB, free: 226.2 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008243/4.308, allocations: 3.009 MB / 2.245 GB, free: 225.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/4.308, allocations: 3.969 kB / 2.245 GB, free: 225.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/4.309, allocations: 182.4 kB / 2.245 GB, free: 225.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/4.31, allocations: 410.9 kB / 2.245 GB, free: 225.7 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-05/4.31, allocations: 33.17 kB / 2.245 GB, free: 225.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008279/4.311, allocations: 0.8887 MB / 2.246 GB, free: 225.2 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/4.311, allocations: 12.14 kB / 2.246 GB, free: 225.2 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/4.322, allocations: 2.435 MB / 2.248 GB, free: 224.5 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/4.323, allocations: 424.5 kB / 2.249 GB, free: 224.3 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004862/4.323, allocations: 25.14 kB / 2.249 GB, free: 224.3 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/4.325, allocations: 173.6 kB / 2.249 GB, free: 224.3 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/4.325, allocations: 85.27 kB / 2.249 GB, free: 224.3 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/4.326, allocations: 48.81 kB / 2.249 GB, free: 224.3 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.00172/4.327, allocations: 1.011 MB / 2.25 GB, free: 224.2 MB / 1.135 GB Notification: Performance of sort global known variables: time 4.21e-07/4.327, allocations: 0 / 2.25 GB, free: 224.2 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.003471/4.331, allocations: 1.04 MB / 2.251 GB, free: 224 MB / 1.135 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.01264/4.343, allocations: 4.679 MB / 2.256 GB, free: 221.8 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.003073/4.347, allocations: 1.523 MB / 2.257 GB, free: 221.8 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/4.347, allocations: 6.375 kB / 2.257 GB, free: 221.8 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0008803/4.348, allocations: 491.1 kB / 2.258 GB, free: 221.8 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004239/4.352, allocations: 0.7876 MB / 2.259 GB, free: 221.8 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007442/4.359, allocations: 2.553 MB / 2.261 GB, free: 221 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/4.36, allocations: 1.302 MB / 2.262 GB, free: 220.3 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.003271/4.364, allocations: 487.2 kB / 2.263 GB, free: 220.2 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/4.365, allocations: 0.6237 MB / 2.263 GB, free: 220.2 MB / 1.135 GB Notification: Performance of SimCode: time 2.184e-06/4.365, allocations: 0 / 2.263 GB, free: 220.2 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09207/4.457, allocations: 60.1 MB / 2.322 GB, free: 212.5 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/4.457, allocations: 244.7 kB / 2.322 GB, free: 212.2 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.076/8.533, allocations: 2.391 kB / 2.322 GB, free: 212.2 MB / 1.135 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection_res.mat does not exist to compare? outputFormat=mat