Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.584/1.584, allocations: 285.4 MB / 298 MB, free: 5.965 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.8 kB / 366.4 MB, free: 2.121 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.612/1.612, allocations: 205.1 MB / 0.6248 GB, free: 7.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.0009194/0.0009195, allocations: 91.73 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.377e-05/3.403e-05, allocations: 4 kB / 0.8583 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7939/0.794, allocations: 115.3 MB / 0.9709 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.087/1.881, allocations: 417.2 MB / 1.378 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/1.881, allocations: 91 kB / 1.378 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.484/4.366, allocations: 0.6229 GB / 2.001 GB, free: 167.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.783e-06/4.366, allocations: 2.781 kB / 2.001 GB, free: 167.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002754/4.366, allocations: 44.08 kB / 2.001 GB, free: 167.5 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.005641/4.372, allocations: 1.757 MB / 2.003 GB, free: 167 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/4.372, allocations: 8.656 kB / 2.003 GB, free: 167 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004389/4.376, allocations: 0.6287 MB / 2.004 GB, free: 166.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005487/4.382, allocations: 1.633 MB / 2.005 GB, free: 166.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/4.382, allocations: 151.6 kB / 2.005 GB, free: 166.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004723/4.383, allocations: 97.41 kB / 2.006 GB, free: 166.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/4.386, allocations: 1.113 MB / 2.007 GB, free: 166.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.705e-05/4.386, allocations: 10.23 kB / 2.007 GB, free: 166.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/4.386, allocations: 35.53 kB / 2.007 GB, free: 166.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.832e-05/4.386, allocations: 28.77 kB / 2.007 GB, free: 166.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/4.388, allocations: 0.9537 MB / 2.008 GB, free: 166.4 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.008783/4.397, allocations: 5.377 MB / 2.013 GB, free: 164 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004401/4.401, allocations: 1.1 MB / 2.014 GB, free: 164 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006721/4.402, allocations: 443.6 kB / 2.014 GB, free: 164 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007547/4.403, allocations: 1.246 MB / 2.016 GB, free: 162.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007784/4.403, allocations: 0.5302 MB / 2.016 GB, free: 162.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=67): time 3.487e-06/4.403, allocations: 5.25 kB / 2.016 GB, free: 162.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=67): time 0.001765/4.405, allocations: 0.8756 MB / 2.017 GB, free: 162.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/4.405, allocations: 115.1 kB / 2.017 GB, free: 162.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/4.407, allocations: 1.133 MB / 2.018 GB, free: 162.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/4.407, allocations: 44.3 kB / 2.018 GB, free: 162.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005066/4.407, allocations: 0.6693 MB / 2.019 GB, free: 161.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/4.408, allocations: 230.5 kB / 2.019 GB, free: 161.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/4.408, allocations: 14.69 kB / 2.019 GB, free: 161.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.103e-05/4.408, allocations: 332 kB / 2.019 GB, free: 161.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005103/4.408, allocations: 346.7 kB / 2.02 GB, free: 161.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006778/4.409, allocations: 0.6057 MB / 2.02 GB, free: 161.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005584/4.409, allocations: 400.8 kB / 2.021 GB, free: 161.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/4.409, allocations: 0 / 2.021 GB, free: 161.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001631/4.411, allocations: 1.032 MB / 2.022 GB, free: 161 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002678/4.411, allocations: 1.199 MB / 2.023 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/4.411, allocations: 6.688 kB / 2.023 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/4.411, allocations: 14.12 kB / 2.023 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/4.413, allocations: 266 kB / 2.023 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/4.413, allocations: 13.77 kB / 2.023 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/4.415, allocations: 233.1 kB / 2.023 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/4.415, allocations: 50.83 kB / 2.023 GB, free: 159.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/4.415, allocations: 5.25 kB / 2.023 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001344/4.416, allocations: 0.8761 MB / 2.024 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/4.416, allocations: 3.938 kB / 2.024 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/4.416, allocations: 3.844 kB / 2.024 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/4.417, allocations: 281.5 kB / 2.025 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/4.417, allocations: 10.89 kB / 2.025 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/4.419, allocations: 222 kB / 2.025 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/4.419, allocations: 48.36 kB / 2.025 GB, free: 159.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002783/4.419, allocations: 163.7 kB / 2.025 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/4.42, allocations: 143.3 kB / 2.025 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/4.422, allocations: 1.09 MB / 2.026 GB, free: 159.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/4.422, allocations: 7.875 kB / 2.026 GB, free: 159.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/4.422, allocations: 3.812 kB / 2.026 GB, free: 159.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001149/4.423, allocations: 0.9072 MB / 2.027 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004515/4.427, allocations: 3.084 MB / 2.03 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/4.427, allocations: 7.469 kB / 2.03 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/4.429, allocations: 248.4 kB / 2.03 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.595e-05/4.429, allocations: 7.625 kB / 2.03 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.583e-05/4.429, allocations: 28.67 kB / 2.03 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.878e-06/4.429, allocations: 13.67 kB / 2.03 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/4.429, allocations: 7.781 kB / 2.03 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002426/4.431, allocations: 2.047 MB / 2.032 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008805/4.432, allocations: 480 kB / 2.033 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/4.432, allocations: 22.81 kB / 2.033 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/4.434, allocations: 182.6 kB / 2.033 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/4.434, allocations: 72.19 kB / 2.033 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/4.434, allocations: 50.56 kB / 2.033 GB, free: 157.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001422/4.436, allocations: 0.9106 MB / 2.034 GB, free: 157.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.51e-07/4.436, allocations: 0 / 2.034 GB, free: 157.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002921/4.438, allocations: 0.8454 MB / 2.035 GB, free: 157.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001664/4.44, allocations: 0.8031 MB / 2.036 GB, free: 156.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002646/4.443, allocations: 1.469 MB / 2.037 GB, free: 156.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.882e-06/4.443, allocations: 1.281 kB / 2.037 GB, free: 156.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009367/4.444, allocations: 0.5048 MB / 2.038 GB, free: 156.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004227/4.448, allocations: 0.7638 MB / 2.038 GB, free: 156.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/4.452, allocations: 1.993 MB / 2.04 GB, free: 156.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008062/4.453, allocations: 1.266 MB / 2.042 GB, free: 155.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002686/4.456, allocations: 481 kB / 2.042 GB, free: 155.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/4.456, allocations: 104.1 kB / 2.042 GB, free: 155.4 MB / 0.948 GB Notification: Performance of SimCode: time 9.62e-07/4.456, allocations: 0 / 2.042 GB, free: 155.4 MB / 0.948 GB Notification: Performance of Templates: time 0.06745/4.523, allocations: 36.58 MB / 2.078 GB, free: 154.3 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)