Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.965/4.965, 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.002586/0.002585, allocations: 352.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.391/4.391, allocations: 410.7 MB / 1.113 GB, free: 5.988 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.001794/0.001794, allocations: 184.9 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004946, allocations: 8 kB / 1.349 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.716/0.7165, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.0674/0.784, allocations: 55.76 MB / 1.516 GB, free: 228.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02172/0.8058, allocations: 12.07 MB / 1.528 GB, free: 216.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002766/0.8086, allocations: 55.62 kB / 1.528 GB, free: 216.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003782/0.8124, allocations: 0.8351 MB / 1.528 GB, free: 215.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.008964/0.8214, allocations: 2.322 MB / 1.531 GB, free: 213.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.006917/0.8284, allocations: 1.717 MB / 1.532 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.006933/0.8353, allocations: 4.757 MB / 1.537 GB, free: 207 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002095/0.8375, allocations: 0.9829 MB / 1.538 GB, free: 206.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00331/0.8408, allocations: 1.252 MB / 1.539 GB, free: 204.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002397/0.8433, allocations: 1.086 MB / 1.54 GB, free: 203.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0003837/0.8437, allocations: 64 kB / 1.54 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00349/0.8472, allocations: 0.8533 MB / 1.541 GB, free: 202.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0005971/0.8478, allocations: 330.5 kB / 1.541 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0006828/0.8485, allocations: 356.8 kB / 1.542 GB, free: 202.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00348/0.852, allocations: 1.921 MB / 1.544 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.8521, allocations: 0 / 1.544 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.886e-06/0.8521, allocations: 3.938 kB / 1.544 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.078e-05/0.8521, allocations: 0 / 1.544 GB, free: 200.2 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004918/0.857, allocations: 1.898 MB / 1.546 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.8571, allocations: 12.16 kB / 1.546 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006188/0.8633, allocations: 0.6418 MB / 1.546 GB, free: 197.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003566/0.8669, allocations: 1.335 MB / 1.547 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001967/0.8672, allocations: 149.4 kB / 1.548 GB, free: 196 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002408/0.8674, allocations: 96.94 kB / 1.548 GB, free: 195.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004807/0.8723, allocations: 1.342 MB / 1.549 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-05/0.8724, allocations: 0 / 1.549 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/0.8725, allocations: 39.94 kB / 1.549 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.591e-05/0.8726, allocations: 24 kB / 1.549 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006441/0.879, allocations: 1.386 MB / 1.55 GB, free: 193.1 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.01042/0.8895, allocations: 5.406 MB / 1.556 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004253/0.8938, allocations: 1.091 MB / 1.557 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002934/0.8968, allocations: 0.6261 MB / 1.557 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000943/0.8978, allocations: 1.24 MB / 1.559 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003183/0.901, allocations: 0.69 MB / 1.559 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=69): time 5.27e-06/0.901, allocations: 0 / 1.559 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=69): time 0.008932/0.91, allocations: 1.789 MB / 1.561 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.9101, allocations: 59.97 kB / 1.561 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/0.9124, allocations: 1.312 MB / 1.562 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002465/0.9127, allocations: 45.7 kB / 1.562 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006478/0.9134, allocations: 0.6621 MB / 1.563 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/0.9137, allocations: 236.6 kB / 1.563 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.253e-05/0.9138, allocations: 16 kB / 1.563 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.443e-05/0.9139, allocations: 337.9 kB / 1.564 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002801/0.9167, allocations: 0.5485 MB / 1.564 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003013/0.9198, allocations: 0.7816 MB / 1.565 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002867/0.9227, allocations: 0.5979 MB / 1.566 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.9228, allocations: 0 / 1.566 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.006713/0.9295, allocations: 1.465 MB / 1.567 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001402/0.9297, allocations: 215.5 kB / 1.567 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.9297, allocations: 3.953 kB / 1.567 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/0.9298, allocations: 8 kB / 1.567 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002403/0.9322, allocations: 271.6 kB / 1.567 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.491e-05/0.9322, allocations: 4 kB / 1.567 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/0.9353, allocations: 243 kB / 1.568 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/0.9356, allocations: 39.98 kB / 1.568 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.9356, allocations: 4 kB / 1.568 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00613/0.9418, allocations: 1.317 MB / 1.569 GB, free: 173.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.9418, allocations: 0 / 1.569 GB, free: 173.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.9419, allocations: 8 kB / 1.569 GB, free: 173.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/0.9442, allocations: 271.9 kB / 1.569 GB, free: 173 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.156e-05/0.9443, allocations: 11.98 kB / 1.569 GB, free: 173 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002895/0.9472, allocations: 231 kB / 1.569 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/0.9474, allocations: 43.97 kB / 1.57 GB, free: 172.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * 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.000908/0.9483, allocations: 425.9 kB / 1.57 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004011/0.9488, allocations: 146.2 kB / 1.57 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006657/0.9554, allocations: 1.527 MB / 1.572 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005715/0.9612, allocations: 1.3 MB / 1.573 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.9612, allocations: 0 / 1.573 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/0.9623, allocations: 362.8 kB / 1.573 GB, free: 168.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003696/0.9627, allocations: 12 kB / 1.573 GB, free: 168.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002638/0.9654, allocations: 183.7 kB / 1.573 GB, free: 168.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.9657, allocations: 60.56 kB / 1.573 GB, free: 168.6 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007642/0.9733, allocations: 1.489 MB / 1.575 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0094/0.9828, allocations: 2.303 MB / 1.577 GB, free: 164.8 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002879/0.9857, allocations: 0.6415 MB / 1.578 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001764/0.9875, allocations: 0.893 MB / 1.579 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of Backend: time 8.72e-07/0.9875, allocations: 0 / 1.579 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008702/0.9962, allocations: 2.052 MB / 1.581 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of SimCode: time 0.009801/1.006, allocations: 3.741 MB / 1.584 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.08236/1.089, allocations: 33.9 MB / 1.617 GB, free: 124.1 MB / 0.8542 GB