Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",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.0007751/0.0007751, allocations: 97.64 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.004802/0.004802, allocations: 171.6 kB / 16.27 MB, free: 6.328 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.102/1.102, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7523/0.7523, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002485/0.0002485, allocations: 8.781 kB / 0.5077 GB, free: 4.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1118, allocations: 82.31 MB / 0.5881 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.2429/0.3547, allocations: 68.21 MB / 0.6547 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01249/0.3672, allocations: 14.35 MB / 0.6687 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.3689, allocations: 65.25 kB / 0.6688 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.3704, allocations: 0.7542 MB / 0.6695 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004697/0.3751, allocations: 2.334 MB / 0.6718 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003441/0.3785, allocations: 1.778 MB / 0.6735 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005673/0.3842, allocations: 5.899 MB / 0.6793 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.3861, allocations: 1.293 MB / 0.6805 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002606/0.3887, allocations: 1.431 MB / 0.6819 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.3907, allocations: 1.191 MB / 0.6831 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002499/0.3909, allocations: 68.22 kB / 0.6832 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003016/0.3939, allocations: 1.734 MB / 0.6849 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003093/0.3943, allocations: 328.3 kB / 0.6852 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008189/0.3951, allocations: 0.9005 MB / 0.686 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003238/0.3983, allocations: 3.356 MB / 0.6893 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.3983, allocations: 0 / 0.6893 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.276e-06/0.3984, allocations: 0.7031 kB / 0.6893 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.676e-05/0.3984, allocations: 5.188 kB / 0.6893 GB, free: 7.625 MB / 0.5137 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.002828/0.4012, allocations: 1.927 MB / 0.6912 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.4012, allocations: 9.938 kB / 0.6912 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001992/0.4014, allocations: 178.8 kB / 0.6914 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00476/0.4062, allocations: 0.746 MB / 0.6921 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/0.4082, allocations: 1.559 MB / 0.6936 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.4083, allocations: 132.5 kB / 0.6938 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.4085, allocations: 118.1 kB / 0.6939 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003303/0.4118, allocations: 1.654 MB / 0.6955 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.4118, allocations: 6.562 kB / 0.6955 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.4119, allocations: 53.48 kB / 0.6956 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.555e-05/0.412, allocations: 34.36 kB / 0.6956 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004023/0.416, allocations: 1.5 MB / 0.6971 GB, free: 3.734 MB / 0.5137 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.007603/0.4236, allocations: 7.023 MB / 0.7039 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.4255, allocations: 0.7562 MB / 0.7046 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/0.427, allocations: 0.5045 MB / 0.7051 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.428, allocations: 1.263 MB / 0.7064 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.4281, allocations: 49.56 kB / 0.7064 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 1.753e-06/0.4281, allocations: 0 / 0.7064 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.01803/0.4461, allocations: 3.126 MB / 0.7095 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.4462, allocations: 111 kB / 0.7096 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.4478, allocations: 1.368 MB / 0.7109 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.647e-05/0.4479, allocations: 45.2 kB / 0.711 GB, free: 10 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004606/0.4484, allocations: 0.688 MB / 0.7116 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/0.4486, allocations: 238.3 kB / 0.7119 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.4487, allocations: 81.23 kB / 0.7119 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.843e-05/0.4488, allocations: 342.2 kB / 0.7123 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.4504, allocations: 0.524 MB / 0.7128 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/0.4523, allocations: 0.795 MB / 0.7136 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003161/0.4554, allocations: 1.177 MB / 0.7147 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.4555, allocations: 1.875 kB / 0.7147 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004172/0.4596, allocations: 1.604 MB / 0.7163 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.4598, allocations: 278.5 kB / 0.7165 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.4598, allocations: 8.281 kB / 0.7165 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/0.4612, allocations: 489.4 kB / 0.717 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.4624, allocations: 265.8 kB / 0.7173 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.4637, allocations: 0.9997 MB / 0.7182 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/0.4656, allocations: 285.8 kB / 0.7185 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-05/0.4657, allocations: 54.97 kB / 0.7186 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.829e-06/0.4658, allocations: 7.312 kB / 0.7186 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003976/0.4697, allocations: 1.44 MB / 0.72 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4698, allocations: 4 kB / 0.72 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.4711, allocations: 495.2 kB / 0.7205 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.4723, allocations: 267.6 kB / 0.7207 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.4736, allocations: 0.9895 MB / 0.7217 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/0.4752, allocations: 254.8 kB / 0.7219 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.4753, allocations: 52.2 kB / 0.722 GB, free: 1.922 MB / 0.5294 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 (94): * Single equations (assignments): 93 * 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 {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0004804/0.4758, allocations: 456.8 kB / 0.7224 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.476, allocations: 142.3 kB / 0.7225 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003641/0.4796, allocations: 1.342 MB / 0.7238 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.4797, allocations: 8 kB / 0.7239 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4797, allocations: 0 / 0.7239 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003181/0.4829, allocations: 1.147 MB / 0.725 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005852/0.4887, allocations: 3.079 MB / 0.728 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.4887, allocations: 4 kB / 0.728 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000792/0.4895, allocations: 155.8 kB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/0.4909, allocations: 481.9 kB / 0.7286 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.165e-05/0.491, allocations: 27.97 kB / 0.7286 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/0.4923, allocations: 0.9944 MB / 0.7296 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4923, allocations: 4 kB / 0.7296 GB, free: 9.906 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004959/0.4973, allocations: 1.986 MB / 0.7315 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004427/0.4977, allocations: 398.9 kB / 0.7319 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.4979, allocations: 16 kB / 0.7319 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/0.4994, allocations: 155.5 kB / 0.7321 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.653e-05/0.4995, allocations: 60.19 kB / 0.7321 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-05/0.4996, allocations: 47.94 kB / 0.7322 GB, free: 7.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001197/0.5008, allocations: 0.9816 MB / 0.7331 GB, free: 6.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5008, allocations: 4 kB / 0.7331 GB, free: 6.176 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001889/0.5027, allocations: 0.8889 MB / 0.734 GB, free: 5.285 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (48): * Single equations (assignments): 45 * 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 {(2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00616/0.5088, allocations: 2.957 MB / 0.7369 GB, free: 2.262 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005305/0.5142, allocations: 1.861 MB / 0.7387 GB, free: 404 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.5142, allocations: 12.06 kB / 0.7387 GB, free: 392 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.5157, allocations: 0.5293 MB / 0.7392 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003737/0.5195, allocations: 0.8138 MB / 0.74 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02491/0.5444, allocations: 13.54 MB / 0.7533 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/0.545, allocations: 1.215 MB / 0.7545 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0013/0.5463, allocations: 370.6 kB / 0.7548 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006754/0.547, allocations: 0.5838 MB / 0.7554 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.547, allocations: 0 / 0.7554 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.735/2.282, allocations: 50.63 MB / 0.8048 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/2.282, allocations: 303.8 kB / 0.8051 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.104/5.386, allocations: 0 / 0.8051 GB, free: 12.29 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)