Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.756/1.756, allocations: 288.3 MB / 303.2 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001686/0.001685, allocations: 180.1 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008914/0.0008913, allocations: 89.09 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004344/0.0004345, allocations: 11.81 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2326, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.04229/0.2749, allocations: 50.6 MB / 1.029 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01903/0.294, allocations: 11.23 MB / 1.04 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003484/0.2975, allocations: 59.56 kB / 1.04 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004491/0.3021, allocations: 0.9175 MB / 1.041 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.009991/0.3121, allocations: 2.226 MB / 1.043 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006368/0.3185, allocations: 1.709 MB / 1.045 GB, free: 8.848 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00605/0.3245, allocations: 2.535 MB / 1.047 GB, free: 6.309 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002323/0.3269, allocations: 0.9933 MB / 1.048 GB, free: 5.297 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003463/0.3304, allocations: 1.175 MB / 1.049 GB, free: 4.117 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002024/0.3324, allocations: 0.7816 MB / 1.05 GB, free: 3.332 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0004926/0.3329, allocations: 56 kB / 1.05 GB, free: 3.277 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003343/0.3363, allocations: 0.9088 MB / 1.051 GB, free: 2.367 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0006788/0.337, allocations: 290.8 kB / 1.051 GB, free: 2.082 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.338, allocations: 356.8 kB / 1.052 GB, free: 1.727 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003778/0.3418, allocations: 1.855 MB / 1.053 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3418, allocations: 0 / 1.053 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3418, allocations: 3.938 kB / 1.053 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001041/0.3419, allocations: 0 / 1.053 GB, free: 15.86 MB / 0.6823 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.004692/0.3466, allocations: 1.863 MB / 1.055 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3467, allocations: 12.02 kB / 1.055 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003663/0.3503, allocations: 0.634 MB / 1.056 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003212/0.3536, allocations: 1.237 MB / 1.057 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002355/0.3538, allocations: 141.4 kB / 1.057 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003055/0.3542, allocations: 107.9 kB / 1.057 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003577/0.3577, allocations: 1.33 MB / 1.059 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/0.3578, allocations: 0 / 1.059 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.3579, allocations: 36 kB / 1.059 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.866e-05/0.358, allocations: 28 kB / 1.059 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004069/0.3621, allocations: 1.37 MB / 1.06 GB, free: 8.941 MB / 0.6823 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.01016/0.3723, allocations: 5.385 MB / 1.065 GB, free: 3.203 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005728/0.378, allocations: 1.507 MB / 1.067 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/0.3792, allocations: 1.236 MB / 1.068 GB, free: 140 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4576/0.8368, allocations: 0.6755 MB / 1.069 GB, free: 90.05 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 4.258e-06/0.8369, allocations: 0.625 kB / 1.069 GB, free: 90.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.005874/0.8428, allocations: 1.769 MB / 1.07 GB, free: 90 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.8428, allocations: 60.08 kB / 1.07 GB, free: 89.94 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/0.8448, allocations: 1.258 MB / 1.072 GB, free: 89.45 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.845, allocations: 44.56 kB / 1.072 GB, free: 89.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005255/0.8455, allocations: 0.6504 MB / 1.072 GB, free: 88.98 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.8457, allocations: 232.6 kB / 1.072 GB, free: 88.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.8458, allocations: 21 kB / 1.072 GB, free: 88.82 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.8459, allocations: 336.6 kB / 1.073 GB, free: 88.51 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/0.8477, allocations: 0.5432 MB / 1.073 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001893/0.8496, allocations: 0.7678 MB / 1.074 GB, free: 88.02 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.8513, allocations: 0.5873 MB / 1.075 GB, free: 87.83 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.8513, allocations: 1.984 kB / 1.075 GB, free: 87.83 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004643/0.856, allocations: 1.454 MB / 1.076 GB, free: 87.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003536/0.8564, allocations: 1.198 MB / 1.077 GB, free: 86.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.8564, allocations: 3.312 kB / 1.077 GB, free: 86.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.077e-05/0.8564, allocations: 9.281 kB / 1.077 GB, free: 86.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.8579, allocations: 278 kB / 1.077 GB, free: 86.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/0.8579, allocations: 11.58 kB / 1.077 GB, free: 86.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.8599, allocations: 241.6 kB / 1.078 GB, free: 86.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.86, allocations: 39.94 kB / 1.078 GB, free: 86.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.86, allocations: 6.031 kB / 1.078 GB, free: 86.07 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003994/0.864, allocations: 1.297 MB / 1.079 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.8641, allocations: 3 kB / 1.079 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.8641, allocations: 6.281 kB / 1.079 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.8655, allocations: 280.7 kB / 1.079 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.8656, allocations: 9.953 kB / 1.079 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.8675, allocations: 234.8 kB / 1.08 GB, free: 85.63 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.8676, allocations: 43.17 kB / 1.08 GB, free: 85.62 MB / 0.6823 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.001155/0.8688, allocations: 416.4 kB / 1.08 GB, free: 85.31 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005054/0.8693, allocations: 147.6 kB / 1.08 GB, free: 85.23 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004969/0.8743, allocations: 1.511 MB / 1.082 GB, free: 84.75 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.695e-05/0.8744, allocations: 17.61 kB / 1.082 GB, free: 84.74 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.8744, allocations: 0 / 1.082 GB, free: 84.74 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003879/0.8783, allocations: 1.279 MB / 1.083 GB, free: 84.29 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007689/0.886, allocations: 3.234 MB / 1.086 GB, free: 82.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.886, allocations: 5.109 kB / 1.086 GB, free: 82.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.8872, allocations: 232.9 kB / 1.086 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.506e-05/0.8872, allocations: 8.531 kB / 1.086 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-05/0.8873, allocations: 29.5 kB / 1.086 GB, free: 82.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.338e-05/0.8873, allocations: 8.109 kB / 1.086 GB, free: 82.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.327e-06/0.8874, allocations: 15.08 kB / 1.086 GB, free: 82.71 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005778/0.8931, allocations: 2.582 MB / 1.089 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/0.8942, allocations: 372.9 kB / 1.089 GB, free: 81.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.8944, allocations: 27.94 kB / 1.089 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/0.8959, allocations: 180.2 kB / 1.089 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.896, allocations: 72.16 kB / 1.089 GB, free: 81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.833e-05/0.8961, allocations: 42.03 kB / 1.089 GB, free: 80.99 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001509/0.8977, allocations: 0.9002 MB / 1.09 GB, free: 80.63 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8977, allocations: 0 / 1.09 GB, free: 80.63 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002419/0.9001, allocations: 0.7848 MB / 1.091 GB, free: 80.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001135/0.9013, allocations: 0.5076 MB / 1.092 GB, free: 80.32 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005892/0.9072, allocations: 2.07 MB / 1.094 GB, free: 79.68 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/0.9072, allocations: 2.031 kB / 1.094 GB, free: 79.68 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00214/0.9093, allocations: 0.7131 MB / 1.094 GB, free: 79.48 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004163/0.9135, allocations: 0.7408 MB / 1.095 GB, free: 79.31 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005424/0.919, allocations: 3.139 MB / 1.098 GB, free: 77.48 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000703/0.9197, allocations: 1.258 MB / 1.099 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002053/0.9218, allocations: 356.4 kB / 1.1 GB, free: 76.62 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003851/0.9222, allocations: 116.2 kB / 1.1 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of SimCode: time 1.183e-06/0.9222, allocations: 0 / 1.1 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of Templates: time 0.04753/0.9697, allocations: 29.23 MB / 1.128 GB, free: 56.76 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)