Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_Static,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_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.00102/0.001019, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007392/0.007392, allocations: 170 kB / 16.27 MB, free: 6.66 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.463/1.463, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.563/2.563, allocations: 437.8 MB / 0.7121 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003263, allocations: 12 kB / 0.8729 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5853/0.5856, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.06597/0.6517, allocations: 68.27 MB / 1.09 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02199/0.6737, allocations: 14.4 MB / 1.104 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003731/0.6775, allocations: 71.56 kB / 1.104 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00307/0.6806, allocations: 0.7537 MB / 1.105 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007577/0.6882, allocations: 2.346 MB / 1.107 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004577/0.6928, allocations: 1.789 MB / 1.109 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007681/0.7005, allocations: 5.864 MB / 1.114 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002849/0.7033, allocations: 1.281 MB / 1.116 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003243/0.7066, allocations: 1.431 MB / 1.117 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00223/0.7088, allocations: 1.197 MB / 1.118 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003683/0.7092, allocations: 68 kB / 1.118 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004131/0.7133, allocations: 1.736 MB / 1.12 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005548/0.7139, allocations: 334.4 kB / 1.12 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.7154, allocations: 0.8957 MB / 1.121 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005074/0.7205, allocations: 3.345 MB / 1.124 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.7205, allocations: 0 / 1.124 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7205, allocations: 4 kB / 1.124 GB, free: 7.695 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.66e-05/0.7206, allocations: 0 / 1.124 GB, free: 7.695 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004194/0.7248, allocations: 1.948 MB / 1.126 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.7249, allocations: 16.03 kB / 1.126 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003733/0.7252, allocations: 177.6 kB / 1.127 GB, free: 5.48 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006011/0.7313, allocations: 0.7363 MB / 1.127 GB, free: 4.742 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002897/0.7342, allocations: 1.561 MB / 1.129 GB, free: 3.125 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.7344, allocations: 128 kB / 1.129 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000248/0.7346, allocations: 120 kB / 1.129 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004354/0.739, allocations: 1.681 MB / 1.131 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/0.739, allocations: 3.938 kB / 1.131 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000163/0.7392, allocations: 59.98 kB / 1.131 GB, free: 1.035 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.912e-05/0.7393, allocations: 39.92 kB / 1.131 GB, free: 0.9961 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005209/0.7445, allocations: 1.527 MB / 1.132 GB, free: 15.46 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.01057/0.7551, allocations: 7.299 MB / 1.139 GB, free: 7.781 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002512/0.7576, allocations: 0.8495 MB / 1.14 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.7594, allocations: 0.5304 MB / 1.141 GB, free: 6.391 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/0.7608, allocations: 1.267 MB / 1.142 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.7608, allocations: 51.11 kB / 1.142 GB, free: 4.789 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=70): time 3.386e-06/0.7608, allocations: 3.938 kB / 1.142 GB, free: 4.785 MB / 0.8887 GB Notification: Performance of matching and sorting (n=70): time 0.0323/0.7931, allocations: 4.315 MB / 1.146 GB, free: 448 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/0.7932, allocations: 111.4 kB / 1.146 GB, free: 308 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002478/0.7957, allocations: 1.371 MB / 1.148 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001464/0.7959, allocations: 49.64 kB / 1.148 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006284/0.7965, allocations: 0.6725 MB / 1.148 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/0.7968, allocations: 248.4 kB / 1.149 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.797, allocations: 77.67 kB / 1.149 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.7971, allocations: 334 kB / 1.149 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002115/0.7992, allocations: 0.525 MB / 1.15 GB, free: 13 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002296/0.8015, allocations: 0.794 MB / 1.15 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003965/0.8055, allocations: 1.187 MB / 1.151 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.8055, allocations: 4 kB / 1.151 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005706/0.8112, allocations: 1.636 MB / 1.153 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002461/0.8115, allocations: 279.1 kB / 1.153 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.8115, allocations: 4 kB / 1.153 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002229/0.8138, allocations: 0.5703 MB / 1.154 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.8152, allocations: 255.7 kB / 1.154 GB, free: 7.984 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.8173, allocations: 1.171 MB / 1.155 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/0.8197, allocations: 282.6 kB / 1.156 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.8199, allocations: 59.94 kB / 1.156 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.8199, allocations: 4 kB / 1.156 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005019/0.8249, allocations: 1.472 MB / 1.157 GB, free: 4.973 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.825, allocations: 11.98 kB / 1.157 GB, free: 4.961 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/0.8269, allocations: 0.5677 MB / 1.158 GB, free: 4.391 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.8283, allocations: 247.6 kB / 1.158 GB, free: 4.148 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.8303, allocations: 1.173 MB / 1.159 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/0.8326, allocations: 254.8 kB / 1.159 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.8328, allocations: 55.89 kB / 1.159 GB, free: 2.645 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,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0007835/0.8335, allocations: 464.9 kB / 1.16 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003498/0.8339, allocations: 146.2 kB / 1.16 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004728/0.8386, allocations: 1.41 MB / 1.161 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.8387, allocations: 8 kB / 1.161 GB, free: 0.6016 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.8387, allocations: 3.938 kB / 1.161 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004105/0.8428, allocations: 1.219 MB / 1.162 GB, free: 15.34 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00823/0.851, allocations: 3.5 MB / 1.166 GB, free: 11.64 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.8511, allocations: 4 kB / 1.166 GB, free: 11.64 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009324/0.852, allocations: 151.9 kB / 1.166 GB, free: 11.49 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001975/0.854, allocations: 0.5594 MB / 1.167 GB, free: 10.93 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.048e-05/0.8541, allocations: 27.97 kB / 1.167 GB, free: 10.9 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/0.8561, allocations: 1.17 MB / 1.168 GB, free: 9.707 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.8561, allocations: 4.125 kB / 1.168 GB, free: 9.703 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004597/0.8607, allocations: 1.497 MB / 1.169 GB, free: 8.133 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008034/0.8615, allocations: 395 kB / 1.17 GB, free: 7.727 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003148/0.8618, allocations: 16 kB / 1.17 GB, free: 7.711 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/0.8638, allocations: 163.7 kB / 1.17 GB, free: 7.551 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.864, allocations: 60.25 kB / 1.17 GB, free: 7.492 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.8641, allocations: 39.95 kB / 1.17 GB, free: 7.453 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001846/0.866, allocations: 0.9693 MB / 1.171 GB, free: 6.484 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.866, allocations: 0 / 1.171 GB, free: 6.484 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002677/0.8686, allocations: 0.8928 MB / 1.172 GB, free: 5.59 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,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006043/0.8747, allocations: 2.462 MB / 1.174 GB, free: 3.055 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.006841/0.8816, allocations: 1.917 MB / 1.176 GB, free: 1.141 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.8816, allocations: 4.438 kB / 1.176 GB, free: 1.137 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002044/0.8836, allocations: 0.5609 MB / 1.176 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004949/0.8886, allocations: 0.8095 MB / 1.177 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.033/0.9216, allocations: 13.45 MB / 1.19 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000947/0.9226, allocations: 1.203 MB / 1.192 GB, free: 488 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001828/0.9244, allocations: 335.5 kB / 1.192 GB, free: 156 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008644/0.9253, allocations: 0.5618 MB / 1.192 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of SimCode: time 1.192e-06/0.9253, allocations: 0 / 1.192 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.828/3.753, allocations: 51 MB / 1.242 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003715/3.754, allocations: 288.1 kB / 1.243 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.197/6.95, allocations: 0 / 1.243 GB, free: 12.84 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)