Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.69/1.69, allocations: 285.6 MB / 293.1 MB, free: 10.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001209/0.001209, allocations: 180.8 kB / 361.4 MB, free: 6.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.3 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009045/0.0009046, allocations: 92.42 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.075e-05/7.058e-05, allocations: 8 kB / 0.8517 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7156/0.7157, allocations: 115.3 MB / 0.9644 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.076/1.792, allocations: 423.1 MB / 1.378 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/1.792, allocations: 90.45 kB / 1.378 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.698/5.49, allocations: 1.036 GB / 2.414 GB, free: 104.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.184e-06/5.49, allocations: 0 / 2.414 GB, free: 104.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005747/5.491, allocations: 79.48 kB / 2.414 GB, free: 104.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.009317/5.5, allocations: 3.173 MB / 2.417 GB, free: 102.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/5.5, allocations: 11.66 kB / 2.417 GB, free: 102.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008738/5.509, allocations: 1.208 MB / 2.418 GB, free: 102.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008274/5.517, allocations: 3.304 MB / 2.422 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003099/5.518, allocations: 166.6 kB / 2.422 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008872/5.518, allocations: 135.2 kB / 2.422 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004589/5.523, allocations: 1.962 MB / 2.424 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004988/5.528, allocations: 2.458 MB / 2.426 GB, free: 101.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.848e-05/5.528, allocations: 4.969 kB / 2.426 GB, free: 101.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003735/5.529, allocations: 14.92 kB / 2.426 GB, free: 101.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-05/5.529, allocations: 70.09 kB / 2.426 GB, free: 101.6 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.01913/5.548, allocations: 12.64 MB / 2.439 GB, free: 96.07 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/5.549, allocations: 1.123 MB / 2.44 GB, free: 95.85 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007898/5.55, allocations: 0.5954 MB / 2.44 GB, free: 95.83 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001478/5.552, allocations: 1.781 MB / 2.442 GB, free: 93.86 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001276/5.553, allocations: 0.9177 MB / 2.443 GB, free: 93.57 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 5.45e-06/5.553, allocations: 1.781 kB / 2.443 GB, free: 93.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=118): time 0.007064/5.56, allocations: 1.831 MB / 2.445 GB, free: 93.36 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002297/5.56, allocations: 0.9374 MB / 2.446 GB, free: 92.23 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004157/5.564, allocations: 1.851 MB / 2.447 GB, free: 92.02 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003258/5.565, allocations: 33.33 kB / 2.447 GB, free: 91.98 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001496/5.566, allocations: 1.384 MB / 2.449 GB, free: 91.41 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004701/5.567, allocations: 406 kB / 2.449 GB, free: 91.16 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/5.567, allocations: 0 / 2.449 GB, free: 91.16 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.824e-05/5.567, allocations: 361.9 kB / 2.45 GB, free: 90.85 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008887/5.568, allocations: 0.6023 MB / 2.45 GB, free: 90.85 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/5.569, allocations: 1.19 MB / 2.451 GB, free: 90.19 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003355/5.573, allocations: 0.9592 MB / 2.452 GB, free: 90.17 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/5.573, allocations: 8.188 kB / 2.452 GB, free: 90.17 MB / 0.948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006147/5.579, allocations: 2.274 MB / 2.454 GB, free: 89.98 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001066/5.58, allocations: 4.935 MB / 2.459 GB, free: 84.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/5.58, allocations: 16.58 kB / 2.459 GB, free: 84.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/5.581, allocations: 0.5259 MB / 2.46 GB, free: 84.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002327/5.583, allocations: 499.3 kB / 2.46 GB, free: 84.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/5.585, allocations: 1.787 MB / 2.462 GB, free: 83.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004704/5.59, allocations: 446.2 kB / 2.462 GB, free: 83.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002411/5.59, allocations: 105.9 kB / 2.463 GB, free: 83.54 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/5.59, allocations: 3.719 kB / 2.463 GB, free: 83.54 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00506/5.595, allocations: 1.997 MB / 2.465 GB, free: 83.49 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/5.595, allocations: 13 kB / 2.465 GB, free: 83.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009898/5.596, allocations: 0.5301 MB / 2.465 GB, free: 83.47 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/5.599, allocations: 479.4 kB / 2.465 GB, free: 83.47 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/5.6, allocations: 1.788 MB / 2.467 GB, free: 82.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003962/5.604, allocations: 364.5 kB / 2.468 GB, free: 82.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001885/5.605, allocations: 101.8 kB / 2.468 GB, free: 82.36 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0004929/5.605, allocations: 170.4 kB / 2.468 GB, free: 82.24 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004624/5.606, allocations: 247.4 kB / 2.468 GB, free: 82.12 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006197/5.612, allocations: 1.833 MB / 2.47 GB, free: 81.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/5.612, allocations: 18.06 kB / 2.47 GB, free: 81.98 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/5.612, allocations: 7.188 kB / 2.47 GB, free: 81.98 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005193/5.617, allocations: 1.676 MB / 2.472 GB, free: 81.68 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/5.629, allocations: 6.241 MB / 2.478 GB, free: 79.74 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/5.629, allocations: 6.094 kB / 2.478 GB, free: 79.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001601/5.63, allocations: 290.5 kB / 2.478 GB, free: 79.74 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/5.631, allocations: 0.5218 MB / 2.478 GB, free: 79.72 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/5.632, allocations: 42.36 kB / 2.478 GB, free: 79.72 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/5.633, allocations: 1.76 MB / 2.48 GB, free: 78.67 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.287e-06/5.633, allocations: 14.39 kB / 2.48 GB, free: 78.66 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006514/5.64, allocations: 3.298 MB / 2.483 GB, free: 77.41 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/5.641, allocations: 0.6264 MB / 2.484 GB, free: 77.18 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004242/5.642, allocations: 15.56 kB / 2.484 GB, free: 77.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00285/5.645, allocations: 248.5 kB / 2.484 GB, free: 77.17 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/5.645, allocations: 117.5 kB / 2.484 GB, free: 77.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/5.645, allocations: 76.11 kB / 2.484 GB, free: 77.16 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001897/5.647, allocations: 1.376 MB / 2.486 GB, free: 77.02 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.3e-07/5.647, allocations: 0 / 2.486 GB, free: 77.02 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005336/5.652, allocations: 1.815 MB / 2.488 GB, free: 76.69 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.002748/5.655, allocations: 1.486 MB / 2.489 GB, free: 76.29 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004192/5.659, allocations: 2.551 MB / 2.492 GB, free: 76.11 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/5.659, allocations: 4.438 kB / 2.492 GB, free: 76.11 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001197/5.66, allocations: 0.7361 MB / 2.492 GB, free: 76.09 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005521/5.666, allocations: 1.088 MB / 2.493 GB, free: 76.07 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009638/5.676, allocations: 3.862 MB / 2.497 GB, free: 74.93 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/5.677, allocations: 1.774 MB / 2.499 GB, free: 74.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004107/5.681, allocations: 0.7608 MB / 2.5 GB, free: 74.15 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004363/5.681, allocations: 173.8 kB / 2.5 GB, free: 74.14 MB / 0.948 GB Notification: Performance of SimCode: time 9.82e-07/5.681, allocations: 4 kB / 2.5 GB, free: 74.14 MB / 0.948 GB Notification: Performance of Templates: time 0.08629/5.768, allocations: 63.14 MB / 2.561 GB, free: 69.86 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)