Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.734/4.734, allocations: 0.5623 GB / 0.5776 GB, free: 3.352 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003678/0.003678, allocations: 351.4 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.177/4.177, allocations: 410.7 MB / 1.113 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001811/0.00181, allocations: 183.8 kB / 1.226 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005081/0.0005083, allocations: 12 kB / 1.349 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7106/0.7112, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1739/0.8851, allocations: 116.4 MB / 1.575 GB, free: 167.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03138/0.9166, allocations: 13.71 MB / 1.588 GB, free: 154.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003482/0.9201, allocations: 63.56 kB / 1.588 GB, free: 154.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.004289/0.9245, allocations: 0.753 MB / 1.589 GB, free: 153.4 MB / 0.8542 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.01106/0.9356, allocations: 2.325 MB / 1.591 GB, free: 151 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.009906/0.9455, allocations: 1.965 MB / 1.593 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.009045/0.9546, allocations: 5.186 MB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003408/0.958, allocations: 1.22 MB / 1.6 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004432/0.9625, allocations: 1.388 MB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003211/0.9658, allocations: 1.173 MB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0006928/0.9665, allocations: 72 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005751/0.9723, allocations: 1.142 MB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.9735, allocations: 346.5 kB / 1.604 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.9748, allocations: 412.8 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.007239/0.9821, allocations: 2.583 MB / 1.607 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.9822, allocations: 0 / 1.607 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.767e-06/0.9822, allocations: 0 / 1.607 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.329e-05/0.9823, allocations: 0 / 1.607 GB, free: 135.6 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.008357/0.9907, allocations: 2.046 MB / 1.609 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.26e-05/0.9908, allocations: 11.62 kB / 1.609 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/1.002, allocations: 0.7508 MB / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003941/1.006, allocations: 1.598 MB / 1.611 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/1.006, allocations: 136.1 kB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002843/1.007, allocations: 124 kB / 1.611 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006097/1.013, allocations: 1.739 MB / 1.613 GB, free: 129 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.544e-05/1.013, allocations: 3.938 kB / 1.613 GB, free: 129 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002214/1.013, allocations: 59.98 kB / 1.613 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.609e-05/1.013, allocations: 36 kB / 1.613 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008144/1.021, allocations: 1.531 MB / 1.614 GB, free: 127.3 MB / 0.8542 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.0139/1.035, allocations: 7.568 MB / 1.622 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007244/1.042, allocations: 1.188 MB / 1.623 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003523/1.046, allocations: 0.5967 MB / 1.624 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001523/1.047, allocations: 1.275 MB / 1.625 GB, free: 116 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003901/1.051, allocations: 0.703 MB / 1.625 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=80): time 3.978e-06/1.051, allocations: 0 / 1.625 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=80): time 0.03272/1.084, allocations: 3.226 MB / 1.629 GB, free: 112.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/1.084, allocations: 137.2 kB / 1.629 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/1.087, allocations: 1.266 MB / 1.63 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003105/1.087, allocations: 45.7 kB / 1.63 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007081/1.088, allocations: 0.7193 MB / 1.631 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004232/1.088, allocations: 280 kB / 1.631 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/1.088, allocations: 20 kB / 1.631 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.088, allocations: 345.9 kB / 1.631 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003787/1.092, allocations: 0.5328 MB / 1.632 GB, free: 108.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003922/1.096, allocations: 0.8022 MB / 1.633 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003818/1.1, allocations: 0.5807 MB / 1.633 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/1.1, allocations: 0 / 1.633 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.009367/1.109, allocations: 1.672 MB / 1.635 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001466/1.11, allocations: 269.4 kB / 1.635 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/1.11, allocations: 4 kB / 1.635 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003187/1.113, allocations: 0.5797 MB / 1.636 GB, free: 104.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002647/1.116, allocations: 255.5 kB / 1.636 GB, free: 104.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003131/1.119, allocations: 1.172 MB / 1.637 GB, free: 103.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003761/1.123, allocations: 242.5 kB / 1.637 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002219/1.123, allocations: 59.95 kB / 1.637 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/1.123, allocations: 4 kB / 1.637 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008687/1.132, allocations: 1.512 MB / 1.639 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/1.132, allocations: 4 kB / 1.639 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003005/1.135, allocations: 0.5619 MB / 1.639 GB, free: 100.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002617/1.137, allocations: 251.6 kB / 1.64 GB, free: 100.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003047/1.14, allocations: 1.181 MB / 1.641 GB, free: 99.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003583/1.144, allocations: 229.7 kB / 1.641 GB, free: 99.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/1.144, allocations: 55.95 kB / 1.641 GB, free: 99.04 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$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 (91): * Single equations (assignments): 90 * 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 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001071/1.145, allocations: 468.8 kB / 1.642 GB, free: 98.57 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004186/1.146, allocations: 154.2 kB / 1.642 GB, free: 98.42 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02356/1.169, allocations: 2.162 MB / 1.644 GB, free: 96.25 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02289/1.192, allocations: 1.997 MB / 1.646 GB, free: 94.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-05/1.192, allocations: 0 / 1.646 GB, free: 94.22 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/1.193, allocations: 406.8 kB / 1.646 GB, free: 93.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000352/1.194, allocations: 17.17 kB / 1.646 GB, free: 93.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003172/1.197, allocations: 163.7 kB / 1.646 GB, free: 93.62 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/1.197, allocations: 48.58 kB / 1.646 GB, free: 93.57 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01389/1.211, allocations: 1.8 MB / 1.648 GB, free: 91.76 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01161/1.223, allocations: 2.123 MB / 1.65 GB, free: 89.62 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00347/1.226, allocations: 0.5519 MB / 1.651 GB, free: 89.07 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001594/1.228, allocations: 0.8515 MB / 1.652 GB, free: 88.22 MB / 0.8542 GB Notification: Performance of Backend: time 6.02e-07/1.228, allocations: 0 / 1.652 GB, free: 88.22 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01222/1.24, allocations: 2.541 MB / 1.654 GB, free: 85.95 MB / 0.8542 GB Notification: Performance of SimCode: time 0.00942/1.25, allocations: 4.1 MB / 1.658 GB, free: 81.82 MB / 0.8542 GB Notification: Performance of Templates: time 0.09083/1.34, allocations: 41.58 MB / 1.699 GB, free: 40.75 MB / 0.8542 GB