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.712/1.712, allocations: 289.7 MB / 302.2 MB, free: 2.141 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.001108/0.001108, allocations: 178.7 kB / 371.6 MB, free: 3.402 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.873/1.873, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009186/0.0009189, allocations: 91.25 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.653e-05/4.664e-05, allocations: 4 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2846, allocations: 116.3 MB / 0.9798 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.629/6.914, allocations: 2.376 GB / 3.356 GB, free: 239.5 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/6.914, allocations: 95.06 kB / 3.356 GB, free: 239.4 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.28/11.19, allocations: 1.044 GB / 4.4 GB, free: 98.69 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.786e-06/11.19, allocations: 0 / 4.4 GB, free: 98.69 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0004423/11.19, allocations: 72.16 kB / 4.4 GB, free: 98.68 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.01014/11.21, allocations: 2.766 MB / 4.403 GB, free: 97.56 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/11.21, allocations: 8.656 kB / 4.403 GB, free: 97.56 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00738/11.21, allocations: 1.016 MB / 4.404 GB, free: 97.41 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007944/11.22, allocations: 2.07 MB / 4.406 GB, free: 97.02 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003785/11.22, allocations: 219.4 kB / 4.406 GB, free: 96.96 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001091/11.22, allocations: 194.4 kB / 4.406 GB, free: 96.96 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00725/11.23, allocations: 2.152 MB / 4.408 GB, free: 96.75 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-05/11.23, allocations: 7.812 kB / 4.408 GB, free: 96.75 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005813/11.23, allocations: 78.31 kB / 4.409 GB, free: 96.75 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/11.23, allocations: 78.78 kB / 4.409 GB, free: 96.74 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004957/11.24, allocations: 2.274 MB / 4.411 GB, free: 96.72 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.01818/11.25, allocations: 8.68 MB / 4.419 GB, free: 93.78 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006024/11.26, allocations: 2.057 MB / 4.421 GB, free: 93.74 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/11.26, allocations: 0.8522 MB / 4.422 GB, free: 93.73 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008165/11.26, allocations: 0.8804 MB / 4.423 GB, free: 92.79 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001861/11.26, allocations: 1.049 MB / 4.424 GB, free: 92.68 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=159): time 7.635e-06/11.26, allocations: 2.156 kB / 4.424 GB, free: 92.68 MB / 0.9636 GB Notification: Performance of matching and sorting (n=159): time 0.004971/11.27, allocations: 1.793 MB / 4.426 GB, free: 92.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/11.27, allocations: 303.7 kB / 4.426 GB, free: 92.15 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004172/11.27, allocations: 1.638 MB / 4.428 GB, free: 91.93 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003277/11.27, allocations: 62.61 kB / 4.428 GB, free: 91.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001356/11.27, allocations: 1.037 MB / 4.429 GB, free: 91.57 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006724/11.28, allocations: 0.5234 MB / 4.429 GB, free: 91.23 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/11.28, allocations: 29.94 kB / 4.429 GB, free: 91.23 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001687/11.28, allocations: 362.2 kB / 4.43 GB, free: 90.92 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/11.28, allocations: 0.635 MB / 4.43 GB, free: 90.92 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001712/11.28, allocations: 0.9989 MB / 4.431 GB, free: 90.58 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/11.28, allocations: 0.7574 MB / 4.432 GB, free: 90.52 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.158e-06/11.28, allocations: 0 / 4.432 GB, free: 90.52 MB / 0.9636 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004827/11.29, allocations: 1.91 MB / 4.434 GB, free: 90.29 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003705/11.29, allocations: 1.059 MB / 4.435 GB, free: 89.17 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/11.29, allocations: 5.875 kB / 4.435 GB, free: 89.17 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006567/11.29, allocations: 94.53 kB / 4.435 GB, free: 89.16 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00227/11.29, allocations: 450.1 kB / 4.435 GB, free: 89.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/11.29, allocations: 2.125 MB / 4.437 GB, free: 87.28 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003358/11.29, allocations: 321.6 kB / 4.438 GB, free: 87.21 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002634/11.29, allocations: 77.27 kB / 4.438 GB, free: 87.21 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/11.29, allocations: 6.406 kB / 4.438 GB, free: 87.21 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003501/11.3, allocations: 1.695 MB / 4.439 GB, free: 87.13 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/11.3, allocations: 3.156 kB / 4.439 GB, free: 87.13 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005396/11.3, allocations: 93.98 kB / 4.44 GB, free: 87.12 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/11.3, allocations: 439.8 kB / 4.44 GB, free: 87.12 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/11.3, allocations: 1.546 MB / 4.442 GB, free: 85.83 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003379/11.31, allocations: 322 kB / 4.442 GB, free: 85.77 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002658/11.31, allocations: 72.12 kB / 4.442 GB, free: 85.77 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 () * 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.0006571/11.31, allocations: 206.2 kB / 4.442 GB, free: 85.66 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/11.31, allocations: 232 kB / 4.442 GB, free: 85.54 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006082/11.31, allocations: 2.219 MB / 4.444 GB, free: 85.39 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.841e-05/11.31, allocations: 15.75 kB / 4.444 GB, free: 85.39 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/11.31, allocations: 3.812 kB / 4.444 GB, free: 85.39 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00321/11.32, allocations: 1.959 MB / 4.446 GB, free: 84.89 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01324/11.33, allocations: 5.101 MB / 4.451 GB, free: 84.08 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/11.33, allocations: 10.89 kB / 4.451 GB, free: 84.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002384/11.33, allocations: 451.5 kB / 4.452 GB, free: 84.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005704/11.33, allocations: 88.98 kB / 4.452 GB, free: 84.07 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002289/11.33, allocations: 57.72 kB / 4.452 GB, free: 84.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/11.34, allocations: 2.153 MB / 4.454 GB, free: 82.19 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/11.34, allocations: 3.375 kB / 4.454 GB, free: 82.19 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007631/11.34, allocations: 3.528 MB / 4.458 GB, free: 81.36 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002484/11.35, allocations: 0.6925 MB / 4.458 GB, free: 81.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001129/11.35, allocations: 40.19 kB / 4.458 GB, free: 81.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003281/11.35, allocations: 260.8 kB / 4.458 GB, free: 81.01 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004643/11.35, allocations: 136.7 kB / 4.459 GB, free: 81 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003188/11.35, allocations: 82.47 kB / 4.459 GB, free: 81 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00408/11.36, allocations: 1.285 MB / 4.46 GB, free: 80.84 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.82e-07/11.36, allocations: 0 / 4.46 GB, free: 80.84 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.008244/11.36, allocations: 1.496 MB / 4.461 GB, free: 80.63 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 (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.007166/11.37, allocations: 2.54 MB / 4.464 GB, free: 79.93 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.008042/11.38, allocations: 2.958 MB / 4.467 GB, free: 79.52 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/11.38, allocations: 1.562 kB / 4.467 GB, free: 79.52 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002859/11.38, allocations: 1.078 MB / 4.468 GB, free: 79.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008174/11.39, allocations: 1.101 MB / 4.469 GB, free: 79.36 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/11.4, allocations: 3.744 MB / 4.473 GB, free: 78.4 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003237/11.41, allocations: 1.723 MB / 4.474 GB, free: 77.66 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.007951/11.41, allocations: 1.007 MB / 4.475 GB, free: 77.62 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/11.41, allocations: 172.2 kB / 4.475 GB, free: 77.61 MB / 0.9636 GB Notification: Performance of SimCode: time 1.262e-06/11.41, allocations: 3.531 kB / 4.475 GB, free: 77.61 MB / 0.9636 GB Notification: Performance of Templates: time 0.1222/11.54, allocations: 75.25 MB / 4.549 GB, free: 73.57 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)