Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007913/0.0007911, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005869/0.005869, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.4 MB / 222.5 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.519/1.519, allocations: 252 MB / 0.5105 GB, free: 4.676 MB / 414.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.0006412/0.0006416, allocations: 12 kB / 0.6249 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5393/0.5399, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.06627/0.6063, allocations: 68.22 MB / 0.7953 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02146/0.6278, allocations: 14.55 MB / 0.8095 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003415/0.6312, allocations: 55.62 kB / 0.8096 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003393/0.6347, allocations: 0.7459 MB / 0.8103 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008518/0.6432, allocations: 2.322 MB / 0.8126 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00595/0.6492, allocations: 1.795 MB / 0.8143 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008095/0.6573, allocations: 5.859 MB / 0.8201 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002396/0.6597, allocations: 1.262 MB / 0.8213 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003384/0.6631, allocations: 1.431 MB / 0.8227 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.6652, allocations: 1.186 MB / 0.8239 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000249/0.6655, allocations: 64 kB / 0.8239 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004211/0.6697, allocations: 1.828 MB / 0.8257 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000463/0.6702, allocations: 318.6 kB / 0.826 GB, free: 7.348 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001523/0.6717, allocations: 0.8917 MB / 0.8269 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005805/0.6775, allocations: 3.423 MB / 0.8302 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.6776, allocations: 4 kB / 0.8302 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.036e-06/0.6776, allocations: 0 / 0.8302 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.895e-05/0.6776, allocations: 0 / 0.8302 GB, free: 3.008 MB / 0.6387 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.004276/0.6819, allocations: 1.951 MB / 0.8321 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.682, allocations: 12.03 kB / 0.8321 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005668/0.6877, allocations: 0.7363 MB / 0.8329 GB, free: 244 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002898/0.6906, allocations: 1.536 MB / 0.8344 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.6907, allocations: 128 kB / 0.8345 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002049/0.691, allocations: 124 kB / 0.8346 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003898/0.6949, allocations: 1.644 MB / 0.8362 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.6949, allocations: 4 kB / 0.8362 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.695, allocations: 48 kB / 0.8363 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.355e-05/0.6951, allocations: 32 kB / 0.8363 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0048/0.6999, allocations: 1.499 MB / 0.8378 GB, free: 11.07 MB / 0.6544 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.01087/0.7108, allocations: 7.014 MB / 0.8446 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002198/0.713, allocations: 0.756 MB / 0.8453 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.7147, allocations: 0.5029 MB / 0.8458 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001389/0.7161, allocations: 1.274 MB / 0.8471 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.011e-05/0.7162, allocations: 43.12 kB / 0.8471 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=68): time 3.246e-06/0.7162, allocations: 0 / 0.8471 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68): time 0.02011/0.7363, allocations: 3.133 MB / 0.8502 GB, free: 13.68 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.7364, allocations: 111.3 kB / 0.8503 GB, free: 13.54 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/0.7387, allocations: 1.362 MB / 0.8516 GB, free: 12.17 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001748/0.7389, allocations: 41.7 kB / 0.8517 GB, free: 12.12 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007025/0.7396, allocations: 0.6917 MB / 0.8523 GB, free: 11.42 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003051/0.7399, allocations: 232.6 kB / 0.8526 GB, free: 11.19 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.7401, allocations: 81.67 kB / 0.8526 GB, free: 11.11 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.7402, allocations: 345.9 kB / 0.853 GB, free: 10.76 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/0.7421, allocations: 0.5211 MB / 0.8535 GB, free: 10.24 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002187/0.7443, allocations: 0.7979 MB / 0.8542 GB, free: 9.328 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003555/0.7479, allocations: 1.168 MB / 0.8554 GB, free: 8.074 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.7479, allocations: 7.938 kB / 0.8554 GB, free: 8.066 MB / 0.67 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005231/0.7531, allocations: 1.593 MB / 0.857 GB, free: 6.461 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.7533, allocations: 280.7 kB / 0.8572 GB, free: 6.098 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.7534, allocations: 12 kB / 0.8572 GB, free: 6.086 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001732/0.7551, allocations: 474.4 kB / 0.8577 GB, free: 5.625 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.7565, allocations: 267.6 kB / 0.8579 GB, free: 5.363 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.7581, allocations: 1.005 MB / 0.8589 GB, free: 4.332 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/0.7607, allocations: 281.8 kB / 0.8592 GB, free: 4.059 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.7608, allocations: 51.95 kB / 0.8592 GB, free: 4.008 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.998e-06/0.7608, allocations: 4 kB / 0.8592 GB, free: 4.004 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004683/0.7655, allocations: 1.445 MB / 0.8607 GB, free: 2.555 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.7656, allocations: 12.48 kB / 0.8607 GB, free: 2.543 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001574/0.7671, allocations: 470.9 kB / 0.8611 GB, free: 2.082 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.7685, allocations: 267.6 kB / 0.8614 GB, free: 1.82 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.7701, allocations: 0.9895 MB / 0.8623 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/0.7723, allocations: 258.8 kB / 0.8626 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.7724, allocations: 51.95 kB / 0.8626 GB, free: 0.5 MB / 0.67 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 (heaPum.com.isOn,$PRE.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.000938/0.7734, allocations: 452.8 kB / 0.8631 GB, free: 48 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003719/0.7737, allocations: 146.3 kB / 0.8632 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004265/0.778, allocations: 1.338 MB / 0.8645 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.7781, allocations: 11.98 kB / 0.8645 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.7781, allocations: 0 / 0.8645 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003653/0.7817, allocations: 1.143 MB / 0.8656 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007474/0.7892, allocations: 3.065 MB / 0.8686 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/0.7893, allocations: 8.062 kB / 0.8686 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009951/0.7903, allocations: 151.8 kB / 0.8688 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001682/0.792, allocations: 456.9 kB / 0.8692 GB, free: 9.566 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.856e-05/0.7921, allocations: 36.03 kB / 0.8693 GB, free: 9.531 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001576/0.7937, allocations: 0.9942 MB / 0.8702 GB, free: 8.512 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.7937, allocations: 11.94 kB / 0.8702 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005931/0.7996, allocations: 1.971 MB / 0.8722 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/0.8007, allocations: 394.9 kB / 0.8725 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.8009, allocations: 20 kB / 0.8726 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001825/0.8028, allocations: 151.8 kB / 0.8727 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.8029, allocations: 60.25 kB / 0.8728 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.221e-05/0.803, allocations: 47.94 kB / 0.8728 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001656/0.8047, allocations: 0.9775 MB / 0.8738 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8047, allocations: 0 / 0.8738 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003257/0.808, allocations: 0.928 MB / 0.8747 GB, free: 3.863 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001709/0.8097, allocations: 0.585 MB / 0.8752 GB, free: 3.277 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00652/0.8162, allocations: 1.869 MB / 0.8771 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.8163, allocations: 3.938 kB / 0.8771 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001809/0.8181, allocations: 0.5337 MB / 0.8776 GB, free: 0.8789 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005167/0.8233, allocations: 0.8182 MB / 0.8784 GB, free: 80 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0067/0.83, allocations: 3.294 MB / 0.8816 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/0.8311, allocations: 1.211 MB / 0.8828 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001876/0.833, allocations: 359.8 kB / 0.8831 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/0.8334, allocations: 131.3 kB / 0.8833 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of SimCode: time 7.31e-07/0.8334, allocations: 7.938 kB / 0.8833 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of Templates: time 0.4732/1.307, allocations: 38.36 MB / 0.9207 GB, free: 161.5 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1) Environment - environmentSimulation: