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: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.488/1.488, allocations: 252 MB / 267.6 MB, free: 10.89 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.00102/0.00102, allocations: 175.5 kB / 327.3 MB, free: 2.18 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.962/1.962, allocations: 205.4 MB / 0.5783 GB, free: 20.5 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.0008018/0.0008017, allocations: 99.11 kB / 0.6829 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003516, allocations: 11.91 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2172, allocations: 106.3 MB / 0.9008 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.04672/0.264, allocations: 64.49 MB / 0.9638 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01973/0.2837, allocations: 13.66 MB / 0.9771 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002762/0.2865, allocations: 63.56 kB / 0.9772 GB, free: 1.828 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002416/0.289, allocations: 0.6366 MB / 0.9778 GB, free: 1.188 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006455/0.2954, allocations: 1.986 MB / 0.9798 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0048/0.3003, allocations: 1.448 MB / 0.9812 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007671/0.3079, allocations: 5.024 MB / 0.9861 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/0.3099, allocations: 1.137 MB / 0.9872 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002978/0.3129, allocations: 1.369 MB / 0.9885 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.3145, allocations: 1.124 MB / 0.9896 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.3147, allocations: 68 kB / 0.9897 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003692/0.3184, allocations: 1.509 MB / 0.9912 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003973/0.3188, allocations: 306.6 kB / 0.9915 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006921/0.3195, allocations: 392.8 kB / 0.9918 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003421/0.323, allocations: 2.627 MB / 0.9944 GB, free: 156 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.323, allocations: 0 / 0.9944 GB, free: 156 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.324e-06/0.323, allocations: 0 / 0.9944 GB, free: 156 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.984e-05/0.323, allocations: 0 / 0.9944 GB, free: 156 kB / 0.6355 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.003712/0.3268, allocations: 2.002 MB / 0.9963 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3268, allocations: 12.03 kB / 0.9964 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005412/0.3322, allocations: 0.7238 MB / 0.9971 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002564/0.3348, allocations: 1.499 MB / 0.9985 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.335, allocations: 128 kB / 0.9987 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.3351, allocations: 128 kB / 0.9988 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003817/0.339, allocations: 1.654 MB / 1 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.339, allocations: 7.938 kB / 1 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.3391, allocations: 48 kB / 1 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/0.3392, allocations: 32 kB / 1 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004702/0.3439, allocations: 1.519 MB / 1.002 GB, free: 8.168 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.01/0.3539, allocations: 7.291 MB / 1.009 GB, free: 0.4961 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002358/0.3563, allocations: 0.849 MB / 1.01 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/0.358, allocations: 0.5262 MB / 1.01 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001306/0.3593, allocations: 1.267 MB / 1.012 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.3594, allocations: 47.12 kB / 1.012 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 2.735e-06/0.3594, allocations: 0 / 1.012 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.02927/0.3887, allocations: 4.28 MB / 1.016 GB, free: 9.195 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.679e-05/0.3888, allocations: 111.4 kB / 1.016 GB, free: 9.059 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002406/0.3912, allocations: 1.347 MB / 1.017 GB, free: 7.699 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001848/0.3914, allocations: 45.7 kB / 1.017 GB, free: 7.648 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007007/0.3921, allocations: 0.6763 MB / 1.018 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003117/0.3925, allocations: 248.4 kB / 1.018 GB, free: 6.719 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.3925, allocations: 16 kB / 1.018 GB, free: 6.703 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3927, allocations: 341.9 kB / 1.019 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00192/0.3946, allocations: 0.5133 MB / 1.019 GB, free: 5.852 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002125/0.3968, allocations: 0.8018 MB / 1.02 GB, free: 4.934 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/0.3988, allocations: 0.573 MB / 1.02 GB, free: 4.367 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.3988, allocations: 0 / 1.02 GB, free: 4.367 MB / 0.6667 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005308/0.4041, allocations: 1.625 MB / 1.022 GB, free: 2.73 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001944/0.4043, allocations: 276.4 kB / 1.022 GB, free: 2.367 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.4044, allocations: 4 kB / 1.022 GB, free: 2.363 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001942/0.4063, allocations: 0.5543 MB / 1.023 GB, free: 1.809 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.4076, allocations: 251.6 kB / 1.023 GB, free: 1.562 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.4095, allocations: 1.173 MB / 1.024 GB, free: 372 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/0.4121, allocations: 282.6 kB / 1.024 GB, free: 88 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.4122, allocations: 51.95 kB / 1.025 GB, free: 36 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.4122, allocations: 4 kB / 1.025 GB, free: 32 kB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004638/0.4168, allocations: 1.472 MB / 1.026 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.4169, allocations: 8 kB / 1.026 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001756/0.4186, allocations: 0.5435 MB / 1.027 GB, free: 14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.4199, allocations: 251.6 kB / 1.027 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.4218, allocations: 1.17 MB / 1.028 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/0.4241, allocations: 258.8 kB / 1.028 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.4242, allocations: 59.88 kB / 1.028 GB, free: 12.25 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 (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0009135/0.4251, allocations: 445.5 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/0.4254, allocations: 146.3 kB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004291/0.4297, allocations: 1.399 MB / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.4297, allocations: 8 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4297, allocations: 3.953 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003686/0.4334, allocations: 1.223 MB / 1.031 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007774/0.4412, allocations: 3.493 MB / 1.035 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.4412, allocations: 4 kB / 1.035 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008825/0.4421, allocations: 155.8 kB / 1.035 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001839/0.444, allocations: 0.5215 MB / 1.035 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.69e-05/0.4441, allocations: 23.97 kB / 1.035 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/0.446, allocations: 1.173 MB / 1.037 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.446, allocations: 4 kB / 1.037 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004535/0.4506, allocations: 1.473 MB / 1.038 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009651/0.4516, allocations: 387 kB / 1.038 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.4518, allocations: 23.98 kB / 1.038 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/0.4535, allocations: 165.7 kB / 1.039 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.4537, allocations: 60.25 kB / 1.039 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.608e-05/0.4538, allocations: 39.95 kB / 1.039 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001635/0.4554, allocations: 0.9496 MB / 1.04 GB, free: 196 kB / 0.6823 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4554, allocations: 0 / 1.04 GB, free: 196 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002709/0.4581, allocations: 0.9357 MB / 1.041 GB, free: 15.25 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001384/0.4595, allocations: 0.5631 MB / 1.041 GB, free: 14.69 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006935/0.4665, allocations: 1.898 MB / 1.043 GB, free: 12.79 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.4665, allocations: 4 kB / 1.043 GB, free: 12.79 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002047/0.4686, allocations: 0.5613 MB / 1.043 GB, free: 12.23 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00432/0.4729, allocations: 0.8035 MB / 1.044 GB, free: 11.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008521/0.4815, allocations: 3.152 MB / 1.047 GB, free: 8.211 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/0.4826, allocations: 1.195 MB / 1.048 GB, free: 6.988 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007232/0.4834, allocations: 147.3 kB / 1.049 GB, free: 6.844 MB / 0.698 GB Notification: Performance of SimCode: time 7.01e-07/0.4834, allocations: 0 / 1.049 GB, free: 6.844 MB / 0.698 GB Notification: Performance of Templates: time 0.4499/0.9333, allocations: 35.68 MB / 1.083 GB, free: 134.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)