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.584/1.584, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001014/0.001014, allocations: 176.9 kB / 366.7 MB, free: 1.648 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.679/1.679, allocations: 205.2 MB / 0.626 GB, free: 7.195 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.0009216/0.0009216, allocations: 93.27 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.738e-05/1.74e-05, allocations: 4 kB / 0.8597 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6763/0.6764, allocations: 116.3 MB / 0.9732 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.385/6.061, allocations: 2.375 GB / 3.349 GB, free: 64.86 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/6.061, allocations: 92.11 kB / 3.349 GB, free: 64.81 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.702/9.763, allocations: 1.034 GB / 4.382 GB, free: 135.5 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.973e-06/9.763, allocations: 3.609 kB / 4.382 GB, free: 135.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0004143/9.764, allocations: 70 kB / 4.382 GB, free: 135.5 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.008966/9.773, allocations: 2.769 MB / 4.385 GB, free: 133 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/9.773, allocations: 8.031 kB / 4.385 GB, free: 133 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006752/9.78, allocations: 1.015 MB / 4.386 GB, free: 132 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005687/9.785, allocations: 2.069 MB / 4.388 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002504/9.786, allocations: 151.1 kB / 4.388 GB, free: 129.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007404/9.786, allocations: 116 kB / 4.388 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004477/9.791, allocations: 2.143 MB / 4.391 GB, free: 127.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004492/9.795, allocations: 1.892 MB / 4.392 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.486e-05/9.795, allocations: 4 kB / 4.392 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003026/9.796, allocations: 4 kB / 4.392 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.09e-05/9.796, allocations: 76.09 kB / 4.392 GB, free: 125.5 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.01348/9.809, allocations: 8.314 MB / 4.401 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005226/9.815, allocations: 1.975 MB / 4.402 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/9.816, allocations: 0.7974 MB / 4.403 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007552/9.817, allocations: 0.8848 MB / 4.404 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001427/9.818, allocations: 0.9961 MB / 4.405 GB, free: 112 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=158): time 6.172e-06/9.818, allocations: 0 / 4.405 GB, free: 112 MB / 0.9636 GB Notification: Performance of matching and sorting (n=158): time 0.004128/9.822, allocations: 1.717 MB / 4.407 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.592e-05/9.822, allocations: 308 kB / 4.407 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00291/9.825, allocations: 1.415 MB / 4.408 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002524/9.825, allocations: 29.7 kB / 4.408 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009372/9.826, allocations: 1.036 MB / 4.41 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004719/9.827, allocations: 0.4964 MB / 4.41 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/9.827, allocations: 3.938 kB / 4.41 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.639e-05/9.827, allocations: 361.9 kB / 4.41 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008546/9.828, allocations: 0.6053 MB / 4.411 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/9.829, allocations: 0.9544 MB / 4.412 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/9.83, allocations: 0.7225 MB / 4.413 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/9.83, allocations: 0 / 4.413 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003659/9.834, allocations: 1.8 MB / 4.414 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002705/9.834, allocations: 1.136 MB / 4.415 GB, free: 101.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/9.834, allocations: 4 kB / 4.415 GB, free: 101.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005852/9.835, allocations: 92.72 kB / 4.416 GB, free: 101 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/9.837, allocations: 447.4 kB / 4.416 GB, free: 100.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/9.839, allocations: 2.066 MB / 4.418 GB, free: 98.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/9.842, allocations: 282.6 kB / 4.418 GB, free: 98.08 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002541/9.842, allocations: 75.95 kB / 4.418 GB, free: 98.01 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/9.842, allocations: 8 kB / 4.418 GB, free: 98 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003308/9.845, allocations: 1.547 MB / 4.42 GB, free: 96.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/9.845, allocations: 4 kB / 4.42 GB, free: 96.45 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005309/9.846, allocations: 92.94 kB / 4.42 GB, free: 96.35 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/9.848, allocations: 431.4 kB / 4.42 GB, free: 95.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/9.849, allocations: 1.477 MB / 4.422 GB, free: 94.33 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003053/9.853, allocations: 270.8 kB / 4.422 GB, free: 94.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003095/9.853, allocations: 71.95 kB / 4.422 GB, free: 94 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 174 * 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.0006427/9.854, allocations: 157.4 kB / 4.422 GB, free: 93.84 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008312/9.854, allocations: 221.4 kB / 4.422 GB, free: 93.62 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004523/9.859, allocations: 2.07 MB / 4.424 GB, free: 91.54 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/9.859, allocations: 19.98 kB / 4.425 GB, free: 91.52 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/9.859, allocations: 7.953 kB / 4.425 GB, free: 91.52 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002727/9.862, allocations: 1.875 MB / 4.426 GB, free: 89.55 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008502/9.87, allocations: 4.699 MB / 4.431 GB, free: 84.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/9.87, allocations: 4 kB / 4.431 GB, free: 84.77 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002009/9.872, allocations: 451.8 kB / 4.431 GB, free: 84.32 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004779/9.873, allocations: 96.77 kB / 4.431 GB, free: 84.23 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001559/9.873, allocations: 39.89 kB / 4.431 GB, free: 84.19 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/9.875, allocations: 2.094 MB / 4.434 GB, free: 81.95 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/9.875, allocations: 4 kB / 4.434 GB, free: 81.95 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004913/9.879, allocations: 3.339 MB / 4.437 GB, free: 78.42 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/9.881, allocations: 0.6745 MB / 4.437 GB, free: 77.71 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006791/9.882, allocations: 16 kB / 4.437 GB, free: 77.69 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002525/9.884, allocations: 223.6 kB / 4.438 GB, free: 77.47 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002538/9.885, allocations: 133.1 kB / 4.438 GB, free: 77.34 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001927/9.885, allocations: 79.95 kB / 4.438 GB, free: 77.27 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002189/9.887, allocations: 1.081 MB / 4.439 GB, free: 76.16 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.6e-07/9.887, allocations: 0 / 4.439 GB, free: 76.16 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005751/9.893, allocations: 1.398 MB / 4.44 GB, free: 74.77 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 163 * 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.00455/9.897, allocations: 2.689 MB / 4.443 GB, free: 72.43 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004864/9.902, allocations: 2.797 MB / 4.446 GB, free: 69.59 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/9.902, allocations: 4.25 kB / 4.446 GB, free: 69.59 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001683/9.904, allocations: 1.025 MB / 4.447 GB, free: 68.55 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005503/9.909, allocations: 0.9608 MB / 4.448 GB, free: 67.62 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008853/9.918, allocations: 3.628 MB / 4.451 GB, free: 63.93 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/9.92, allocations: 1.72 MB / 4.453 GB, free: 62.17 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.005422/9.926, allocations: 0.9621 MB / 4.454 GB, free: 61.24 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006934/9.926, allocations: 171.3 kB / 4.454 GB, free: 61.07 MB / 0.9636 GB Notification: Performance of SimCode: time 8.81e-07/9.926, allocations: 0 / 4.454 GB, free: 61.07 MB / 0.9636 GB Notification: Performance of Templates: time 0.07852/10, allocations: 54.16 MB / 4.507 GB, free: 7.484 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)