Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.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_Static,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",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.237/1.237, allocations: 251.5 MB / 266.7 MB, free: 11 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.0008471/0.0008471, allocations: 172 kB / 325.8 MB, free: 2.68 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.345/1.345, allocations: 205 MB / 0.576 GB, free: 21.04 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.0006474/0.0006474, allocations: 87.98 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000273/0.000273, allocations: 12.62 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.143, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.03937/0.1824, allocations: 69.16 MB / 0.9637 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01761/0.2, allocations: 14.73 MB / 0.9781 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002109/0.2022, allocations: 71.56 kB / 0.9782 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.2044, allocations: 0.7459 MB / 0.9789 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005633/0.21, allocations: 2.323 MB / 0.9812 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004045/0.2141, allocations: 1.806 MB / 0.9829 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005465/0.2196, allocations: 5.815 MB / 0.9886 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.221, allocations: 1.254 MB / 0.9898 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002027/0.223, allocations: 1.446 MB / 0.9913 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.2242, allocations: 1.194 MB / 0.9924 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.2243, allocations: 68 kB / 0.9925 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00318/0.2275, allocations: 1.813 MB / 0.9943 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002896/0.2278, allocations: 326.4 kB / 0.9946 GB, free: 15 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0007857/0.2286, allocations: 0.8706 MB / 0.9954 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003812/0.2324, allocations: 3.415 MB / 0.9988 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2324, allocations: 0 / 0.9988 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2325, allocations: 0 / 0.9988 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.828e-05/0.2325, allocations: 0 / 0.9988 GB, free: 10.7 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.003134/0.2356, allocations: 1.983 MB / 1.001 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2357, allocations: 11.97 kB / 1.001 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002063/0.2359, allocations: 177.6 kB / 1.001 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004903/0.2408, allocations: 0.7324 MB / 1.002 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.2428, allocations: 1.533 MB / 1.003 GB, free: 6.129 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.243, allocations: 128 kB / 1.003 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.2431, allocations: 124 kB / 1.003 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003336/0.2465, allocations: 1.669 MB / 1.005 GB, free: 4.109 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.2465, allocations: 7.922 kB / 1.005 GB, free: 4.102 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.2466, allocations: 48 kB / 1.005 GB, free: 4.055 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.763e-05/0.2467, allocations: 39.94 kB / 1.005 GB, free: 4.016 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004253/0.2509, allocations: 1.527 MB / 1.007 GB, free: 2.48 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.008098/0.259, allocations: 7.303 MB / 1.014 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002123/0.2612, allocations: 0.8435 MB / 1.014 GB, free: 9.941 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.2627, allocations: 0.523 MB / 1.015 GB, free: 9.414 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/0.2639, allocations: 1.274 MB / 1.016 GB, free: 7.863 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.2639, allocations: 43.69 kB / 1.016 GB, free: 7.812 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 2.345e-06/0.2639, allocations: 0 / 1.016 GB, free: 7.812 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.02648/0.2904, allocations: 4.315 MB / 1.021 GB, free: 3.465 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.2905, allocations: 111.4 kB / 1.021 GB, free: 3.332 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.2923, allocations: 1.363 MB / 1.022 GB, free: 1.957 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.351e-05/0.2923, allocations: 41.7 kB / 1.022 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004999/0.2929, allocations: 0.6803 MB / 1.023 GB, free: 1.223 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.293, allocations: 252.4 kB / 1.023 GB, free: 0.9727 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.2932, allocations: 73.67 kB / 1.023 GB, free: 0.8945 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.2933, allocations: 337.9 kB / 1.023 GB, free: 0.5586 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/0.295, allocations: 0.525 MB / 1.024 GB, free: 36 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/0.297, allocations: 0.8018 MB / 1.025 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003295/0.3003, allocations: 1.187 MB / 1.026 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.3003, allocations: 0 / 1.026 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004554/0.3049, allocations: 1.64 MB / 1.027 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.305, allocations: 276.9 kB / 1.028 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.3051, allocations: 8 kB / 1.028 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001681/0.3067, allocations: 0.5535 MB / 1.028 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.3079, allocations: 247.6 kB / 1.028 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.3096, allocations: 1.174 MB / 1.03 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/0.3117, allocations: 286.6 kB / 1.03 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.3119, allocations: 55.94 kB / 1.03 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.512e-06/0.3119, allocations: 4 kB / 1.03 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004273/0.3162, allocations: 1.48 MB / 1.031 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.3162, allocations: 4 kB / 1.031 GB, free: 8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/0.3178, allocations: 0.5551 MB / 1.032 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.3189, allocations: 243.6 kB / 1.032 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.3206, allocations: 1.17 MB / 1.033 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.3225, allocations: 250.9 kB / 1.033 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.862e-05/0.3226, allocations: 59.89 kB / 1.034 GB, free: 5.707 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 (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.0005986/0.3232, allocations: 453.5 kB / 1.034 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.3234, allocations: 146.2 kB / 1.034 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003934/0.3274, allocations: 1.403 MB / 1.035 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.3274, allocations: 11.98 kB / 1.035 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3274, allocations: 3.938 kB / 1.035 GB, free: 3.672 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003416/0.3308, allocations: 1.211 MB / 1.037 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006549/0.3374, allocations: 3.504 MB / 1.04 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.3374, allocations: 4 kB / 1.04 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007704/0.3382, allocations: 156 kB / 1.04 GB, free: 14.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001593/0.3398, allocations: 0.5376 MB / 1.041 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.124e-05/0.3398, allocations: 23.97 kB / 1.041 GB, free: 13.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/0.3415, allocations: 1.166 MB / 1.042 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.3415, allocations: 7.984 kB / 1.042 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00373/0.3452, allocations: 1.489 MB / 1.043 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004456/0.3457, allocations: 347.1 kB / 1.044 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.3459, allocations: 20 kB / 1.044 GB, free: 10.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/0.3475, allocations: 165.9 kB / 1.044 GB, free: 10.69 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.852e-05/0.3476, allocations: 56.25 kB / 1.044 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-05/0.3477, allocations: 43.95 kB / 1.044 GB, free: 10.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00127/0.3489, allocations: 0.9613 MB / 1.045 GB, free: 9.633 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3489, allocations: 0 / 1.045 GB, free: 9.633 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001904/0.3509, allocations: 0.9357 MB / 1.046 GB, free: 8.695 MB / 0.698 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.004885/0.3557, allocations: 2.496 MB / 1.048 GB, free: 6.133 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005736/0.3615, allocations: 1.925 MB / 1.05 GB, free: 4.211 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.3615, allocations: 4 kB / 1.05 GB, free: 4.207 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001672/0.3632, allocations: 0.5652 MB / 1.051 GB, free: 3.645 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003601/0.3668, allocations: 0.8055 MB / 1.052 GB, free: 2.855 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2895/0.6563, allocations: 13.4 MB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000744/0.6571, allocations: 1.202 MB / 1.066 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00159/0.6587, allocations: 331.4 kB / 1.066 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006791/0.6594, allocations: 0.567 MB / 1.067 GB, free: 145.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/0.6594, allocations: 0 / 1.067 GB, free: 145.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.398/1.057, allocations: 51.15 MB / 1.117 GB, free: 109 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/1.058, allocations: 297.8 kB / 1.117 GB, free: 108.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.438/4.496, allocations: 0 / 1.117 GB, free: 108.6 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)