Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.51/2.51, allocations: 390.3 MB / 0.6653 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003084/0.0003084, allocations: 8 kB / 0.8146 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6865/0.6868, allocations: 142.3 MB / 0.9536 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.108/0.7949, allocations: 105.5 MB / 1.057 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02028/0.8152, allocations: 13.14 MB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002805/0.8181, allocations: 63.56 kB / 1.07 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003279/0.8214, allocations: 0.8278 MB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.008317/0.8297, allocations: 2.282 MB / 1.073 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006872/0.8366, allocations: 1.986 MB / 1.075 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.006137/0.8427, allocations: 2.744 MB / 1.077 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002163/0.8449, allocations: 1.257 MB / 1.078 GB, free: 8 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002936/0.8479, allocations: 1.316 MB / 1.08 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.8494, allocations: 0.8633 MB / 1.081 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000212/0.8496, allocations: 72 kB / 1.081 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003239/0.8529, allocations: 1.217 MB / 1.082 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000466/0.8534, allocations: 334.7 kB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0007154/0.8541, allocations: 416.7 kB / 1.083 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003759/0.8579, allocations: 2.568 MB / 1.085 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.8579, allocations: 0 / 1.085 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.165e-06/0.8579, allocations: 0 / 1.085 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.2e-05/0.8579, allocations: 0 / 1.085 GB, free: 9.215 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.004023/0.8619, allocations: 2.04 MB / 1.087 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.862, allocations: 12.03 kB / 1.087 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002913/0.8623, allocations: 193.7 kB / 1.087 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005402/0.8677, allocations: 0.7469 MB / 1.088 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002855/0.8706, allocations: 1.546 MB / 1.089 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.8707, allocations: 132.1 kB / 1.09 GB, free: 4.406 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/0.8709, allocations: 124 kB / 1.09 GB, free: 4.285 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003876/0.8748, allocations: 1.739 MB / 1.091 GB, free: 2.445 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.8749, allocations: 0 / 1.091 GB, free: 2.445 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/0.875, allocations: 56 kB / 1.091 GB, free: 2.391 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-05/0.8751, allocations: 35.94 kB / 1.091 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004808/0.8799, allocations: 1.527 MB / 1.093 GB, free: 0.8203 MB / 0.8419 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.01119/0.8911, allocations: 7.603 MB / 1.1 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004067/0.8952, allocations: 1.2 MB / 1.102 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/0.8967, allocations: 1.271 MB / 1.103 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002307/0.899, allocations: 0.6991 MB / 1.104 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=80): time 2.896e-06/0.899, allocations: 0 / 1.104 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of matching and sorting (n=80): time 0.01842/0.9174, allocations: 3.226 MB / 1.107 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.951e-05/0.9175, allocations: 141.1 kB / 1.107 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/0.9196, allocations: 1.312 MB / 1.108 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001737/0.9198, allocations: 49.7 kB / 1.108 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006403/0.9204, allocations: 0.7153 MB / 1.109 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003067/0.9207, allocations: 288 kB / 1.109 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.9208, allocations: 27.94 kB / 1.109 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.9209, allocations: 334 kB / 1.109 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001972/0.9229, allocations: 0.525 MB / 1.11 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/0.9251, allocations: 0.8106 MB / 1.111 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/0.9271, allocations: 0.569 MB / 1.111 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.9271, allocations: 4 kB / 1.111 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005455/0.9326, allocations: 1.668 MB / 1.113 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.001093/0.9337, allocations: 2.405 MB / 1.115 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.9338, allocations: 4 kB / 1.115 GB, free: 8.926 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002184/0.9359, allocations: 0.5723 MB / 1.116 GB, free: 8.352 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.9374, allocations: 247.6 kB / 1.116 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.9396, allocations: 1.182 MB / 1.117 GB, free: 6.902 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/0.9419, allocations: 238.7 kB / 1.117 GB, free: 6.668 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/0.9421, allocations: 55.94 kB / 1.118 GB, free: 6.613 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.9421, allocations: 4 kB / 1.118 GB, free: 6.609 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004997/0.9471, allocations: 1.503 MB / 1.119 GB, free: 5.102 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.9471, allocations: 8.625 kB / 1.119 GB, free: 5.094 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002009/0.9492, allocations: 0.5749 MB / 1.12 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.9505, allocations: 247.6 kB / 1.12 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.9526, allocations: 1.166 MB / 1.121 GB, free: 3.082 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/0.9547, allocations: 237 kB / 1.121 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001746/0.9549, allocations: 59.91 kB / 1.121 GB, free: 2.793 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.00105/0.956, allocations: 470 kB / 1.122 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004357/0.9564, allocations: 150.2 kB / 1.122 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/0.9692, allocations: 2.158 MB / 1.124 GB, free: 0 / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.083e-05/0.9693, allocations: 8.047 kB / 1.124 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.9693, allocations: 8.031 kB / 1.124 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01243/0.9818, allocations: 2.009 MB / 1.126 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009329/0.9911, allocations: 3.68 MB / 1.129 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.9912, allocations: 0 / 1.129 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.9923, allocations: 183.9 kB / 1.13 GB, free: 9.902 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001931/0.9943, allocations: 0.5436 MB / 1.13 GB, free: 9.355 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.796e-05/0.9944, allocations: 39.94 kB / 1.13 GB, free: 9.316 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002029/0.9964, allocations: 1.162 MB / 1.131 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.9964, allocations: 7.953 kB / 1.131 GB, free: 8.121 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005422/1.002, allocations: 1.688 MB / 1.133 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009752/1.003, allocations: 426.8 kB / 1.133 GB, free: 5.906 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003642/1.003, allocations: 16 kB / 1.133 GB, free: 5.891 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00194/1.005, allocations: 160.3 kB / 1.134 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/1.005, allocations: 60.53 kB / 1.134 GB, free: 5.676 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/1.006, allocations: 55.92 kB / 1.134 GB, free: 5.621 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001612/1.007, allocations: 0.8946 MB / 1.135 GB, free: 4.727 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.1e-07/1.007, allocations: 0 / 1.135 GB, free: 4.727 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003319/1.01, allocations: 0.9743 MB / 1.136 GB, free: 3.75 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.007733/1.018, allocations: 3.445 MB / 1.139 GB, free: 432 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.007088/1.025, allocations: 2.037 MB / 1.141 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/1.025, allocations: 4 kB / 1.141 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002225/1.028, allocations: 0.6437 MB / 1.142 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004055/1.032, allocations: 0.7307 MB / 1.142 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/1.043, allocations: 8.093 MB / 1.15 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/1.044, allocations: 1.294 MB / 1.151 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001989/1.046, allocations: 377 kB / 1.152 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009663/1.047, allocations: 0.628 MB / 1.152 GB, free: 2.414 MB / 0.9044 GB Notification: Performance of SimCode: time 1.183e-06/1.047, allocations: 0 / 1.152 GB, free: 2.414 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08876/1.135, allocations: 51.08 MB / 1.202 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000271/1.136, allocations: 254.4 kB / 1.202 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.099/4.235, allocations: 0 / 1.202 GB, free: 15.5 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater_res.mat does not exist to compare? outputFormat=mat