Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",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.0008177/0.0008177, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004799/0.004799, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.037/2.037, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002938, allocations: 16 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5341/0.5344, allocations: 142.4 MB / 0.9552 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.06228/0.5968, allocations: 68.25 MB / 1.022 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01981/0.6166, allocations: 14.48 MB / 1.036 GB, free: 12.35 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002279/0.6189, allocations: 63.62 kB / 1.036 GB, free: 12.29 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.6212, allocations: 0.7498 MB / 1.037 GB, free: 11.54 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006243/0.6274, allocations: 2.349 MB / 1.039 GB, free: 9.18 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004433/0.6319, allocations: 1.788 MB / 1.041 GB, free: 7.41 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006555/0.6385, allocations: 5.866 MB / 1.047 GB, free: 1.527 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/0.6406, allocations: 1.285 MB / 1.048 GB, free: 216 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/0.6433, allocations: 1.419 MB / 1.049 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001804/0.6451, allocations: 1.197 MB / 1.05 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002776/0.6454, allocations: 64 kB / 1.05 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00353/0.649, allocations: 1.735 MB / 1.052 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003947/0.6494, allocations: 330.5 kB / 1.052 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.6505, allocations: 0.8956 MB / 1.053 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00427/0.6548, allocations: 3.337 MB / 1.057 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6548, allocations: 0 / 1.057 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6548, allocations: 3.938 kB / 1.057 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.933e-05/0.6549, allocations: 0 / 1.057 GB, free: 7.199 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003689/0.6586, allocations: 1.937 MB / 1.058 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.6586, allocations: 8.031 kB / 1.058 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000306/0.6589, allocations: 181.5 kB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005116/0.664, allocations: 0.6969 MB / 1.059 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002696/0.6668, allocations: 1.558 MB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.6669, allocations: 120 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002413/0.6672, allocations: 124 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004096/0.6713, allocations: 1.651 MB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.6713, allocations: 7.938 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/0.6715, allocations: 48 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.104e-05/0.6715, allocations: 40 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00486/0.6764, allocations: 1.472 MB / 1.064 GB, free: 15.12 MB / 0.8262 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.01045/0.6869, allocations: 7.191 MB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/0.6892, allocations: 0.8178 MB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.6909, allocations: 0.5066 MB / 1.073 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/0.6922, allocations: 1.274 MB / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.6922, allocations: 43.12 kB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=68): time 2.194e-06/0.6922, allocations: 0 / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of matching and sorting (n=68): time 0.01002/0.7023, allocations: 2.241 MB / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.7023, allocations: 115.4 kB / 1.076 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.7044, allocations: 1.371 MB / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.7045, allocations: 41.7 kB / 1.077 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000557/0.7051, allocations: 0.6881 MB / 1.078 GB, free: 76 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002264/0.7053, allocations: 236.8 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.7054, allocations: 73.67 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.7056, allocations: 337.9 kB / 1.079 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.7074, allocations: 0.4938 MB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/0.7094, allocations: 0.7706 MB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003499/0.7129, allocations: 1.148 MB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.7129, allocations: 4 kB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004746/0.7177, allocations: 1.562 MB / 1.083 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001612/0.7179, allocations: 280.9 kB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.7179, allocations: 8 kB / 1.083 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001524/0.7194, allocations: 453 kB / 1.083 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.7208, allocations: 263.5 kB / 1.084 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.7223, allocations: 1.075 MB / 1.085 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/0.7245, allocations: 274.6 kB / 1.085 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.7246, allocations: 55.95 kB / 1.085 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.7246, allocations: 4 kB / 1.085 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004357/0.729, allocations: 1.406 MB / 1.086 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.729, allocations: 4 kB / 1.086 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.7304, allocations: 453.1 kB / 1.087 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.7317, allocations: 259.5 kB / 1.087 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.7331, allocations: 1.088 MB / 1.088 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/0.7351, allocations: 238.3 kB / 1.088 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-05/0.7352, allocations: 55.94 kB / 1.088 GB, free: 5.227 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0006823/0.7358, allocations: 449.8 kB / 1.089 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.7361, allocations: 146.2 kB / 1.089 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003952/0.74, allocations: 1.323 MB / 1.09 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.7401, allocations: 12 kB / 1.09 GB, free: 3.27 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.7401, allocations: 3.984 kB / 1.09 GB, free: 3.266 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003417/0.7435, allocations: 1.139 MB / 1.091 GB, free: 2.098 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006963/0.7505, allocations: 3.434 MB / 1.095 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.7505, allocations: 4 kB / 1.095 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009115/0.7514, allocations: 159.9 kB / 1.095 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001394/0.7528, allocations: 449.7 kB / 1.095 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.557e-05/0.7529, allocations: 31.91 kB / 1.095 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/0.7543, allocations: 1.072 MB / 1.096 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.7543, allocations: 11.94 kB / 1.096 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003699/0.758, allocations: 1.401 MB / 1.098 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005375/0.7585, allocations: 386.9 kB / 1.098 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.7587, allocations: 19.98 kB / 1.098 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/0.7604, allocations: 162.5 kB / 1.098 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.7605, allocations: 56.31 kB / 1.098 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-05/0.7606, allocations: 39.95 kB / 1.098 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001434/0.762, allocations: 0.9693 MB / 1.099 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.713e-06/0.762, allocations: 0 / 1.099 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002113/0.7641, allocations: 0.8889 MB / 1.1 GB, free: 8.719 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004919/0.7691, allocations: 2.382 MB / 1.103 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.005927/0.775, allocations: 1.853 MB / 1.104 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.775, allocations: 0 / 1.104 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/0.7768, allocations: 0.5413 MB / 1.105 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004185/0.781, allocations: 0.8079 MB / 1.106 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02668/0.8077, allocations: 13.15 MB / 1.118 GB, free: 5.316 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007559/0.8085, allocations: 1.211 MB / 1.12 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00158/0.8101, allocations: 339.1 kB / 1.12 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007575/0.8108, allocations: 0.5695 MB / 1.121 GB, free: 3.172 MB / 0.8731 GB Notification: Performance of SimCode: time 6.41e-07/0.8108, allocations: 0 / 1.121 GB, free: 3.172 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.493/2.303, allocations: 49.8 MB / 1.169 GB, free: 1.969 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002809/2.304, allocations: 303.4 kB / 1.169 GB, free: 1.582 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.042/6.345, allocations: 3.938 kB / 1.169 GB, free: 1.578 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)