Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.65/1.65, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001023, allocations: 184.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.2 MB / 0.6626 GB, free: 4.254 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008174/0.0008178, allocations: 97.61 kB / 0.7808 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003959, allocations: 15.94 kB / 0.9088 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7226/0.723, allocations: 120.3 MB / 1.026 GB, free: 55.86 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9359/1.659, allocations: 420.7 MB / 1.437 GB, free: 247 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/1.659, allocations: 96.02 kB / 1.437 GB, free: 247 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.809/3.469, allocations: 0.6325 GB / 2.07 GB, free: 2.352 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.424e-06/3.469, allocations: 0 / 2.07 GB, free: 2.352 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002028/3.469, allocations: 51.91 kB / 2.07 GB, free: 2.301 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.004733/3.474, allocations: 2.04 MB / 2.072 GB, free: 204 kB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/3.474, allocations: 8.031 kB / 2.072 GB, free: 196 kB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003413/3.477, allocations: 0.631 MB / 2.072 GB, free: 15.56 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003941/3.481, allocations: 1.645 MB / 2.074 GB, free: 13.86 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/3.481, allocations: 142 kB / 2.074 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004057/3.482, allocations: 104.6 kB / 2.074 GB, free: 13.61 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003478/3.485, allocations: 1.342 MB / 2.076 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/3.485, allocations: 3.938 kB / 2.076 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/3.485, allocations: 36 kB / 2.076 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.552e-05/3.486, allocations: 32 kB / 2.076 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003579/3.489, allocations: 1.378 MB / 2.077 GB, free: 10.78 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.008171/3.497, allocations: 5.358 MB / 2.082 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005113/3.502, allocations: 1.359 MB / 2.084 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/3.504, allocations: 0.6491 MB / 2.084 GB, free: 3.07 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008615/3.505, allocations: 1.243 MB / 2.085 GB, free: 1.551 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001742/3.507, allocations: 0.7405 MB / 2.086 GB, free: 0.7852 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=67): time 4.829e-06/3.507, allocations: 3.984 kB / 2.086 GB, free: 0.7812 MB / 0.9636 GB Notification: Performance of matching and sorting (n=67): time 0.004999/3.512, allocations: 1.817 MB / 2.088 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/3.512, allocations: 115.4 kB / 2.088 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/3.514, allocations: 1.255 MB / 2.089 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001482/3.514, allocations: 41.7 kB / 2.089 GB, free: 13.51 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006574/3.515, allocations: 0.6696 MB / 2.09 GB, free: 12.83 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/3.515, allocations: 236.7 kB / 2.09 GB, free: 12.59 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/3.515, allocations: 8 kB / 2.09 GB, free: 12.59 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001027/3.515, allocations: 337.9 kB / 2.09 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/3.517, allocations: 0.5484 MB / 2.091 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/3.518, allocations: 0.8205 MB / 2.092 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00283/3.521, allocations: 1.18 MB / 2.093 GB, free: 9.539 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/3.521, allocations: 4 kB / 2.093 GB, free: 9.535 MB / 0.9792 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003722/3.525, allocations: 1.43 MB / 2.094 GB, free: 8.09 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001614/3.525, allocations: 213.9 kB / 2.095 GB, free: 7.832 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/3.525, allocations: 0 / 2.095 GB, free: 7.832 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/3.525, allocations: 8 kB / 2.095 GB, free: 7.824 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/3.526, allocations: 267.6 kB / 2.095 GB, free: 7.562 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/3.526, allocations: 4 kB / 2.095 GB, free: 7.559 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/3.528, allocations: 235 kB / 2.095 GB, free: 7.328 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/3.528, allocations: 55.97 kB / 2.095 GB, free: 7.273 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/3.528, allocations: 4 kB / 2.095 GB, free: 7.27 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003201/3.532, allocations: 1.289 MB / 2.096 GB, free: 5.973 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/3.532, allocations: 7.938 kB / 2.096 GB, free: 5.965 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.263e-06/3.532, allocations: 4 kB / 2.096 GB, free: 5.961 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/3.533, allocations: 264 kB / 2.097 GB, free: 5.703 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/3.533, allocations: 7.938 kB / 2.097 GB, free: 5.695 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/3.535, allocations: 223.2 kB / 2.097 GB, free: 5.477 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/3.535, allocations: 47.97 kB / 2.097 GB, free: 5.43 MB / 0.9792 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 () * Number of clocked 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.001169/3.536, allocations: 416.8 kB / 2.097 GB, free: 5.012 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005205/3.537, allocations: 150.2 kB / 2.097 GB, free: 4.863 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004012/3.541, allocations: 1.487 MB / 2.099 GB, free: 3.355 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.062e-05/3.541, allocations: 15.98 kB / 2.099 GB, free: 3.34 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/3.541, allocations: 4 kB / 2.099 GB, free: 3.336 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003142/3.544, allocations: 1.308 MB / 2.1 GB, free: 2 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5128/4.057, allocations: 3.483 MB / 2.104 GB, free: 148.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/4.057, allocations: 2.719 kB / 2.104 GB, free: 148.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/4.058, allocations: 241.2 kB / 2.104 GB, free: 148.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-05/4.058, allocations: 7.25 kB / 2.104 GB, free: 148.2 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/4.058, allocations: 32.27 kB / 2.104 GB, free: 148.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.338e-05/4.058, allocations: 9.438 kB / 2.104 GB, free: 148.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/4.058, allocations: 8.625 kB / 2.104 GB, free: 148.2 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005325/4.064, allocations: 2.381 MB / 2.106 GB, free: 148 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/4.065, allocations: 470.6 kB / 2.107 GB, free: 147.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004838/4.065, allocations: 17.48 kB / 2.107 GB, free: 147.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/4.067, allocations: 188 kB / 2.107 GB, free: 147.8 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/4.067, allocations: 71.47 kB / 2.107 GB, free: 147.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/4.067, allocations: 46.62 kB / 2.107 GB, free: 147.8 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001934/4.069, allocations: 0.89 MB / 2.108 GB, free: 147.7 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.41e-07/4.069, allocations: 1.125 kB / 2.108 GB, free: 147.7 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003301/4.073, allocations: 0.8317 MB / 2.109 GB, free: 147.7 MB / 0.9792 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) * Number of clocked states: 0 () * 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.001861/4.075, allocations: 0.7823 MB / 2.109 GB, free: 147.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00498/4.08, allocations: 2.03 MB / 2.111 GB, free: 147.4 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/4.08, allocations: 1.531 kB / 2.111 GB, free: 147.4 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001718/4.081, allocations: 0.7144 MB / 2.112 GB, free: 147.4 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0049/4.086, allocations: 0.7831 MB / 2.113 GB, free: 147.4 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005468/4.092, allocations: 3.164 MB / 2.116 GB, free: 146 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/4.093, allocations: 1.224 MB / 2.117 GB, free: 145.3 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002292/4.095, allocations: 373.7 kB / 2.117 GB, free: 145.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004984/4.096, allocations: 130.6 kB / 2.118 GB, free: 145.3 MB / 0.9792 GB Notification: Performance of SimCode: time 5.51e-07/4.096, allocations: 0 / 2.118 GB, free: 145.3 MB / 0.9792 GB Notification: Performance of Templates: time 0.05383/4.149, allocations: 34.05 MB / 2.151 GB, free: 144.5 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)