Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.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.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.752/4.752, allocations: 0.5623 GB / 0.5776 GB, free: 3.324 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.002494/0.002494, allocations: 356.1 kB / 0.6446 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.249/4.249, allocations: 410.7 MB / 1.113 GB, free: 5.895 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.001821/0.001821, allocations: 178.9 kB / 1.226 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006554/0.0006557, allocations: 15.98 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.689/0.6897, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop): time 0.09585/0.7856, allocations: 82.98 MB / 1.542 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.04005/0.8257, allocations: 23.5 MB / 1.565 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004224/0.83, allocations: 87.44 kB / 1.565 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.006168/0.8362, allocations: 1.417 MB / 1.567 GB, free: 176.4 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735: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:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01392/0.8502, allocations: 3.746 MB / 1.57 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01506/0.8652, allocations: 4 MB / 1.574 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01103/0.8763, allocations: 7.653 MB / 1.582 GB, free: 161.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003521/0.8798, allocations: 1.734 MB / 1.584 GB, free: 159.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00543/0.8853, allocations: 2.147 MB / 1.586 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003944/0.8893, allocations: 1.869 MB / 1.587 GB, free: 155.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0008785/0.8903, allocations: 124 kB / 1.588 GB, free: 155.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005958/0.8962, allocations: 1.656 MB / 1.589 GB, free: 153.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001273/0.8975, allocations: 0.6303 MB / 1.59 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001204/0.8988, allocations: 0.59 MB / 1.59 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.006437/0.9052, allocations: 3.924 MB / 1.594 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.9053, allocations: 0 / 1.594 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.866e-06/0.9053, allocations: 4 kB / 1.594 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001199/0.9054, allocations: 0 / 1.594 GB, free: 148.4 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: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.008043/0.9135, allocations: 3.069 MB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.9135, allocations: 8.031 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005279/0.9188, allocations: 0.7224 MB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006363/0.9252, allocations: 2.271 MB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001372/0.9266, allocations: 334.3 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005518/0.9272, allocations: 180 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005914/0.9331, allocations: 2.067 MB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.157e-05/0.9332, allocations: 0 / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000267/0.9335, allocations: 64 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.479e-05/0.9336, allocations: 51.88 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006781/0.9404, allocations: 1.873 MB / 1.605 GB, free: 137.5 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.01821/0.9586, allocations: 9.499 MB / 1.614 GB, free: 127.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00389/0.9626, allocations: 1.214 MB / 1.615 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002585/0.9652, allocations: 0.7344 MB / 1.616 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007443/0.9726, allocations: 3.878 MB / 1.62 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002844/0.9755, allocations: 0.8598 MB / 1.62 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001364/0.9769, allocations: 186.8 kB / 1.621 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=100): time 6.072e-06/0.9769, allocations: 3.797 kB / 1.621 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=100): time 0.007868/0.9848, allocations: 2.094 MB / 1.623 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.9849, allocations: 179.2 kB / 1.623 GB, free: 118 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004285/0.9892, allocations: 2.341 MB / 1.625 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004565/0.9897, allocations: 65.64 kB / 1.625 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.9909, allocations: 1.162 MB / 1.626 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004478/0.9914, allocations: 347.2 kB / 1.627 GB, free: 114 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.9916, allocations: 36 kB / 1.627 GB, free: 114 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.9917, allocations: 361.9 kB / 1.627 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003125/0.9948, allocations: 0.7925 MB / 1.628 GB, free: 112.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003394/0.9983, allocations: 1.295 MB / 1.629 GB, free: 111.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003256/1.002, allocations: 0.9817 MB / 1.63 GB, free: 110.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/1.002, allocations: 4 kB / 1.63 GB, free: 110.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.008112/1.01, allocations: 2.427 MB / 1.632 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002993/1.01, allocations: 0.5745 MB / 1.633 GB, free: 107.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-05/1.01, allocations: 15.98 kB / 1.633 GB, free: 107.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.933e-05/1.01, allocations: 24 kB / 1.633 GB, free: 107 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002839/1.013, allocations: 363.4 kB / 1.633 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-05/1.013, allocations: 31.92 kB / 1.633 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004741/1.018, allocations: 364.1 kB / 1.634 GB, free: 106.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003457/1.018, allocations: 91.95 kB / 1.634 GB, free: 106.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/1.018, allocations: 4 kB / 1.634 GB, free: 106.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00743/1.026, allocations: 2.224 MB / 1.636 GB, free: 104 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.822e-05/1.026, allocations: 12 kB / 1.636 GB, free: 103.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/1.026, allocations: 24 kB / 1.636 GB, free: 103.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002727/1.028, allocations: 375.7 kB / 1.636 GB, free: 103.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.667e-05/1.029, allocations: 23.88 kB / 1.636 GB, free: 103.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004517/1.033, allocations: 355.6 kB / 1.637 GB, free: 103.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004436/1.034, allocations: 91.91 kB / 1.637 GB, free: 103.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,reaToInt.y,$PRE.uMod.booPul.y,uMod.booPul.y,$PRE.pulse.booPul.y,pulse.booPul.y,$PRE.TSouEnt.booPul.y,TSouEnt.booPul.y,$PRE.TLoaSet.booPul.y,TLoaSet.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 164 * Array equations: 2 * Algorithm blocks: 4 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001639/1.035, allocations: 0.6295 MB / 1.637 GB, free: 102.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006505/1.036, allocations: 248.9 kB / 1.638 GB, free: 102.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006343/1.042, allocations: 1.9 MB / 1.639 GB, free: 100.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005034/1.047, allocations: 1.457 MB / 1.641 GB, free: 98.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/1.047, allocations: 0 / 1.641 GB, free: 98.82 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/1.049, allocations: 0.5056 MB / 1.641 GB, free: 98.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000763/1.05, allocations: 23.95 kB / 1.641 GB, free: 98.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00356/1.053, allocations: 175.7 kB / 1.642 GB, free: 98.09 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004485/1.054, allocations: 80.88 kB / 1.642 GB, free: 98.02 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007346/1.061, allocations: 1.665 MB / 1.643 GB, free: 96.34 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008624/1.07, allocations: 2.714 MB / 1.646 GB, free: 93.61 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002421/1.072, allocations: 0.7301 MB / 1.647 GB, free: 92.88 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003446/1.076, allocations: 1.607 MB / 1.648 GB, free: 91.27 MB / 0.8542 GB Notification: Performance of Backend: time 1.183e-06/1.076, allocations: 0 / 1.648 GB, free: 91.27 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01166/1.087, allocations: 3.619 MB / 1.652 GB, free: 87.56 MB / 0.8542 GB Notification: Performance of SimCode: time 0.01484/1.102, allocations: 5.87 MB / 1.658 GB, free: 81.65 MB / 0.8542 GB Notification: Performance of Templates: time 0.1315/1.234, allocations: 59.5 MB / 1.716 GB, free: 22.99 MB / 0.8542 GB