Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_10_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.000893/0.000893, allocations: 89.89 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.005267/0.005267, allocations: 171.2 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.314/1.314, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.564/2.564, allocations: 437.8 MB / 0.7121 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003244, allocations: 11.98 kB / 0.8729 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5695/0.5698, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.07184/0.6417, allocations: 68.24 MB / 1.09 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02184/0.6635, allocations: 14.49 MB / 1.104 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002662/0.6662, allocations: 67.56 kB / 1.104 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00237/0.6686, allocations: 0.7459 MB / 1.105 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007271/0.676, allocations: 2.354 MB / 1.107 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004933/0.6809, allocations: 1.779 MB / 1.109 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007006/0.6879, allocations: 5.854 MB / 1.114 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002173/0.6901, allocations: 1.281 MB / 1.116 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003024/0.6932, allocations: 1.431 MB / 1.117 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002147/0.6953, allocations: 1.186 MB / 1.118 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003105/0.6956, allocations: 68 kB / 1.118 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004123/0.6998, allocations: 1.743 MB / 1.12 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005299/0.7003, allocations: 326.5 kB / 1.12 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.7016, allocations: 0.8956 MB / 1.121 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004146/0.7058, allocations: 3.334 MB / 1.124 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7058, allocations: 0 / 1.124 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.133e-06/0.7058, allocations: 0 / 1.124 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.7058, allocations: 3.938 kB / 1.124 GB, free: 7.711 MB / 0.8731 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.003649/0.7095, allocations: 1.951 MB / 1.126 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.7095, allocations: 8.031 kB / 1.126 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002292/0.7097, allocations: 177.5 kB / 1.127 GB, free: 5.5 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005276/0.715, allocations: 0.6896 MB / 1.127 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/0.7175, allocations: 1.557 MB / 1.129 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.7177, allocations: 128 kB / 1.129 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002627/0.7179, allocations: 116 kB / 1.129 GB, free: 2.949 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004141/0.7221, allocations: 1.648 MB / 1.131 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.7221, allocations: 4 kB / 1.131 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.7223, allocations: 56 kB / 1.131 GB, free: 1.148 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.557e-05/0.7223, allocations: 43.88 kB / 1.131 GB, free: 1.105 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004794/0.7271, allocations: 1.464 MB / 1.132 GB, free: 15.63 MB / 0.8887 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.01077/0.7379, allocations: 7.214 MB / 1.139 GB, free: 8.039 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002263/0.7402, allocations: 0.8105 MB / 1.14 GB, free: 7.219 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/0.7418, allocations: 0.5027 MB / 1.14 GB, free: 6.715 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/0.7432, allocations: 1.271 MB / 1.142 GB, free: 5.168 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.7432, allocations: 43.11 kB / 1.142 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=68): time 2.164e-06/0.7432, allocations: 0 / 1.142 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of matching and sorting (n=68): time 0.01016/0.7534, allocations: 2.248 MB / 1.144 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.7535, allocations: 115.4 kB / 1.144 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/0.7555, allocations: 1.363 MB / 1.145 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.365e-05/0.7556, allocations: 45.7 kB / 1.145 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006361/0.7562, allocations: 0.6958 MB / 1.146 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.7565, allocations: 240.6 kB / 1.146 GB, free: 344 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.7566, allocations: 73.67 kB / 1.146 GB, free: 264 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.7568, allocations: 334 kB / 1.147 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001942/0.7587, allocations: 0.4977 MB / 1.147 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.7609, allocations: 0.7744 MB / 1.148 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003742/0.7646, allocations: 1.144 MB / 1.149 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.7646, allocations: 8 kB / 1.149 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004951/0.7696, allocations: 1.558 MB / 1.151 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001848/0.7698, allocations: 273 kB / 1.151 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.7698, allocations: 12 kB / 1.151 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/0.7714, allocations: 459.8 kB / 1.151 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.7728, allocations: 255.6 kB / 1.152 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/0.7744, allocations: 1.084 MB / 1.153 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00233/0.7768, allocations: 274.8 kB / 1.153 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001924/0.777, allocations: 55.94 kB / 1.153 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.777, allocations: 7.938 kB / 1.153 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004633/0.7816, allocations: 1.402 MB / 1.154 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.7817, allocations: 4 kB / 1.154 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001762/0.7834, allocations: 463.6 kB / 1.155 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.7848, allocations: 251.6 kB / 1.155 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.7864, allocations: 1.071 MB / 1.156 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/0.7886, allocations: 247.2 kB / 1.156 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.7888, allocations: 51.95 kB / 1.156 GB, free: 5.727 MB / 0.9044 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.0008725/0.7897, allocations: 456.8 kB / 1.157 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003726/0.79, allocations: 146.2 kB / 1.157 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00429/0.7943, allocations: 1.316 MB / 1.158 GB, free: 3.789 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.7944, allocations: 8.188 kB / 1.158 GB, free: 3.781 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.7944, allocations: 7.938 kB / 1.158 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003743/0.7981, allocations: 1.139 MB / 1.159 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008177/0.8063, allocations: 3.438 MB / 1.163 GB, free: 14.96 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.8063, allocations: 4 kB / 1.163 GB, free: 14.95 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009646/0.8073, allocations: 159.8 kB / 1.163 GB, free: 14.8 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/0.8088, allocations: 451.9 kB / 1.163 GB, free: 14.36 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.257e-05/0.8089, allocations: 23.97 kB / 1.163 GB, free: 14.33 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/0.8105, allocations: 1.067 MB / 1.164 GB, free: 13.24 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/0.8105, allocations: 7.938 kB / 1.164 GB, free: 13.23 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004159/0.8147, allocations: 1.405 MB / 1.166 GB, free: 11.75 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008074/0.8155, allocations: 391 kB / 1.166 GB, free: 11.35 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002771/0.8158, allocations: 16 kB / 1.166 GB, free: 11.33 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00193/0.8177, allocations: 159.7 kB / 1.166 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.8179, allocations: 60.25 kB / 1.166 GB, free: 11.12 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.818, allocations: 43.94 kB / 1.166 GB, free: 11.07 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00182/0.8198, allocations: 0.9654 MB / 1.167 GB, free: 10.11 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8198, allocations: 4 kB / 1.167 GB, free: 10.11 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003315/0.8231, allocations: 0.885 MB / 1.168 GB, free: 9.219 MB / 0.92 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.005508/0.8287, allocations: 2.376 MB / 1.17 GB, free: 6.777 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.006508/0.8352, allocations: 1.857 MB / 1.172 GB, free: 4.918 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.8352, allocations: 0 / 1.172 GB, free: 4.918 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001935/0.8372, allocations: 0.5451 MB / 1.173 GB, free: 4.379 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005539/0.8427, allocations: 0.8011 MB / 1.174 GB, free: 3.594 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04914/0.8919, allocations: 13.14 MB / 1.186 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/0.8933, allocations: 1.211 MB / 1.188 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.003003/0.8964, allocations: 339.5 kB / 1.188 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/0.8978, allocations: 0.5695 MB / 1.189 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of SimCode: time 8.61e-07/0.8978, allocations: 0 / 1.189 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1233/1.021, allocations: 49.8 MB / 1.237 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003471/1.022, allocations: 309 kB / 1.237 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.086/4.107, allocations: 0 / 1.237 GB, free: 2.191 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)