Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.84/4.84, allocations: 0.5623 GB / 0.5776 GB, free: 3.348 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.002446/0.002446, allocations: 357.6 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.281/4.281, allocations: 410.7 MB / 1.113 GB, free: 5.977 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.001784/0.001784, allocations: 173 kB / 1.226 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004915, allocations: 12 kB / 1.349 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7053/0.7058, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.08097/0.7868, allocations: 69.43 MB / 1.529 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02209/0.809, allocations: 13.87 MB / 1.543 GB, free: 201.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002509/0.8115, allocations: 59.56 kB / 1.543 GB, free: 201.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003142/0.8147, allocations: 0.6858 MB / 1.543 GB, free: 200.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.009266/0.824, allocations: 2.45 MB / 1.546 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.006369/0.8305, allocations: 1.512 MB / 1.547 GB, free: 196.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.006733/0.8372, allocations: 4.804 MB / 1.552 GB, free: 191.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002148/0.8394, allocations: 1.02 MB / 1.553 GB, free: 190.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00313/0.8426, allocations: 1.232 MB / 1.554 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/0.8449, allocations: 1.081 MB / 1.555 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0003348/0.8453, allocations: 56 kB / 1.555 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003074/0.8483, allocations: 0.7597 MB / 1.556 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004387/0.8488, allocations: 270.8 kB / 1.556 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0006165/0.8494, allocations: 356.9 kB / 1.557 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00341/0.8529, allocations: 2.042 MB / 1.559 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.8529, allocations: 0 / 1.559 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8529, allocations: 0 / 1.559 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.387e-05/0.853, allocations: 0 / 1.559 GB, free: 184.9 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004719/0.8577, allocations: 1.795 MB / 1.56 GB, free: 183 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.8578, allocations: 15.62 kB / 1.56 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.8591, allocations: 245.8 kB / 1.561 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003588/0.8627, allocations: 1.431 MB / 1.562 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.001e-05/0.8628, allocations: 78 kB / 1.562 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/0.863, allocations: 104 kB / 1.562 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002927/0.8659, allocations: 1.108 MB / 1.563 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.5e-05/0.866, allocations: 3.984 kB / 1.563 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.8662, allocations: 40 kB / 1.563 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-05/0.8662, allocations: 24.8 kB / 1.563 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00306/0.8693, allocations: 0.929 MB / 1.564 GB, free: 178.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.008074/0.8774, allocations: 4.915 MB / 1.569 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/0.8797, allocations: 0.6433 MB / 1.57 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.8809, allocations: 370.3 kB / 1.57 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006114/0.8815, allocations: 0.8238 MB / 1.571 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.8816, allocations: 45.66 kB / 1.571 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=61): time 3.476e-06/0.8816, allocations: 0 / 1.571 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=61): time 0.01296/0.8946, allocations: 1.892 MB / 1.573 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.8946, allocations: 59.97 kB / 1.573 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002211/0.8968, allocations: 1.194 MB / 1.574 GB, free: 168.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001716/0.8971, allocations: 45.64 kB / 1.574 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005635/0.8976, allocations: 0.6026 MB / 1.575 GB, free: 167.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.8979, allocations: 216.9 kB / 1.575 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.898, allocations: 12 kB / 1.575 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.558e-05/0.898, allocations: 338 kB / 1.575 GB, free: 167.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.8992, allocations: 293.8 kB / 1.575 GB, free: 167 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.9005, allocations: 0.5085 MB / 1.576 GB, free: 166.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.9017, allocations: 355 kB / 1.576 GB, free: 166 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.9018, allocations: 0 / 1.576 GB, free: 166 MB / 0.8542 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.008284/0.9101, allocations: 1.394 MB / 1.578 GB, free: 164.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.9102, allocations: 206.2 kB / 1.578 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.9102, allocations: 4 kB / 1.578 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009341/0.9112, allocations: 150.9 kB / 1.578 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.9124, allocations: 163.8 kB / 1.578 GB, free: 164.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.9136, allocations: 0.7123 MB / 1.579 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/0.9157, allocations: 175 kB / 1.579 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.9158, allocations: 31.98 kB / 1.579 GB, free: 163.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.9158, allocations: 8 kB / 1.579 GB, free: 163.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007829/0.9237, allocations: 1.245 MB / 1.58 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.9237, allocations: 4 kB / 1.58 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008227/0.9246, allocations: 157 kB / 1.58 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.9257, allocations: 163.8 kB / 1.581 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.9269, allocations: 0.7137 MB / 1.581 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/0.929, allocations: 163.2 kB / 1.581 GB, free: 160.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.806e-05/0.9291, allocations: 35.98 kB / 1.581 GB, free: 160.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007819/0.9299, allocations: 424.9 kB / 1.582 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/0.9302, allocations: 142.2 kB / 1.582 GB, free: 160.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008088/0.9383, allocations: 1.388 MB / 1.583 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007664/0.946, allocations: 1.232 MB / 1.584 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.946, allocations: 0 / 1.584 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009005/0.9469, allocations: 331 kB / 1.585 GB, free: 157.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002791/0.9472, allocations: 12 kB / 1.585 GB, free: 157 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/0.9488, allocations: 85.77 kB / 1.585 GB, free: 157 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.949, allocations: 52.5 kB / 1.585 GB, free: 156.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004594/0.9536, allocations: 1.042 MB / 1.586 GB, free: 155.9 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003947/0.9576, allocations: 1.393 MB / 1.587 GB, free: 154.4 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001131/0.9587, allocations: 344.3 kB / 1.588 GB, free: 154.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001605/0.9604, allocations: 0.8379 MB / 1.588 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of Backend: time 5.41e-07/0.9604, allocations: 0 / 1.588 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005014/0.9654, allocations: 1.357 MB / 1.59 GB, free: 151.9 MB / 0.8542 GB Notification: Performance of SimCode: time 0.00858/0.974, allocations: 3.604 MB / 1.593 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.06877/1.043, allocations: 30.5 MB / 1.623 GB, free: 118.3 MB / 0.8542 GB