Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.418/2.418, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001325/0.001325, allocations: 181.6 kB / 325.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.345/2.345, allocations: 205.4 MB / 0.5767 GB, free: 20.72 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009594/0.0009593, allocations: 88.23 kB / 0.6812 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006663/0.0006664, allocations: 11.5 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2127, allocations: 106.3 MB / 0.899 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.0848/0.2976, allocations: 64.46 MB / 0.962 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02874/0.3264, allocations: 13.64 MB / 0.9753 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00276/0.3292, allocations: 67.5 kB / 0.9754 GB, free: 3.055 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003298/0.3325, allocations: 0.6366 MB / 0.976 GB, free: 2.414 MB / 0.6198 GB [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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.008775/0.3414, allocations: 1.985 MB / 0.9779 GB, free: 436 kB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.006884/0.3483, allocations: 1.431 MB / 0.9793 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009422/0.3577, allocations: 5.102 MB / 0.9843 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003126/0.3609, allocations: 1.23 MB / 0.9855 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00444/0.3654, allocations: 1.369 MB / 0.9869 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002994/0.3684, allocations: 1.116 MB / 0.9879 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004947/0.369, allocations: 68 kB / 0.988 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005812/0.3748, allocations: 1.509 MB / 0.9895 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000862/0.3757, allocations: 310.7 kB / 0.9898 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009641/0.3767, allocations: 400.8 kB / 0.9902 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00603/0.3828, allocations: 2.631 MB / 0.9927 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.3828, allocations: 0 / 0.9927 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.126e-06/0.3828, allocations: 0 / 0.9927 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.687e-05/0.3829, allocations: 0 / 0.9927 GB, free: 1.215 MB / 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.006044/0.389, allocations: 1.968 MB / 0.9946 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.389, allocations: 8.031 kB / 0.9947 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/0.3999, allocations: 0.7363 MB / 0.9954 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004411/0.4044, allocations: 1.495 MB / 0.9968 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/0.4046, allocations: 132 kB / 0.997 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003815/0.405, allocations: 120 kB / 0.9971 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007222/0.4123, allocations: 1.635 MB / 0.9987 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.294e-05/0.4124, allocations: 11.84 kB / 0.9987 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002501/0.4126, allocations: 48 kB / 0.9987 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.071e-05/0.4127, allocations: 39.98 kB / 0.9988 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009513/0.4223, allocations: 1.484 MB / 1 GB, free: 9.316 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.01854/0.4409, allocations: 7.018 MB / 1.007 GB, free: 1.957 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004414/0.4453, allocations: 0.7513 MB / 1.008 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003491/0.4489, allocations: 0.4983 MB / 1.008 GB, free: 0.6953 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002104/0.451, allocations: 1.274 MB / 1.01 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.314e-05/0.4512, allocations: 47.05 kB / 1.01 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=68): time 3.807e-06/0.4512, allocations: 4 kB / 1.01 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68): time 0.03958/0.4908, allocations: 3.105 MB / 1.013 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.841e-05/0.4909, allocations: 111.4 kB / 1.013 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003476/0.4944, allocations: 1.35 MB / 1.014 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002816/0.4947, allocations: 45.7 kB / 1.014 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009079/0.4956, allocations: 0.684 MB / 1.015 GB, free: 9.707 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004302/0.4961, allocations: 244.5 kB / 1.015 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.4962, allocations: 16 kB / 1.015 GB, free: 9.449 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.4964, allocations: 345.9 kB / 1.015 GB, free: 9.105 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003939/0.5004, allocations: 0.5172 MB / 1.016 GB, free: 8.59 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004359/0.5048, allocations: 0.7979 MB / 1.017 GB, free: 7.68 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004073/0.5089, allocations: 0.5574 MB / 1.017 GB, free: 7.125 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.509, allocations: 4 kB / 1.017 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.02502/0.534, allocations: 2.155 MB / 1.019 GB, free: 4.953 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000295/0.5343, allocations: 279.1 kB / 1.02 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.5344, allocations: 4 kB / 1.02 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00312/0.5375, allocations: 471 kB / 1.02 GB, free: 4.129 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003015/0.5406, allocations: 271.5 kB / 1.02 GB, free: 3.863 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003849/0.5445, allocations: 1.004 MB / 1.021 GB, free: 2.836 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00779/0.5523, allocations: 278.6 kB / 1.021 GB, free: 2.562 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000467/0.5529, allocations: 51.95 kB / 1.022 GB, free: 2.512 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.5529, allocations: 4 kB / 1.022 GB, free: 2.508 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03636/0.5893, allocations: 2.006 MB / 1.024 GB, free: 0.4961 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.412e-05/0.5894, allocations: 8 kB / 1.024 GB, free: 500 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004448/0.5939, allocations: 463.2 kB / 1.024 GB, free: 36 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004355/0.5983, allocations: 263.6 kB / 1.024 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004462/0.6028, allocations: 0.9942 MB / 1.025 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006209/0.6091, allocations: 243.6 kB / 1.025 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003597/0.6095, allocations: 59.94 kB / 1.025 GB, free: 14.46 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 (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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.001899/0.6114, allocations: 452.8 kB / 1.026 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007722/0.6122, allocations: 150.2 kB / 1.026 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/0.6251, allocations: 1.326 MB / 1.027 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.379e-05/0.6252, allocations: 11.94 kB / 1.027 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.6253, allocations: 4.25 kB / 1.027 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01129/0.6366, allocations: 1.147 MB / 1.028 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02012/0.6567, allocations: 3.057 MB / 1.031 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.272e-05/0.6569, allocations: 7.938 kB / 1.031 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003018/0.6599, allocations: 159.8 kB / 1.032 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003056/0.663, allocations: 454.3 kB / 1.032 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002531/0.6633, allocations: 31.97 kB / 1.032 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004643/0.668, allocations: 0.9933 MB / 1.033 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-05/0.6681, allocations: 7.938 kB / 1.033 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01428/0.6824, allocations: 1.971 MB / 1.035 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001851/0.6843, allocations: 390.9 kB / 1.035 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006805/0.685, allocations: 23.98 kB / 1.035 GB, free: 4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004999/0.69, allocations: 155.7 kB / 1.036 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003164/0.6904, allocations: 52.25 kB / 1.036 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000251/0.6907, allocations: 47.95 kB / 1.036 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003978/0.6947, allocations: 0.9619 MB / 1.037 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.92e-07/0.6947, allocations: 0 / 1.037 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005981/0.7007, allocations: 0.928 MB / 1.037 GB, free: 1.855 MB / 0.6823 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 (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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002732/0.7035, allocations: 0.5704 MB / 1.038 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01629/0.7199, allocations: 1.857 MB / 1.04 GB, free: 15.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-05/0.7199, allocations: 0 / 1.04 GB, free: 15.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004681/0.7246, allocations: 0.5376 MB / 1.04 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009692/0.7344, allocations: 0.795 MB / 1.041 GB, free: 14.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/0.7488, allocations: 3.157 MB / 1.044 GB, free: 10.87 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001992/0.7508, allocations: 1.21 MB / 1.045 GB, free: 9.629 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004605/0.7555, allocations: 360.3 kB / 1.046 GB, free: 9.281 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009614/0.7565, allocations: 127.3 kB / 1.046 GB, free: 9.156 MB / 0.698 GB Notification: Performance of SimCode: time 1.844e-06/0.7566, allocations: 0 / 1.046 GB, free: 9.156 MB / 0.698 GB Notification: Performance of Templates: time 0.7134/1.47, allocations: 36.32 MB / 1.081 GB, free: 137 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)