Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.04/2.04, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001608/0.001608, allocations: 184.3 kB / 377.1 MB, free: 1.508 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.866/1.866, allocations: 205.4 MB / 0.6367 GB, free: 8.516 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.0009576/0.0009574, allocations: 91.39 kB / 0.751 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003749, allocations: 8 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3104, allocations: 116.3 MB / 0.9884 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.743/2.053, allocations: 425.4 MB / 1.404 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/2.053, allocations: 102.5 kB / 1.404 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.185/5.239, allocations: 1.045 GB / 2.449 GB, free: 184 kB / 0.9636 GB Notification: Performance of FrontEnd: time 1.483e-06/5.239, allocations: 0 / 2.449 GB, free: 184 kB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003398/5.239, allocations: 83.84 kB / 2.449 GB, free: 100 kB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.01106/5.25, allocations: 3.682 MB / 2.453 GB, free: 12.31 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/5.25, allocations: 8.75 kB / 2.453 GB, free: 12.3 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01058/5.261, allocations: 1.319 MB / 2.454 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008944/5.27, allocations: 3.325 MB / 2.458 GB, free: 7.578 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004303/5.27, allocations: 251.9 kB / 2.458 GB, free: 7.316 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001031/5.271, allocations: 240 kB / 2.458 GB, free: 7.082 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0114/5.283, allocations: 3.203 MB / 2.461 GB, free: 3.672 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001125/5.283, allocations: 7.938 kB / 2.461 GB, free: 3.664 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008414/5.284, allocations: 100 kB / 2.461 GB, free: 3.566 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/5.284, allocations: 67.94 kB / 2.461 GB, free: 3.5 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01168/5.296, allocations: 2.878 MB / 2.464 GB, free: 0.6055 MB / 0.9792 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.6905/5.986, allocations: 13.51 MB / 2.477 GB, free: 92.41 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004456/5.991, allocations: 1.59 MB / 2.479 GB, free: 92.18 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0016/5.992, allocations: 1.771 MB / 2.481 GB, free: 90.21 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003927/5.996, allocations: 1.262 MB / 2.482 GB, free: 89.93 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=118): time 3.877e-06/5.996, allocations: 5.375 kB / 2.482 GB, free: 89.93 MB / 0.9792 GB Notification: Performance of matching and sorting (n=122): time 0.07194/6.068, allocations: 16.26 MB / 2.498 GB, free: 83.81 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002462/6.068, allocations: 0.9437 MB / 2.499 GB, free: 82.68 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004338/6.073, allocations: 2.416 MB / 2.501 GB, free: 82.46 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0004357/6.073, allocations: 60.17 kB / 2.501 GB, free: 82.43 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001241/6.074, allocations: 1.355 MB / 2.502 GB, free: 82.08 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005432/6.075, allocations: 422.3 kB / 2.503 GB, free: 81.88 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/6.075, allocations: 33.31 kB / 2.503 GB, free: 81.88 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001105/6.075, allocations: 370.8 kB / 2.503 GB, free: 81.57 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003866/6.079, allocations: 0.9752 MB / 2.504 GB, free: 81.57 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004281/6.083, allocations: 1.614 MB / 2.506 GB, free: 80.89 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004055/6.088, allocations: 1.113 MB / 2.507 GB, free: 80.84 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/6.088, allocations: 3.531 kB / 2.507 GB, free: 80.84 MB / 0.9792 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.0108/6.098, allocations: 3.116 MB / 2.51 GB, free: 80.59 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001302/6.1, allocations: 5.267 MB / 2.515 GB, free: 75.12 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/6.1, allocations: 11.34 kB / 2.515 GB, free: 75.12 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003749/6.103, allocations: 1.159 MB / 2.516 GB, free: 75.09 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002727/6.106, allocations: 449.7 kB / 2.517 GB, free: 75.09 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/6.11, allocations: 2.383 MB / 2.519 GB, free: 74.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005995/6.116, allocations: 432.7 kB / 2.519 GB, free: 74.01 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004572/6.116, allocations: 106 kB / 2.519 GB, free: 74.01 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/6.116, allocations: 4.312 kB / 2.519 GB, free: 74.01 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009472/6.126, allocations: 2.8 MB / 2.522 GB, free: 73.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.598e-05/6.126, allocations: 10.44 kB / 2.522 GB, free: 73.93 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003379/6.129, allocations: 1.154 MB / 2.523 GB, free: 73.91 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002599/6.132, allocations: 438.6 kB / 2.524 GB, free: 73.91 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003477/6.135, allocations: 2.367 MB / 2.526 GB, free: 72.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005276/6.141, allocations: 383.8 kB / 2.526 GB, free: 72.82 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003737/6.141, allocations: 105.7 kB / 2.526 GB, free: 72.82 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * 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 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.002175/6.143, allocations: 0.7018 MB / 2.527 GB, free: 72.63 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009679/6.144, allocations: 282.5 kB / 2.527 GB, free: 72.49 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01013/6.154, allocations: 2.412 MB / 2.53 GB, free: 72.37 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.335e-05/6.155, allocations: 15.81 kB / 2.53 GB, free: 72.37 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/6.155, allocations: 9.453 kB / 2.53 GB, free: 72.37 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00891/6.163, allocations: 2.187 MB / 2.532 GB, free: 72.08 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01797/6.181, allocations: 7.14 MB / 2.539 GB, free: 70.12 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/6.182, allocations: 6.031 kB / 2.539 GB, free: 70.12 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001803/6.183, allocations: 270 kB / 2.539 GB, free: 70.12 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00322/6.187, allocations: 1.025 MB / 2.54 GB, free: 70.1 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001993/6.187, allocations: 51.27 kB / 2.54 GB, free: 70.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003063/6.19, allocations: 2.149 MB / 2.542 GB, free: 69.04 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.378e-06/6.19, allocations: 11.78 kB / 2.542 GB, free: 69.04 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01455/6.204, allocations: 4.351 MB / 2.547 GB, free: 67.63 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002616/6.207, allocations: 0.6574 MB / 2.547 GB, free: 67.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001331/6.208, allocations: 39.89 kB / 2.547 GB, free: 67.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00477/6.213, allocations: 291.3 kB / 2.548 GB, free: 67.39 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000318/6.214, allocations: 110.9 kB / 2.548 GB, free: 67.39 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003292/6.214, allocations: 76.11 kB / 2.548 GB, free: 67.38 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.004592/6.219, allocations: 1.9 MB / 2.55 GB, free: 67.24 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.5e-07/6.219, allocations: 0 / 2.55 GB, free: 67.24 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.009409/6.228, allocations: 1.655 MB / 2.551 GB, free: 67.24 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 70 * 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 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.00395/6.232, allocations: 1.507 MB / 2.553 GB, free: 66.96 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01343/6.245, allocations: 3.68 MB / 2.556 GB, free: 66.78 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.181e-05/6.245, allocations: 10.03 kB / 2.556 GB, free: 66.78 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003976/6.249, allocations: 1.089 MB / 2.557 GB, free: 66.76 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008537/6.258, allocations: 1.494 MB / 2.559 GB, free: 66.73 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/6.27, allocations: 5.814 MB / 2.564 GB, free: 64.18 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/6.272, allocations: 1.764 MB / 2.566 GB, free: 63.45 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004134/6.276, allocations: 0.6574 MB / 2.567 GB, free: 63.42 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007527/6.276, allocations: 235.8 kB / 2.567 GB, free: 63.41 MB / 0.9792 GB Notification: Performance of SimCode: time 1.122e-06/6.276, allocations: 0 / 2.567 GB, free: 63.41 MB / 0.9792 GB Notification: Performance of Templates: time 0.1322/6.409, allocations: 78.71 MB / 2.644 GB, free: 58.73 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)