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.697/1.697, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.00105/0.00105, allocations: 172.9 kB / 361.4 MB, free: 6.871 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.682/1.682, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0008842/0.0008844, allocations: 89.19 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.15e-05/2.152e-05, allocations: 4 kB / 0.8517 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7297/0.7297, allocations: 115.3 MB / 0.9644 GB, free: 79.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.491/6.221, allocations: 2.374 GB / 3.339 GB, free: 150.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/6.221, allocations: 92.61 kB / 3.339 GB, free: 150.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.007/10.23, allocations: 1.034 GB / 4.373 GB, free: 126.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.936e-06/10.23, allocations: 0 / 4.373 GB, free: 126.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004606/10.23, allocations: 73.77 kB / 4.373 GB, free: 126.2 MB / 0.948 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.009335/10.24, allocations: 2.767 MB / 4.375 GB, free: 124.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/10.24, allocations: 10.41 kB / 4.375 GB, free: 124.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006548/10.24, allocations: 1.019 MB / 4.376 GB, free: 124.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004982/10.25, allocations: 2.061 MB / 4.378 GB, free: 124.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/10.25, allocations: 156.3 kB / 4.378 GB, free: 124.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002675/10.25, allocations: 119.3 kB / 4.379 GB, free: 124.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003365/10.25, allocations: 2.148 MB / 4.381 GB, free: 124.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003057/10.26, allocations: 1.893 MB / 4.383 GB, free: 123.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.024e-05/10.26, allocations: 0 / 4.383 GB, free: 123.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/10.26, allocations: 3.656 kB / 4.383 GB, free: 123.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-05/10.26, allocations: 65.34 kB / 4.383 GB, free: 123.9 MB / 0.948 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.0124/10.27, allocations: 8.315 MB / 4.391 GB, free: 120.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005192/10.27, allocations: 1.985 MB / 4.393 GB, free: 120.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/10.27, allocations: 0.7942 MB / 4.393 GB, free: 120.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006954/10.28, allocations: 0.8831 MB / 4.394 GB, free: 119.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001353/10.28, allocations: 0.9912 MB / 4.395 GB, free: 119.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=158): time 4.629e-06/10.28, allocations: 0 / 4.395 GB, free: 119.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=158): time 0.003964/10.28, allocations: 1.719 MB / 4.397 GB, free: 119.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.774e-05/10.28, allocations: 309.4 kB / 4.397 GB, free: 119.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/10.28, allocations: 1.409 MB / 4.399 GB, free: 119.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002088/10.28, allocations: 35.77 kB / 4.399 GB, free: 119.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008171/10.28, allocations: 1.036 MB / 4.4 GB, free: 118.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004304/10.28, allocations: 0.4978 MB / 4.4 GB, free: 118.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.154e-05/10.28, allocations: 7.141 kB / 4.4 GB, free: 118.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.021e-05/10.28, allocations: 361.7 kB / 4.4 GB, free: 118.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008217/10.29, allocations: 0.6014 MB / 4.401 GB, free: 118.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/10.29, allocations: 0.9498 MB / 4.402 GB, free: 117.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/10.29, allocations: 0.7219 MB / 4.403 GB, free: 117.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/10.29, allocations: 0.8125 kB / 4.403 GB, free: 117.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003388/10.29, allocations: 1.792 MB / 4.404 GB, free: 117.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002706/10.29, allocations: 1.153 MB / 4.406 GB, free: 116.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/10.29, allocations: 3.969 kB / 4.406 GB, free: 116.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005742/10.29, allocations: 81.94 kB / 4.406 GB, free: 116.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/10.29, allocations: 447.9 kB / 4.406 GB, free: 116.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/10.3, allocations: 2.07 MB / 4.408 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00286/10.3, allocations: 278.8 kB / 4.408 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/10.3, allocations: 77.39 kB / 4.408 GB, free: 114.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/10.3, allocations: 4.594 kB / 4.408 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003281/10.3, allocations: 1.56 MB / 4.41 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/10.3, allocations: 3.812 kB / 4.41 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005231/10.3, allocations: 89.42 kB / 4.41 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/10.31, allocations: 428.7 kB / 4.41 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/10.31, allocations: 1.466 MB / 4.412 GB, free: 113 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/10.31, allocations: 275 kB / 4.412 GB, free: 113 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002492/10.31, allocations: 76.64 kB / 4.412 GB, free: 113 MB / 0.948 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.000605/10.31, allocations: 147 kB / 4.412 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008229/10.31, allocations: 221.4 kB / 4.413 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005005/10.32, allocations: 2.069 MB / 4.415 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/10.32, allocations: 22.92 kB / 4.415 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/10.32, allocations: 3.25 kB / 4.415 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002996/10.32, allocations: 1.881 MB / 4.416 GB, free: 112.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009559/10.33, allocations: 4.724 MB / 4.421 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/10.33, allocations: 3.625 kB / 4.421 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/10.33, allocations: 439.2 kB / 4.422 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004928/10.33, allocations: 99.23 kB / 4.422 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/10.33, allocations: 33.52 kB / 4.422 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/10.33, allocations: 2.088 MB / 4.424 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/10.33, allocations: 3.844 kB / 4.424 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005182/10.34, allocations: 3.359 MB / 4.427 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/10.34, allocations: 0.6736 MB / 4.428 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008031/10.34, allocations: 6.625 kB / 4.428 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002739/10.34, allocations: 226.4 kB / 4.428 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002812/10.34, allocations: 143 kB / 4.428 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002162/10.34, allocations: 79.19 kB / 4.428 GB, free: 105.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002454/10.35, allocations: 1.078 MB / 4.429 GB, free: 105.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.3e-07/10.35, allocations: 0 / 4.429 GB, free: 105.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005942/10.35, allocations: 1.393 MB / 4.43 GB, free: 104.7 MB / 0.948 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.005316/10.36, allocations: 2.695 MB / 4.433 GB, free: 103.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00575/10.36, allocations: 2.79 MB / 4.436 GB, free: 102.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/10.36, allocations: 4.156 kB / 4.436 GB, free: 102.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001969/10.37, allocations: 1.025 MB / 4.437 GB, free: 102.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005952/10.37, allocations: 0.9625 MB / 4.438 GB, free: 101.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00964/10.38, allocations: 3.633 MB / 4.441 GB, free: 100.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00199/10.38, allocations: 1.717 MB / 4.443 GB, free: 99.52 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006066/10.39, allocations: 0.9639 MB / 4.444 GB, free: 99.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008284/10.39, allocations: 165.1 kB / 4.444 GB, free: 99.28 MB / 0.948 GB Notification: Performance of SimCode: time 1.543e-06/10.39, allocations: 0 / 4.444 GB, free: 99.28 MB / 0.948 GB Notification: Performance of Templates: time 0.09234/10.48, allocations: 54.17 MB / 4.497 GB, free: 59.97 MB / 0.948 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)