Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.795/1.795, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 172.2 kB / 327 MB, free: 2.117 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.4 MB / 0.578 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000807/0.000807, allocations: 90.28 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004056, allocations: 14.31 kB / 0.7971 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2578, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.0532/0.3111, allocations: 68.22 MB / 0.9675 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02273/0.3339, allocations: 14.54 MB / 0.9817 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003791/0.3378, allocations: 59.62 kB / 0.9818 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003537/0.3414, allocations: 0.742 MB / 0.9825 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009369/0.3508, allocations: 2.322 MB / 0.9848 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.006418/0.3572, allocations: 1.801 MB / 0.9865 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009003/0.3662, allocations: 5.862 MB / 0.9923 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003515/0.3698, allocations: 1.266 MB / 0.9935 GB, free: 284 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00456/0.3744, allocations: 1.447 MB / 0.9949 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003053/0.3775, allocations: 1.186 MB / 0.9961 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.000818/0.3784, allocations: 68 kB / 0.9961 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006275/0.3847, allocations: 1.827 MB / 0.9979 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0008679/0.3856, allocations: 318.6 kB / 0.9982 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002578/0.3882, allocations: 0.8956 MB / 0.9991 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.008684/0.3969, allocations: 3.416 MB / 1.002 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.397, allocations: 0 / 1.002 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.988e-06/0.397, allocations: 0 / 1.002 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001199/0.3972, allocations: 0 / 1.002 GB, free: 7.094 MB / 0.6511 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.00594/0.4031, allocations: 1.965 MB / 1.004 GB, free: 5.062 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.47e-05/0.4032, allocations: 8.031 kB / 1.004 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007434/0.4039, allocations: 177.6 kB / 1.005 GB, free: 4.871 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006121/0.4101, allocations: 0.7363 MB / 1.005 GB, free: 4.133 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00408/0.4142, allocations: 1.543 MB / 1.007 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/0.4145, allocations: 128 kB / 1.007 GB, free: 2.402 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005059/0.4151, allocations: 120 kB / 1.007 GB, free: 2.285 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005366/0.4204, allocations: 1.644 MB / 1.009 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.638e-05/0.4206, allocations: 4 kB / 1.009 GB, free: 0.5469 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003131/0.4209, allocations: 48 kB / 1.009 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-05/0.421, allocations: 39.94 kB / 1.009 GB, free: 472 kB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005502/0.4265, allocations: 1.492 MB / 1.01 GB, free: 14.96 MB / 0.6667 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.01404/0.4406, allocations: 7.026 MB / 1.017 GB, free: 7.586 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002438/0.4431, allocations: 0.7513 MB / 1.018 GB, free: 6.824 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001791/0.445, allocations: 0.5027 MB / 1.018 GB, free: 6.32 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001545/0.4466, allocations: 1.271 MB / 1.019 GB, free: 4.77 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.4466, allocations: 47.12 kB / 1.02 GB, free: 4.715 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=68): time 3.477e-06/0.4467, allocations: 0 / 1.02 GB, free: 4.715 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68): time 0.02155/0.4682, allocations: 3.125 MB / 1.023 GB, free: 1.559 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.906e-05/0.4684, allocations: 115.4 kB / 1.023 GB, free: 1.422 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003048/0.4714, allocations: 1.358 MB / 1.024 GB, free: 52 kB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003058/0.4718, allocations: 45.7 kB / 1.024 GB, free: 0 / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008906/0.4727, allocations: 0.6878 MB / 1.025 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004305/0.4731, allocations: 236.6 kB / 1.025 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.4733, allocations: 19.94 kB / 1.025 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.4734, allocations: 349.9 kB / 1.025 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002198/0.4756, allocations: 0.5211 MB / 1.026 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002467/0.4781, allocations: 0.8018 MB / 1.027 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003905/0.4821, allocations: 1.172 MB / 1.028 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.4821, allocations: 4 kB / 1.028 GB, free: 12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01294/0.4951, allocations: 2.163 MB / 1.03 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002793/0.4954, allocations: 276.8 kB / 1.03 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/0.4955, allocations: 8 kB / 1.03 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001984/0.4975, allocations: 475 kB / 1.031 GB, free: 9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.4991, allocations: 267.5 kB / 1.031 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/0.501, allocations: 1 MB / 1.032 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/0.5039, allocations: 278.6 kB / 1.032 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003152/0.5043, allocations: 55.94 kB / 1.032 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.5043, allocations: 4 kB / 1.032 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01252/0.5168, allocations: 2.01 MB / 1.034 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-05/0.5169, allocations: 8 kB / 1.034 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001884/0.5188, allocations: 460.9 kB / 1.035 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/0.5205, allocations: 263.8 kB / 1.035 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.5228, allocations: 0.9973 MB / 1.036 GB, free: 3.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002798/0.5256, allocations: 255.6 kB / 1.036 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002802/0.5259, allocations: 51.95 kB / 1.036 GB, free: 3.324 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 (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.00124/0.5272, allocations: 460.8 kB / 1.036 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005937/0.5278, allocations: 142.2 kB / 1.037 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005033/0.5328, allocations: 1.339 MB / 1.038 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.15e-05/0.5329, allocations: 7.938 kB / 1.038 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.5329, allocations: 0 / 1.038 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003877/0.5368, allocations: 1.154 MB / 1.039 GB, free: 176 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009689/0.5466, allocations: 3.05 MB / 1.042 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-05/0.5466, allocations: 4 kB / 1.042 GB, free: 12.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.5477, allocations: 159.8 kB / 1.042 GB, free: 12.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001825/0.5496, allocations: 455.3 kB / 1.043 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.5497, allocations: 31.91 kB / 1.043 GB, free: 12.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/0.5514, allocations: 0.9972 MB / 1.044 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.443e-06/0.5515, allocations: 7.938 kB / 1.044 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006554/0.558, allocations: 1.982 MB / 1.046 GB, free: 9.273 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.5594, allocations: 395 kB / 1.046 GB, free: 8.867 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006319/0.5601, allocations: 16 kB / 1.046 GB, free: 8.852 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/0.5623, allocations: 159.7 kB / 1.046 GB, free: 8.695 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/0.5625, allocations: 60.23 kB / 1.046 GB, free: 8.633 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/0.5626, allocations: 39.95 kB / 1.046 GB, free: 8.594 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002408/0.5651, allocations: 0.9736 MB / 1.047 GB, free: 7.621 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.11e-07/0.5651, allocations: 0 / 1.047 GB, free: 7.621 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004147/0.5692, allocations: 0.9319 MB / 1.048 GB, free: 6.688 MB / 0.698 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.008798/0.5781, allocations: 3.003 MB / 1.051 GB, free: 3.617 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007228/0.5854, allocations: 1.869 MB / 1.053 GB, free: 1.742 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.426e-05/0.5854, allocations: 0.5625 kB / 1.053 GB, free: 1.742 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001998/0.5875, allocations: 0.5371 MB / 1.053 GB, free: 1.211 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006052/0.5935, allocations: 0.8122 MB / 1.054 GB, free: 424 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4872/1.081, allocations: 13.61 MB / 1.067 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/1.082, allocations: 1.208 MB / 1.069 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002351/1.085, allocations: 363 kB / 1.069 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/1.086, allocations: 0.5737 MB / 1.07 GB, free: 141.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.673e-06/1.086, allocations: 3.531 kB / 1.07 GB, free: 141.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09434/1.18, allocations: 50.83 MB / 1.119 GB, free: 105.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002407/1.18, allocations: 302.4 kB / 1.119 GB, free: 104.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.122/5.302, allocations: 0 / 1.119 GB, free: 104.7 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)