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.202/2.202, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001234/0.001234, allocations: 169.3 kB / 498.1 MB, free: 5.766 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.447/1.447, allocations: 223.2 MB / 0.7948 GB, free: 17.84 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.001041/0.001041, allocations: 100.2 kB / 0.9346 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00045/0.00045, allocations: 10.5 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2834, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9979/1.281, allocations: 435.6 MB / 1.648 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/1.282, allocations: 104.4 kB / 1.648 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.802/3.084, allocations: 0.5647 GB / 2.213 GB, free: 118.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.174e-06/3.084, allocations: 0 / 2.213 GB, free: 118.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002695/3.084, allocations: 47.92 kB / 2.213 GB, free: 118.4 MB / 1.167 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.006587/3.091, allocations: 2.268 MB / 2.215 GB, free: 116.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/3.091, allocations: 12.03 kB / 2.215 GB, free: 116.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000685/3.091, allocations: 202.5 kB / 2.216 GB, free: 115.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005414/3.097, allocations: 0.6845 MB / 2.216 GB, free: 115.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004587/3.101, allocations: 1.873 MB / 2.218 GB, free: 113.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/3.102, allocations: 144.2 kB / 2.218 GB, free: 113.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004515/3.102, allocations: 139.9 kB / 2.218 GB, free: 113 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004862/3.107, allocations: 1.822 MB / 2.22 GB, free: 111.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.919e-05/3.107, allocations: 4 kB / 2.22 GB, free: 111.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002393/3.107, allocations: 59.88 kB / 2.22 GB, free: 111 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.95e-05/3.107, allocations: 58.5 kB / 2.22 GB, free: 110.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005154/3.112, allocations: 1.579 MB / 2.222 GB, free: 109.4 MB / 1.167 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.01175/3.124, allocations: 7.375 MB / 2.229 GB, free: 101.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/3.127, allocations: 0.8356 MB / 2.23 GB, free: 100.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/3.128, allocations: 1.271 MB / 2.231 GB, free: 99.27 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/3.128, allocations: 51.2 kB / 2.231 GB, free: 99.21 MB / 1.167 GB Notification: Performance of pre-optimization done (n=77): time 3.496e-06/3.128, allocations: 4 kB / 2.231 GB, free: 99.21 MB / 1.167 GB Notification: Performance of matching and sorting (n=77): time 0.02534/3.153, allocations: 3.663 MB / 2.235 GB, free: 95.52 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/3.153, allocations: 188.6 kB / 2.235 GB, free: 95.29 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002848/3.156, allocations: 1.332 MB / 2.236 GB, free: 93.95 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002785/3.156, allocations: 53.69 kB / 2.236 GB, free: 93.89 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000681/3.157, allocations: 0.7742 MB / 2.237 GB, free: 93.11 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003425/3.157, allocations: 264.2 kB / 2.237 GB, free: 92.84 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-05/3.157, allocations: 23.94 kB / 2.237 GB, free: 92.82 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.483e-05/3.158, allocations: 341.9 kB / 2.238 GB, free: 92.48 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/3.16, allocations: 0.5289 MB / 2.238 GB, free: 91.95 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/3.162, allocations: 0.8335 MB / 2.239 GB, free: 90.99 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001985/3.164, allocations: 0.5749 MB / 2.239 GB, free: 90.42 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/3.164, allocations: 4 kB / 2.239 GB, free: 90.42 MB / 1.167 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.006856/3.17, allocations: 1.691 MB / 2.241 GB, free: 88.71 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005049/3.171, allocations: 2.521 MB / 2.244 GB, free: 85.95 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/3.171, allocations: 4 kB / 2.244 GB, free: 85.95 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001668/3.173, allocations: 487.8 kB / 2.244 GB, free: 85.47 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/3.174, allocations: 271.5 kB / 2.244 GB, free: 85.21 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/3.176, allocations: 0.9929 MB / 2.245 GB, free: 84.19 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003077/3.179, allocations: 302.6 kB / 2.246 GB, free: 83.89 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002644/3.179, allocations: 59.94 kB / 2.246 GB, free: 83.84 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/3.179, allocations: 5.094 kB / 2.246 GB, free: 83.83 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006459/3.186, allocations: 1.523 MB / 2.247 GB, free: 82.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/3.186, allocations: 12.09 kB / 2.247 GB, free: 82.29 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/3.187, allocations: 480.5 kB / 2.248 GB, free: 81.82 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/3.189, allocations: 275.5 kB / 2.248 GB, free: 81.55 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/3.19, allocations: 1.002 MB / 2.249 GB, free: 80.52 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002609/3.193, allocations: 262.8 kB / 2.249 GB, free: 80.27 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/3.193, allocations: 55.95 kB / 2.249 GB, free: 80.21 MB / 1.167 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 () * Number of clocked 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.001086/3.194, allocations: 483.9 kB / 2.25 GB, free: 79.73 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004614/3.195, allocations: 162.1 kB / 2.25 GB, free: 79.57 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007876/3.203, allocations: 1.412 MB / 2.251 GB, free: 78.14 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/3.203, allocations: 12 kB / 2.251 GB, free: 78.13 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/3.203, allocations: 0 / 2.251 GB, free: 78.13 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006716/3.209, allocations: 1.258 MB / 2.252 GB, free: 76.84 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/3.22, allocations: 3.324 MB / 2.256 GB, free: 73.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.092e-05/3.22, allocations: 8.047 kB / 2.256 GB, free: 73.39 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/3.221, allocations: 171.8 kB / 2.256 GB, free: 73.23 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001583/3.223, allocations: 473.4 kB / 2.256 GB, free: 72.76 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001507/3.223, allocations: 35.95 kB / 2.256 GB, free: 72.73 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/3.224, allocations: 0.9823 MB / 2.257 GB, free: 71.72 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/3.224, allocations: 11.88 kB / 2.257 GB, free: 71.71 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01473/3.239, allocations: 2.867 MB / 2.26 GB, free: 68.63 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/3.24, allocations: 426.7 kB / 2.26 GB, free: 68.19 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005502/3.241, allocations: 27.94 kB / 2.26 GB, free: 68.16 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002433/3.243, allocations: 171.8 kB / 2.261 GB, free: 68 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/3.244, allocations: 80.38 kB / 2.261 GB, free: 67.92 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/3.244, allocations: 43.95 kB / 2.261 GB, free: 67.88 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002012/3.246, allocations: 1.062 MB / 2.262 GB, free: 66.82 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.71e-07/3.246, allocations: 0 / 2.262 GB, free: 66.82 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003972/3.25, allocations: 1.037 MB / 2.263 GB, free: 65.78 MB / 1.167 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) * Number of clocked states: 0 () * 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.01725/3.267, allocations: 5.126 MB / 2.268 GB, free: 60.55 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.007031/3.274, allocations: 1.925 MB / 2.27 GB, free: 58.63 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/3.274, allocations: 4 kB / 2.27 GB, free: 58.62 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002187/3.276, allocations: 0.6239 MB / 2.27 GB, free: 58 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004079/3.281, allocations: 0.7992 MB / 2.271 GB, free: 57.21 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02809/3.309, allocations: 14.47 MB / 2.285 GB, free: 42.24 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009634/3.31, allocations: 1.297 MB / 2.286 GB, free: 40.92 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002499/3.312, allocations: 388.8 kB / 2.287 GB, free: 40.53 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/3.313, allocations: 0.6476 MB / 2.287 GB, free: 39.88 MB / 1.167 GB Notification: Performance of SimCode: time 1.543e-06/3.313, allocations: 0 / 2.287 GB, free: 39.88 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6595/3.973, allocations: 57.69 MB / 2.344 GB, free: 256.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/3.973, allocations: 275 kB / 2.344 GB, free: 256.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.914/7.887, allocations: 5.844 kB / 2.344 GB, free: 256.1 MB / 1.167 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