Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.682/1.682, allocations: 288.2 MB / 303.2 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001165/0.001164, allocations: 178.9 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 92.42 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007456/0.0007456, allocations: 12.44 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2822, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.05482/0.3371, allocations: 58.52 MB / 1.037 GB, free: 0.9414 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02142/0.3586, allocations: 12.13 MB / 1.048 GB, free: 4.793 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003413/0.362, allocations: 59.62 kB / 1.049 GB, free: 4.734 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003838/0.3659, allocations: 0.785 MB / 1.049 GB, free: 3.945 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.009479/0.3754, allocations: 2.179 MB / 1.051 GB, free: 1.762 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.007571/0.383, allocations: 1.899 MB / 1.053 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00667/0.3897, allocations: 2.623 MB / 1.056 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00297/0.3927, allocations: 1.152 MB / 1.057 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003897/0.3966, allocations: 1.261 MB / 1.058 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002323/0.399, allocations: 0.801 MB / 1.059 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006311/0.3996, allocations: 68 kB / 1.059 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00427/0.4039, allocations: 1.174 MB / 1.06 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007629/0.4047, allocations: 302.8 kB / 1.06 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.4059, allocations: 392.8 kB / 1.061 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004899/0.4108, allocations: 2.428 MB / 1.063 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4109, allocations: 0 / 1.063 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.617e-06/0.4109, allocations: 0 / 1.063 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001178/0.411, allocations: 0 / 1.063 GB, free: 5.656 MB / 0.6823 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.005621/0.4166, allocations: 1.916 MB / 1.065 GB, free: 3.672 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.4167, allocations: 11.97 kB / 1.065 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006136/0.4173, allocations: 177.3 kB / 1.065 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005247/0.4226, allocations: 0.6925 MB / 1.066 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00362/0.4262, allocations: 1.421 MB / 1.067 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.4264, allocations: 120 kB / 1.067 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003139/0.4267, allocations: 128 kB / 1.068 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5425/0.9692, allocations: 1.623 MB / 1.069 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.68e-05/0.9693, allocations: 1.219 kB / 1.069 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002889/0.9696, allocations: 55.39 kB / 1.069 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/0.9697, allocations: 36.77 kB / 1.069 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005869/0.9756, allocations: 1.467 MB / 1.071 GB, free: 89.16 MB / 0.6823 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.01376/0.9894, allocations: 7.242 MB / 1.078 GB, free: 84.24 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002766/0.9922, allocations: 0.809 MB / 1.079 GB, free: 83.96 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001267/0.9935, allocations: 1.267 MB / 1.08 GB, free: 82.55 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.088e-05/0.9936, allocations: 41.06 kB / 1.08 GB, free: 82.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 2.936e-06/0.9936, allocations: 0.9688 kB / 1.08 GB, free: 82.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.01177/1.005, allocations: 2.218 MB / 1.082 GB, free: 81.89 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.797e-05/1.006, allocations: 110.5 kB / 1.082 GB, free: 81.77 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004068/1.01, allocations: 1.396 MB / 1.083 GB, free: 81.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003463/1.01, allocations: 46.11 kB / 1.084 GB, free: 81.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009002/1.011, allocations: 0.6871 MB / 1.084 GB, free: 80.64 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003969/1.011, allocations: 242.4 kB / 1.084 GB, free: 80.45 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.047e-05/1.011, allocations: 15.72 kB / 1.084 GB, free: 80.44 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.012, allocations: 346.8 kB / 1.085 GB, free: 80.12 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/1.014, allocations: 499.1 kB / 1.085 GB, free: 79.99 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002507/1.016, allocations: 0.7653 MB / 1.086 GB, free: 79.54 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002286/1.019, allocations: 0.5471 MB / 1.087 GB, free: 79.36 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/1.019, allocations: 4.25 kB / 1.087 GB, free: 79.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005521/1.024, allocations: 1.551 MB / 1.088 GB, free: 78.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005648/1.025, allocations: 2.483 MB / 1.09 GB, free: 76.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/1.025, allocations: 6.656 kB / 1.09 GB, free: 76.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001926/1.027, allocations: 460.3 kB / 1.091 GB, free: 76.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/1.028, allocations: 263 kB / 1.091 GB, free: 76.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/1.03, allocations: 1.078 MB / 1.092 GB, free: 75.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002928/1.033, allocations: 276.4 kB / 1.092 GB, free: 75.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/1.033, allocations: 58.42 kB / 1.093 GB, free: 75.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.033, allocations: 3.312 kB / 1.093 GB, free: 75.23 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005142/1.038, allocations: 1.389 MB / 1.094 GB, free: 74.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/1.038, allocations: 7.062 kB / 1.094 GB, free: 74.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/1.04, allocations: 466.6 kB / 1.094 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/1.042, allocations: 263.5 kB / 1.095 GB, free: 74.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/1.043, allocations: 1.078 MB / 1.096 GB, free: 73.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002594/1.046, allocations: 244 kB / 1.096 GB, free: 73.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/1.046, allocations: 52.84 kB / 1.096 GB, free: 73.8 MB / 0.6823 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 ($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 (82): * Single equations (assignments): 81 * 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 23} Notification: Performance of prepare postOptimizeDAE: time 0.001093/1.047, allocations: 453.6 kB / 1.096 GB, free: 73.46 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004626/1.048, allocations: 145.6 kB / 1.096 GB, free: 73.38 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004631/1.052, allocations: 1.317 MB / 1.098 GB, free: 72.89 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/1.052, allocations: 7.922 kB / 1.098 GB, free: 72.89 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/1.052, allocations: 5.219 kB / 1.098 GB, free: 72.89 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003994/1.056, allocations: 1.132 MB / 1.099 GB, free: 72.43 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01/1.066, allocations: 3.45 MB / 1.102 GB, free: 70.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/1.067, allocations: 7.844 kB / 1.102 GB, free: 70.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009333/1.067, allocations: 150.6 kB / 1.102 GB, free: 70.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001585/1.069, allocations: 453.4 kB / 1.103 GB, free: 70.28 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.639e-05/1.069, allocations: 31 kB / 1.103 GB, free: 70.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/1.071, allocations: 1.069 MB / 1.104 GB, free: 69.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/1.071, allocations: 8.828 kB / 1.104 GB, free: 69.44 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00442/1.075, allocations: 1.631 MB / 1.106 GB, free: 68.23 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/1.076, allocations: 401.6 kB / 1.106 GB, free: 67.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003535/1.077, allocations: 19.97 kB / 1.106 GB, free: 67.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001875/1.079, allocations: 152.1 kB / 1.106 GB, free: 67.82 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/1.079, allocations: 58.67 kB / 1.106 GB, free: 67.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.707e-05/1.079, allocations: 51.53 kB / 1.106 GB, free: 67.76 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001653/1.08, allocations: 0.9831 MB / 1.107 GB, free: 67.21 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.21e-07/1.08, allocations: 0 / 1.107 GB, free: 67.21 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003337/1.084, allocations: 0.9022 MB / 1.108 GB, free: 67.04 MB / 0.6823 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 (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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.00582/1.09, allocations: 3.669 MB / 1.112 GB, free: 64.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006705/1.096, allocations: 1.843 MB / 1.113 GB, free: 63.36 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/1.096, allocations: 6.469 kB / 1.113 GB, free: 63.36 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001905/1.098, allocations: 0.5421 MB / 1.114 GB, free: 63.11 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004424/1.103, allocations: 0.7735 MB / 1.115 GB, free: 62.75 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/1.113, allocations: 8.143 MB / 1.123 GB, free: 55.68 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000849/1.114, allocations: 1.241 MB / 1.124 GB, free: 54.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002241/1.116, allocations: 342.7 kB / 1.124 GB, free: 54.54 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007817/1.117, allocations: 0.556 MB / 1.125 GB, free: 54.07 MB / 0.6823 GB Notification: Performance of SimCode: time 2.184e-06/1.117, allocations: 4 kB / 1.125 GB, free: 54.06 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07882/1.196, allocations: 49.24 MB / 1.173 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/1.196, allocations: 275.8 kB / 1.173 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.806/5.002, allocations: 0 / 1.173 GB, free: 10.13 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)