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.245/1.245, allocations: 251.5 MB / 266.7 MB, free: 11.02 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.000819/0.000819, allocations: 164.9 kB / 325.8 MB, free: 2.664 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.267/1.267, allocations: 205 MB / 0.576 GB, free: 20.99 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.0006617/0.0006617, allocations: 96.23 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002489/0.0002489, allocations: 8.625 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1309, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.03897/0.1699, allocations: 69.13 MB / 0.9637 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01673/0.1867, allocations: 14.72 MB / 0.9781 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.188, allocations: 63.62 kB / 0.9781 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.1896, allocations: 0.7498 MB / 0.9789 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004132/0.1937, allocations: 2.324 MB / 0.9811 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003547/0.1973, allocations: 1.792 MB / 0.9829 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004799/0.2021, allocations: 5.858 MB / 0.9886 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.2035, allocations: 1.254 MB / 0.9898 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001932/0.2054, allocations: 1.45 MB / 0.9913 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.2065, allocations: 1.182 MB / 0.9924 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.2067, allocations: 64 kB / 0.9925 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.2096, allocations: 1.828 MB / 0.9943 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002635/0.2099, allocations: 318.5 kB / 0.9946 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0006967/0.2106, allocations: 0.8705 MB / 0.9954 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003081/0.2137, allocations: 3.419 MB / 0.9988 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2137, allocations: 0 / 0.9988 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2137, allocations: 0 / 0.9988 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.2137, allocations: 0 / 0.9988 GB, free: 10.68 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.00282/0.2165, allocations: 1.952 MB / 1.001 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.2166, allocations: 12.03 kB / 1.001 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001866/0.2168, allocations: 177.6 kB / 1.001 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004909/0.2217, allocations: 0.7363 MB / 1.002 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.2236, allocations: 1.539 MB / 1.003 GB, free: 6.129 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.2237, allocations: 136 kB / 1.003 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.2239, allocations: 120 kB / 1.003 GB, free: 5.871 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003178/0.2271, allocations: 1.64 MB / 1.005 GB, free: 4.141 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.2271, allocations: 4 kB / 1.005 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.2273, allocations: 52 kB / 1.005 GB, free: 4.086 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.74e-05/0.2273, allocations: 43.92 kB / 1.005 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004131/0.2314, allocations: 1.496 MB / 1.006 GB, free: 2.539 MB / 0.6511 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.007963/0.2394, allocations: 7.014 MB / 1.013 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/0.2413, allocations: 0.754 MB / 1.014 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/0.2428, allocations: 0.5027 MB / 1.015 GB, free: 9.91 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/0.2439, allocations: 1.271 MB / 1.016 GB, free: 8.363 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.244, allocations: 51.11 kB / 1.016 GB, free: 8.305 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=68): time 1.783e-06/0.244, allocations: 3.938 kB / 1.016 GB, free: 8.301 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68): time 0.01809/0.2621, allocations: 3.129 MB / 1.019 GB, free: 5.141 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.2621, allocations: 111.4 kB / 1.019 GB, free: 5.008 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.2638, allocations: 1.358 MB / 1.02 GB, free: 3.637 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-05/0.2639, allocations: 41.7 kB / 1.02 GB, free: 3.59 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000494/0.2644, allocations: 0.6917 MB / 1.021 GB, free: 2.891 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.2646, allocations: 240.6 kB / 1.021 GB, free: 2.652 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.2647, allocations: 81.67 kB / 1.021 GB, free: 2.566 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2648, allocations: 345.9 kB / 1.022 GB, free: 2.223 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/0.2665, allocations: 0.5172 MB / 1.022 GB, free: 1.707 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001903/0.2684, allocations: 0.794 MB / 1.023 GB, free: 0.7969 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003299/0.2717, allocations: 1.176 MB / 1.024 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2718, allocations: 4 kB / 1.024 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004451/0.2762, allocations: 1.593 MB / 1.026 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.2764, allocations: 276.8 kB / 1.026 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.2764, allocations: 11.94 kB / 1.026 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/0.2779, allocations: 472 kB / 1.026 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.2791, allocations: 267.5 kB / 1.027 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.2806, allocations: 1.002 MB / 1.028 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/0.2826, allocations: 278.6 kB / 1.028 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.422e-05/0.2827, allocations: 55.94 kB / 1.028 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.451e-06/0.2827, allocations: 4 kB / 1.028 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00418/0.2869, allocations: 1.445 MB / 1.029 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.2869, allocations: 8.25 kB / 1.029 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001384/0.2883, allocations: 473.1 kB / 1.03 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.2895, allocations: 267.6 kB / 1.03 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.291, allocations: 0.9973 MB / 1.031 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.2927, allocations: 247.6 kB / 1.031 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.929e-05/0.2928, allocations: 59.89 kB / 1.031 GB, free: 7.965 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 (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.0005203/0.2933, allocations: 452.8 kB / 1.032 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/0.2936, allocations: 146.2 kB / 1.032 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003804/0.2974, allocations: 1.341 MB / 1.033 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.2974, allocations: 8 kB / 1.033 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2974, allocations: 0 / 1.033 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003306/0.3007, allocations: 1.147 MB / 1.034 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006064/0.3068, allocations: 3.061 MB / 1.037 GB, free: 1.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.3068, allocations: 4 kB / 1.037 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007882/0.3076, allocations: 151.8 kB / 1.037 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001381/0.309, allocations: 464.4 kB / 1.038 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-05/0.3091, allocations: 27.97 kB / 1.038 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.3105, allocations: 0.9988 MB / 1.039 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.3105, allocations: 7.938 kB / 1.039 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005073/0.3156, allocations: 1.978 MB / 1.041 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004348/0.316, allocations: 351 kB / 1.041 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.3162, allocations: 23.98 kB / 1.041 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/0.3177, allocations: 157.5 kB / 1.041 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.937e-05/0.3178, allocations: 56.25 kB / 1.041 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-05/0.3179, allocations: 39.95 kB / 1.041 GB, free: 13.29 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001263/0.3192, allocations: 0.9814 MB / 1.042 GB, free: 12.31 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3192, allocations: 0 / 1.042 GB, free: 12.31 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001843/0.321, allocations: 0.9279 MB / 1.043 GB, free: 11.38 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.00638/0.3274, allocations: 2.998 MB / 1.046 GB, free: 8.305 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005473/0.3329, allocations: 1.869 MB / 1.048 GB, free: 6.434 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3329, allocations: 0 / 1.048 GB, free: 6.434 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001613/0.3345, allocations: 0.5337 MB / 1.049 GB, free: 5.906 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003688/0.3382, allocations: 0.8113 MB / 1.049 GB, free: 5.105 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2776/0.6158, allocations: 13.47 MB / 1.063 GB, free: 147.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006986/0.6165, allocations: 1.21 MB / 1.064 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001639/0.6182, allocations: 363.9 kB / 1.064 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006864/0.6189, allocations: 0.5709 MB / 1.065 GB, free: 146.4 MB / 0.698 GB Notification: Performance of SimCode: time 6.32e-07/0.6189, allocations: 0 / 1.065 GB, free: 146.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.019/1.638, allocations: 50.84 MB / 1.114 GB, free: 110.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001534/1.638, allocations: 307.8 kB / 1.115 GB, free: 110.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.779/5.417, allocations: 3.938 kB / 1.115 GB, free: 110.5 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)