Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.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_AirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.709/1.709, allocations: 288.3 MB / 303.2 MB, free: 8.23 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.001292/0.001292, allocations: 185 kB / 371.8 MB, free: 10.25 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.626/1.626, allocations: 205.4 MB / 0.6306 GB, free: 9.969 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.0009484/0.0009485, allocations: 101.6 kB / 0.7439 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004164/0.0004164, allocations: 11.91 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2308, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.77/6, allocations: 2.375 GB / 3.354 GB, free: 250.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/6.001, allocations: 102.2 kB / 3.355 GB, free: 250.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.021/10.02, allocations: 1.046 GB / 4.401 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.488e-06/10.02, allocations: 3.062 kB / 4.401 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000525/10.02, allocations: 71.59 kB / 4.401 GB, free: 126.2 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 477 * Number of variables: 477 Notification: Performance of Generate backend data structure: time 0.01324/10.04, allocations: 3.205 MB / 4.404 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/10.04, allocations: 9.938 kB / 4.404 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008043/10.04, allocations: 1.014 MB / 4.405 GB, free: 124.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007789/10.05, allocations: 2.09 MB / 4.407 GB, free: 124.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003997/10.05, allocations: 220.9 kB / 4.407 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009728/10.05, allocations: 201.2 kB / 4.407 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008073/10.06, allocations: 2.394 MB / 4.41 GB, free: 124.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001052/10.06, allocations: 0 / 4.41 GB, free: 124.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006886/10.06, allocations: 79.06 kB / 4.41 GB, free: 124.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.544e-05/10.06, allocations: 73.92 kB / 4.41 GB, free: 124.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007326/10.07, allocations: 2.727 MB / 4.413 GB, free: 124.1 MB / 0.9636 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.01946/10.09, allocations: 8.688 MB / 4.421 GB, free: 121.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007774/10.1, allocations: 2.367 MB / 4.423 GB, free: 121 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009463/10.1, allocations: 0.8867 MB / 4.424 GB, free: 120.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003208/10.1, allocations: 1.269 MB / 4.425 GB, free: 120 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=159): time 6.763e-06/10.1, allocations: 0 / 4.425 GB, free: 120 MB / 0.9636 GB Notification: Performance of matching and sorting (n=159): time 0.01097/10.11, allocations: 3.229 MB / 4.429 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/10.11, allocations: 257.4 kB / 4.429 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004636/10.12, allocations: 1.651 MB / 4.43 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0006107/10.12, allocations: 63.83 kB / 4.431 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001471/10.12, allocations: 1.036 MB / 4.432 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000993/10.12, allocations: 0.5284 MB / 4.432 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002632/10.12, allocations: 28.66 kB / 4.432 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001883/10.12, allocations: 364 kB / 4.432 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002453/10.12, allocations: 0.8576 MB / 4.433 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002634/10.13, allocations: 1.218 MB / 4.434 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002564/10.13, allocations: 0.9678 MB / 4.435 GB, free: 117.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/10.13, allocations: 3.844 kB / 4.435 GB, free: 117.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.00704/10.14, allocations: 2.354 MB / 4.438 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003594/10.14, allocations: 1.055 MB / 4.439 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/10.14, allocations: 3.812 kB / 4.439 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007017/10.14, allocations: 91.64 kB / 4.439 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002452/10.14, allocations: 451.8 kB / 4.439 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/10.14, allocations: 2.136 MB / 4.441 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003875/10.15, allocations: 332.4 kB / 4.442 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005117/10.15, allocations: 77.84 kB / 4.442 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/10.15, allocations: 4.656 kB / 4.442 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006488/10.15, allocations: 2.141 MB / 4.444 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/10.15, allocations: 3.688 kB / 4.444 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006022/10.15, allocations: 84.69 kB / 4.444 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002305/10.16, allocations: 443.2 kB / 4.444 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/10.16, allocations: 1.553 MB / 4.446 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004376/10.16, allocations: 324.5 kB / 4.446 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000464/10.16, allocations: 77.56 kB / 4.446 GB, free: 113.1 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,chi.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002659/10.17, allocations: 0.5949 MB / 4.447 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001244/10.17, allocations: 231.1 kB / 4.447 GB, free: 112.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008112/10.17, allocations: 2.663 MB / 4.45 GB, free: 112.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.458e-05/10.17, allocations: 29.58 kB / 4.45 GB, free: 112.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/10.17, allocations: 0 / 4.45 GB, free: 112.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00533/10.18, allocations: 2.408 MB / 4.452 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0138/10.19, allocations: 5.379 MB / 4.457 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.406e-05/10.19, allocations: 3.562 kB / 4.457 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002282/10.2, allocations: 448.1 kB / 4.458 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005591/10.2, allocations: 100.9 kB / 4.458 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002567/10.2, allocations: 52.88 kB / 4.458 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/10.2, allocations: 2.167 MB / 4.46 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/10.2, allocations: 10.3 kB / 4.46 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009867/10.21, allocations: 4.161 MB / 4.464 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002237/10.21, allocations: 0.7032 MB / 4.465 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009/10.21, allocations: 39.38 kB / 4.465 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003229/10.22, allocations: 262.5 kB / 4.465 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003442/10.22, allocations: 134.9 kB / 4.465 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002676/10.22, allocations: 81.59 kB / 4.465 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003066/10.22, allocations: 1.308 MB / 4.467 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.01e-07/10.22, allocations: 5.469 kB / 4.467 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007444/10.23, allocations: 1.498 MB / 4.468 GB, free: 108 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (chi.vol1.dynBal.U,chi.vol1.dynBal.m,chi.vol1.dynBal.mXi[1],chi.vol2.dynBal.U) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,pulse.T_start,pulse.count,weaDat.conTimMin.tNext,weaDat.conTim.tNext,chi.on) * Number of discrete states: 3 (pulse.count,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005593/10.23, allocations: 2.56 MB / 4.47 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009722/10.24, allocations: 3.538 MB / 4.474 GB, free: 107 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.722e-05/10.24, allocations: 4.062 kB / 4.474 GB, free: 107 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00336/10.25, allocations: 1.301 MB / 4.475 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006949/10.25, allocations: 1.099 MB / 4.476 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/10.27, allocations: 5.704 MB / 4.482 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002472/10.27, allocations: 1.714 MB / 4.484 GB, free: 103.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.005382/10.27, allocations: 0.7859 MB / 4.484 GB, free: 103.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/10.28, allocations: 217.9 kB / 4.485 GB, free: 103.7 MB / 0.9636 GB Notification: Performance of SimCode: time 1.173e-06/10.28, allocations: 0 / 4.485 GB, free: 103.7 MB / 0.9636 GB Notification: Performance of Templates: time 0.1138/10.39, allocations: 66.71 MB / 4.55 GB, free: 99.59 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1)