Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.839/1.839, allocations: 292.6 MB / 307.5 MB, free: 5.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.001443/0.001443, allocations: 181 kB / 377.1 MB, free: 1.508 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.855/1.855, allocations: 205.4 MB / 0.6367 GB, free: 8.617 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001072/0.001071, allocations: 93.33 kB / 0.751 GB, free: 63.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.00037, allocations: 8 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3126, allocations: 116.3 MB / 0.9884 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.647/6.96, allocations: 2.376 GB / 3.364 GB, free: 206.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003636/6.96, allocations: 95.94 kB / 3.364 GB, free: 206.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.298/11.26, allocations: 1.046 GB / 4.411 GB, free: 100 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.956e-06/11.26, allocations: 0 / 4.411 GB, free: 100 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003606/11.26, allocations: 71.25 kB / 4.411 GB, free: 100 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.01285/11.27, allocations: 3.198 MB / 4.414 GB, free: 98.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.556e-05/11.27, allocations: 7.312 kB / 4.414 GB, free: 98.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007463/11.28, allocations: 1.021 MB / 4.415 GB, free: 98.45 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006448/11.29, allocations: 2.09 MB / 4.417 GB, free: 97.95 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003206/11.29, allocations: 222.4 kB / 4.417 GB, free: 97.88 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005983/11.29, allocations: 194.2 kB / 4.417 GB, free: 97.88 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006009/11.29, allocations: 2.399 MB / 4.42 GB, free: 97.66 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.554e-05/11.29, allocations: 6.438 kB / 4.42 GB, free: 97.66 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002523/11.29, allocations: 78.72 kB / 4.42 GB, free: 97.66 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.69e-05/11.29, allocations: 77.5 kB / 4.42 GB, free: 97.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005754/11.3, allocations: 2.724 MB / 4.422 GB, free: 97.64 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.0159/11.32, allocations: 8.689 MB / 4.431 GB, free: 94.64 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007258/11.32, allocations: 2.368 MB / 4.433 GB, free: 94.6 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000866/11.32, allocations: 0.8821 MB / 4.434 GB, free: 93.66 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002727/11.33, allocations: 1.258 MB / 4.435 GB, free: 93.58 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=159): time 3.938e-06/11.33, allocations: 0 / 4.435 GB, free: 93.58 MB / 0.9636 GB Notification: Performance of matching and sorting (n=159): time 0.008964/11.34, allocations: 3.228 MB / 4.439 GB, free: 93.29 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/11.34, allocations: 261.6 kB / 4.439 GB, free: 93 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003066/11.34, allocations: 1.66 MB / 4.44 GB, free: 92.79 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003002/11.34, allocations: 64.3 kB / 4.44 GB, free: 92.76 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001007/11.34, allocations: 1.035 MB / 4.441 GB, free: 92.43 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005232/11.34, allocations: 0.5236 MB / 4.442 GB, free: 92.09 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/11.34, allocations: 31.81 kB / 4.442 GB, free: 92.09 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001214/11.34, allocations: 359.9 kB / 4.442 GB, free: 91.79 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001969/11.34, allocations: 0.8569 MB / 4.443 GB, free: 91.79 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002199/11.34, allocations: 1.215 MB / 4.444 GB, free: 91.45 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/11.35, allocations: 0.9667 MB / 4.445 GB, free: 91.39 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/11.35, allocations: 0 / 4.445 GB, free: 91.39 MB / 0.9636 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.006016/11.35, allocations: 2.358 MB / 4.448 GB, free: 91.16 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003229/11.35, allocations: 1.061 MB / 4.449 GB, free: 90.04 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/11.35, allocations: 7.734 kB / 4.449 GB, free: 90.03 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000618/11.35, allocations: 92.44 kB / 4.449 GB, free: 90.02 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002141/11.36, allocations: 440.9 kB / 4.449 GB, free: 90.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/11.36, allocations: 2.145 MB / 4.451 GB, free: 88.15 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003562/11.36, allocations: 331.8 kB / 4.452 GB, free: 88.08 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000261/11.36, allocations: 77.17 kB / 4.452 GB, free: 88.08 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/11.36, allocations: 10.03 kB / 4.452 GB, free: 88.08 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005373/11.37, allocations: 2.139 MB / 4.454 GB, free: 87.99 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/11.37, allocations: 3.156 kB / 4.454 GB, free: 87.99 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005489/11.37, allocations: 88.2 kB / 4.454 GB, free: 87.98 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/11.37, allocations: 436.9 kB / 4.454 GB, free: 87.98 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/11.37, allocations: 1.549 MB / 4.456 GB, free: 86.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003677/11.38, allocations: 328.9 kB / 4.456 GB, free: 86.64 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/11.38, allocations: 73.88 kB / 4.456 GB, free: 86.64 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.002119/11.38, allocations: 0.6003 MB / 4.457 GB, free: 86.44 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000871/11.38, allocations: 234.4 kB / 4.457 GB, free: 86.32 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006333/11.38, allocations: 2.661 MB / 4.46 GB, free: 86.16 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.253e-05/11.38, allocations: 19.38 kB / 4.46 GB, free: 86.16 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/11.38, allocations: 0 / 4.46 GB, free: 86.16 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004864/11.39, allocations: 2.419 MB / 4.462 GB, free: 85.66 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/11.4, allocations: 5.373 MB / 4.467 GB, free: 85 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/11.4, allocations: 6.875 kB / 4.467 GB, free: 85 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00209/11.4, allocations: 442.6 kB / 4.468 GB, free: 85 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005117/11.4, allocations: 96.41 kB / 4.468 GB, free: 85 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/11.4, allocations: 51.16 kB / 4.468 GB, free: 85 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/11.41, allocations: 2.167 MB / 4.47 GB, free: 83.12 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/11.41, allocations: 4.781 kB / 4.47 GB, free: 83.12 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008662/11.41, allocations: 4.171 MB / 4.474 GB, free: 82.32 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002212/11.42, allocations: 0.6933 MB / 4.475 GB, free: 81.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003659/11.42, allocations: 43.66 kB / 4.475 GB, free: 81.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002172/11.42, allocations: 258.8 kB / 4.475 GB, free: 81.97 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000337/11.42, allocations: 137.3 kB / 4.475 GB, free: 81.96 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/11.42, allocations: 82.19 kB / 4.475 GB, free: 81.96 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002178/11.42, allocations: 1.302 MB / 4.476 GB, free: 81.82 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.11e-07/11.42, allocations: 0 / 4.476 GB, free: 81.82 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005491/11.43, allocations: 1.499 MB / 4.478 GB, free: 81.61 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.005183/11.43, allocations: 2.582 MB / 4.48 GB, free: 80.86 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.008682/11.44, allocations: 3.545 MB / 4.484 GB, free: 80.46 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.607e-05/11.44, allocations: 6.25 kB / 4.484 GB, free: 80.46 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003049/11.44, allocations: 1.302 MB / 4.485 GB, free: 80.34 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006278/11.45, allocations: 1.093 MB / 4.486 GB, free: 80.29 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/11.46, allocations: 5.697 MB / 4.492 GB, free: 77.81 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/11.46, allocations: 1.711 MB / 4.493 GB, free: 77.05 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004489/11.47, allocations: 0.7964 MB / 4.494 GB, free: 76.87 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007581/11.47, allocations: 216 kB / 4.494 GB, free: 76.86 MB / 0.9636 GB Notification: Performance of SimCode: time 1.142e-06/11.47, allocations: 0 / 4.494 GB, free: 76.86 MB / 0.9636 GB Notification: Performance of Templates: time 0.1219/11.59, allocations: 66.7 MB / 4.56 GB, free: 67.17 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1)