Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.778/4.778, allocations: 0.5623 GB / 0.5776 GB, free: 3.375 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.002744/0.002743, allocations: 355 kB / 0.6447 GB, free: 185.7 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.269/4.269, allocations: 410.7 MB / 1.113 GB, free: 6 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.001764/0.001764, allocations: 174.3 kB / 1.226 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004916/0.0004918, allocations: 15.98 kB / 1.349 GB, free: 8.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.704/0.7045, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.06635/0.7709, allocations: 57.74 MB / 1.518 GB, free: 226.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02082/0.7918, allocations: 12.83 MB / 1.53 GB, free: 213.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002466/0.7943, allocations: 52.19 kB / 1.53 GB, free: 213.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003733/0.7981, allocations: 0.8683 MB / 1.531 GB, free: 213 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. [/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.0083/0.8064, allocations: 2.212 MB / 1.533 GB, free: 210.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00658/0.8131, allocations: 1.611 MB / 1.535 GB, free: 209.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00677/0.8198, allocations: 4.697 MB / 1.539 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002238/0.8221, allocations: 1.054 MB / 1.54 GB, free: 203.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003343/0.8255, allocations: 1.295 MB / 1.542 GB, free: 202.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002537/0.8281, allocations: 1.172 MB / 1.543 GB, free: 201 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0004727/0.8286, allocations: 72 kB / 1.543 GB, free: 201 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003277/0.8319, allocations: 0.7832 MB / 1.544 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0006455/0.8326, allocations: 390.5 kB / 1.544 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0006843/0.8333, allocations: 380.8 kB / 1.544 GB, free: 199.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003732/0.837, allocations: 2.272 MB / 1.547 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.8371, allocations: 4 kB / 1.547 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.485e-06/0.8371, allocations: 0 / 1.547 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.281e-05/0.8372, allocations: 0 / 1.547 GB, free: 197.1 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.005909/0.8431, allocations: 2.018 MB / 1.549 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.8431, allocations: 11.62 kB / 1.549 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002393/0.8456, allocations: 349.5 kB / 1.549 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003478/0.8491, allocations: 1.381 MB / 1.55 GB, free: 193.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.8493, allocations: 157.5 kB / 1.551 GB, free: 193.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000242/0.8496, allocations: 104 kB / 1.551 GB, free: 193 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004429/0.854, allocations: 1.48 MB / 1.552 GB, free: 191.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.163e-05/0.8541, allocations: 5.5 kB / 1.552 GB, free: 191.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/0.8543, allocations: 51.98 kB / 1.552 GB, free: 191.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.445e-05/0.8544, allocations: 31.94 kB / 1.552 GB, free: 191.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005483/0.8599, allocations: 1.44 MB / 1.554 GB, free: 189.9 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.01125/0.8712, allocations: 6.653 MB / 1.56 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003467/0.8747, allocations: 1.213 MB / 1.561 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002308/0.877, allocations: 0.6001 MB / 1.562 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008232/0.8778, allocations: 1.145 MB / 1.563 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.8779, allocations: 51.88 kB / 1.563 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=77): time 4.919e-06/0.8779, allocations: 3.938 kB / 1.563 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=77): time 0.007202/0.8851, allocations: 1.734 MB / 1.565 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.8852, allocations: 111.5 kB / 1.565 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/0.8876, allocations: 1.373 MB / 1.566 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002386/0.8879, allocations: 41.7 kB / 1.566 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006218/0.8885, allocations: 0.7123 MB / 1.567 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003334/0.8888, allocations: 260.2 kB / 1.567 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-05/0.8889, allocations: 16 kB / 1.567 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.633e-05/0.889, allocations: 345.9 kB / 1.567 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002241/0.8913, allocations: 0.5329 MB / 1.568 GB, free: 174.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002339/0.8937, allocations: 0.7619 MB / 1.569 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002289/0.896, allocations: 0.5846 MB / 1.569 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.896, allocations: 0 / 1.569 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.005439/0.9015, allocations: 1.445 MB / 1.571 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.9016, allocations: 232.4 kB / 1.571 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.9016, allocations: 4 kB / 1.571 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-05/0.9017, allocations: 8 kB / 1.571 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002284/0.904, allocations: 303.5 kB / 1.571 GB, free: 170.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.636e-05/0.904, allocations: 11.94 kB / 1.571 GB, free: 170.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002355/0.9064, allocations: 218.9 kB / 1.571 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/0.9066, allocations: 36 kB / 1.571 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.9066, allocations: 4 kB / 1.571 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00496/0.9116, allocations: 1.288 MB / 1.573 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.9116, allocations: 4 kB / 1.573 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.9117, allocations: 12 kB / 1.573 GB, free: 169.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002228/0.9139, allocations: 296 kB / 1.573 GB, free: 169 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/0.9139, allocations: 16 kB / 1.573 GB, free: 168.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/0.9163, allocations: 207 kB / 1.573 GB, free: 168.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/0.9165, allocations: 32 kB / 1.573 GB, free: 168.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001019/0.9175, allocations: 464.8 kB / 1.574 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004159/0.918, allocations: 154.1 kB / 1.574 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005398/0.9234, allocations: 1.568 MB / 1.575 GB, free: 166.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004426/0.9278, allocations: 1.21 MB / 1.577 GB, free: 165.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.9279, allocations: 4 kB / 1.577 GB, free: 165.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.9289, allocations: 382.9 kB / 1.577 GB, free: 164.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003763/0.9293, allocations: 16 kB / 1.577 GB, free: 164.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00228/0.9316, allocations: 168.3 kB / 1.577 GB, free: 164.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002845/0.9319, allocations: 64.55 kB / 1.577 GB, free: 164.6 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006007/0.9379, allocations: 1.403 MB / 1.579 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007506/0.9455, allocations: 2.198 MB / 1.581 GB, free: 161 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002239/0.9478, allocations: 0.6024 MB / 1.581 GB, free: 160.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001828/0.9496, allocations: 0.9552 MB / 1.582 GB, free: 159.4 MB / 0.8542 GB Notification: Performance of Backend: time 7.71e-07/0.9497, allocations: 0 / 1.582 GB, free: 159.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007431/0.9571, allocations: 1.925 MB / 1.584 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of SimCode: time 0.009036/0.9662, allocations: 3.779 MB / 1.588 GB, free: 153.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.07769/1.044, allocations: 34.03 MB / 1.621 GB, free: 120.3 MB / 0.8542 GB