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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000926/0.0009262, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.558/1.558, allocations: 292.5 MB / 0.5497 GB, free: 14.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004993/0.0004994, allocations: 15.69 kB / 0.6735 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.201, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.09727/0.2983, allocations: 109.3 MB / 0.8939 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.422/0.7203, allocations: 21.14 MB / 0.9145 GB, free: 39.61 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007628/0.728, allocations: 109.7 kB / 0.9146 GB, free: 39.61 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005957/0.734, allocations: 1.456 MB / 0.9161 GB, free: 39.61 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01226/0.7463, allocations: 4.071 MB / 0.92 GB, free: 39.56 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008593/0.7549, allocations: 3.151 MB / 0.9231 GB, free: 39.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009509/0.7644, allocations: 5.047 MB / 0.928 GB, free: 39.49 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003812/0.7682, allocations: 2.27 MB / 0.9303 GB, free: 39.21 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005152/0.7734, allocations: 2.418 MB / 0.9326 GB, free: 39.2 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002824/0.7763, allocations: 1.571 MB / 0.9342 GB, free: 39.2 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000487/0.7768, allocations: 129.8 kB / 0.9343 GB, free: 39.2 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006273/0.783, allocations: 1.746 MB / 0.936 GB, free: 39.19 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009084/0.784, allocations: 0.5683 MB / 0.9365 GB, free: 39.19 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001587/0.7856, allocations: 0.729 MB / 0.9373 GB, free: 39.16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008536/0.7941, allocations: 4.561 MB / 0.9417 GB, free: 38.86 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7941, allocations: 4 kB / 0.9417 GB, free: 38.86 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.24e-06/0.7942, allocations: 0 / 0.9417 GB, free: 38.86 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002239/0.7944, allocations: 2.516 kB / 0.9417 GB, free: 38.86 MB / 0.7169 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.008426/0.8028, allocations: 3.346 MB / 0.945 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.8029, allocations: 11.2 kB / 0.945 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.8138, allocations: 1.451 MB / 0.9464 GB, free: 36.87 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005274/0.8191, allocations: 2.698 MB / 0.949 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002223/0.8193, allocations: 252.4 kB / 0.9493 GB, free: 36.3 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000404/0.8197, allocations: 236.5 kB / 0.9495 GB, free: 36.3 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007262/0.827, allocations: 3.202 MB / 0.9526 GB, free: 35.62 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.941e-05/0.8271, allocations: 14.66 kB / 0.9527 GB, free: 35.61 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002818/0.8274, allocations: 102.7 kB / 0.9527 GB, free: 35.61 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.88e-05/0.8275, allocations: 72.78 kB / 0.9528 GB, free: 35.61 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008691/0.8362, allocations: 2.877 MB / 0.9556 GB, free: 35.05 MB / 0.7169 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.01822/0.8544, allocations: 13.74 MB / 0.969 GB, free: 26.65 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004223/0.8587, allocations: 1.511 MB / 0.9705 GB, free: 26.38 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00133/0.86, allocations: 1.78 MB / 0.9723 GB, free: 24.36 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003409/0.8635, allocations: 1.203 MB / 0.9734 GB, free: 23.88 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=126): time 3.506e-06/0.8635, allocations: 0 / 0.9734 GB, free: 23.88 MB / 0.7169 GB Notification: Performance of matching and sorting (n=130): time 0.05087/0.9144, allocations: 11.83 MB / 0.985 GB, free: 18.18 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.9145, allocations: 0.5763 MB / 0.9855 GB, free: 17.49 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003805/0.9183, allocations: 2.686 MB / 0.9882 GB, free: 16.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004329/0.9188, allocations: 64.34 kB / 0.9882 GB, free: 16.79 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009863/0.9198, allocations: 1.323 MB / 0.9895 GB, free: 16.22 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004456/0.9202, allocations: 450.2 kB / 0.99 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.9204, allocations: 32.59 kB / 0.99 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.9205, allocations: 376.7 kB / 0.9903 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003421/0.9239, allocations: 0.9978 MB / 0.9913 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003816/0.9277, allocations: 1.585 MB / 0.9929 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003631/0.9314, allocations: 1.131 MB / 0.994 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.9314, allocations: 2.75 kB / 0.994 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.02181/0.9532, allocations: 4.24 MB / 0.9981 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009006/0.9542, allocations: 5.247 MB / 1.003 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/0.9542, allocations: 12.38 kB / 1.003 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003795/0.958, allocations: 1.156 MB / 1.004 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002611/0.9607, allocations: 474.6 kB / 1.005 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0036/0.9643, allocations: 2.395 MB / 1.007 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005711/0.97, allocations: 425.8 kB / 1.008 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000529/0.9706, allocations: 105.4 kB / 1.008 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.9706, allocations: 4 kB / 1.008 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02112/0.9917, allocations: 3.951 MB / 1.012 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.677e-05/0.9918, allocations: 12.19 kB / 1.012 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003876/0.9957, allocations: 1.167 MB / 1.013 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002833/0.9986, allocations: 465.4 kB / 1.013 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003831/1.002, allocations: 2.386 MB / 1.015 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005145/1.008, allocations: 390.6 kB / 1.016 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000429/1.008, allocations: 104 kB / 1.016 GB, free: 11.61 MB / 0.7325 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,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 161 * 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.001884/1.01, allocations: 0.693 MB / 1.017 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007916/1.011, allocations: 280.6 kB / 1.017 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01538/1.026, allocations: 3.038 MB / 1.02 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.005e-05/1.026, allocations: 16 kB / 1.02 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/1.026, allocations: 0 / 1.02 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01428/1.04, allocations: 2.642 MB / 1.022 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02316/1.064, allocations: 7.043 MB / 1.029 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-05/1.064, allocations: 8.25 kB / 1.029 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/1.066, allocations: 289.6 kB / 1.03 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003458/1.069, allocations: 1.017 MB / 1.031 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002213/1.069, allocations: 47.94 kB / 1.031 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003623/1.073, allocations: 2.157 MB / 1.033 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.876e-06/1.073, allocations: 14.59 kB / 1.033 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01952/1.092, allocations: 5.014 MB / 1.038 GB, free: 5.473 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002198/1.095, allocations: 0.6769 MB / 1.038 GB, free: 4.773 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007055/1.095, allocations: 40 kB / 1.038 GB, free: 4.734 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003508/1.099, allocations: 295.5 kB / 1.039 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/1.099, allocations: 112.7 kB / 1.039 GB, free: 4.344 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000173/1.099, allocations: 79.92 kB / 1.039 GB, free: 4.266 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003309/1.103, allocations: 1.886 MB / 1.041 GB, free: 2.379 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.81e-07/1.103, allocations: 0 / 1.041 GB, free: 2.379 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005928/1.109, allocations: 1.5 MB / 1.042 GB, free: 0.8789 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * 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 (80): * Single equations (assignments): 74 * 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.002023/1.111, allocations: 0.8154 MB / 1.043 GB, free: 148 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01291/1.124, allocations: 3.761 MB / 1.047 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.052e-05/1.124, allocations: 8.438 kB / 1.047 GB, free: 12.47 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00381/1.127, allocations: 1.096 MB / 1.048 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007934/1.135, allocations: 1.486 MB / 1.049 GB, free: 9.949 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/1.147, allocations: 5.825 MB / 1.055 GB, free: 4.055 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/1.149, allocations: 1.763 MB / 1.057 GB, free: 2.262 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003583/1.152, allocations: 0.6598 MB / 1.057 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000637/1.153, allocations: 235.3 kB / 1.057 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of SimCode: time 1.002e-06/1.153, allocations: 0 / 1.057 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of Templates: time 0.1071/1.26, allocations: 72.5 MB / 1.128 GB, free: 9.996 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: