Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.228/2.228, allocations: 251.1 MB / 266.7 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001472/0.001472, allocations: 177.1 kB / 326.2 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.443/2.443, allocations: 205.4 MB / 0.5772 GB, free: 20.72 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009227/0.0009222, allocations: 96.34 kB / 0.6817 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004618/0.0004619, allocations: 13.91 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.215, allocations: 106.3 MB / 0.8995 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.444/1.659, allocations: 409.3 MB / 1.299 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/1.66, allocations: 102.6 kB / 1.299 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.225/4.885, allocations: 0.6037 GB / 1.903 GB, free: 181.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.585e-06/4.885, allocations: 0 / 1.903 GB, free: 181.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002502/4.885, allocations: 40.84 kB / 1.903 GB, free: 181.3 MB / 0.8855 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.007399/4.892, allocations: 2.066 MB / 1.905 GB, free: 179.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/4.892, allocations: 7.812 kB / 1.905 GB, free: 179.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006439/4.899, allocations: 0.6347 MB / 1.906 GB, free: 179.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00565/4.905, allocations: 1.575 MB / 1.907 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/4.905, allocations: 155.2 kB / 1.907 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003279/4.905, allocations: 100.7 kB / 1.907 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005116/4.91, allocations: 1.331 MB / 1.909 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.533e-05/4.91, allocations: 3.938 kB / 1.909 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001752/4.911, allocations: 44.8 kB / 1.909 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.381e-05/4.911, allocations: 22.53 kB / 1.909 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006805/4.918, allocations: 1.381 MB / 1.91 GB, free: 176.9 MB / 0.8855 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.01171/4.929, allocations: 5.347 MB / 1.915 GB, free: 172.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/4.94, allocations: 1.526 MB / 1.917 GB, free: 171.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003115/4.943, allocations: 0.6381 MB / 1.917 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/4.944, allocations: 1.247 MB / 1.919 GB, free: 169.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003261/4.948, allocations: 0.7024 MB / 1.919 GB, free: 169.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=69): time 4.578e-06/4.948, allocations: 0 / 1.919 GB, free: 169.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=69): time 0.00946/4.957, allocations: 1.833 MB / 1.921 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/4.957, allocations: 62.91 kB / 1.921 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/4.96, allocations: 1.242 MB / 1.922 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003393/4.96, allocations: 45.7 kB / 1.922 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007236/4.961, allocations: 0.6567 MB / 1.923 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004005/4.961, allocations: 237 kB / 1.923 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.109e-05/4.961, allocations: 16 kB / 1.923 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.003e-05/4.961, allocations: 337.9 kB / 1.924 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002855/4.964, allocations: 0.5464 MB / 1.924 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003191/4.968, allocations: 0.8186 MB / 1.925 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002954/4.971, allocations: 0.593 MB / 1.926 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/4.971, allocations: 0 / 1.926 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.007031/4.978, allocations: 1.439 MB / 1.927 GB, free: 162.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/4.978, allocations: 205.2 kB / 1.927 GB, free: 162.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/4.978, allocations: 4 kB / 1.927 GB, free: 162.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.676e-05/4.978, allocations: 8 kB / 1.927 GB, free: 162.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/4.98, allocations: 259.6 kB / 1.927 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.499e-05/4.98, allocations: 15.92 kB / 1.927 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003277/4.984, allocations: 236.2 kB / 1.928 GB, free: 162 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002851/4.984, allocations: 47.97 kB / 1.928 GB, free: 162 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/4.984, allocations: 4 kB / 1.928 GB, free: 162 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006267/4.99, allocations: 1.285 MB / 1.929 GB, free: 160.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/4.99, allocations: 4 kB / 1.929 GB, free: 160.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/4.99, allocations: 8 kB / 1.929 GB, free: 160.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002371/4.993, allocations: 256 kB / 1.929 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/4.993, allocations: 15.92 kB / 1.929 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003205/4.996, allocations: 236.3 kB / 1.929 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002624/4.996, allocations: 47.92 kB / 1.93 GB, free: 160.2 MB / 0.8855 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.001193/4.998, allocations: 413.5 kB / 1.93 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004929/4.998, allocations: 142.2 kB / 1.93 GB, free: 159.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006923/5.005, allocations: 1.556 MB / 1.932 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.938e-05/5.005, allocations: 15.94 kB / 1.932 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/5.005, allocations: 0 / 1.932 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006032/5.011, allocations: 1.327 MB / 1.933 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/5.023, allocations: 3.334 MB / 1.936 GB, free: 153.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/5.023, allocations: 7.938 kB / 1.936 GB, free: 153.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002262/5.025, allocations: 243.9 kB / 1.936 GB, free: 153 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-05/5.025, allocations: 8 kB / 1.936 GB, free: 153 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001649/5.026, allocations: 23.98 kB / 1.936 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-05/5.026, allocations: 8 kB / 1.936 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/5.026, allocations: 11.94 kB / 1.936 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009929/5.036, allocations: 2.387 MB / 1.939 GB, free: 150.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00145/5.037, allocations: 471.8 kB / 1.939 GB, free: 150 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000473/5.038, allocations: 16 kB / 1.939 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002945/5.041, allocations: 187.7 kB / 1.939 GB, free: 149.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/5.041, allocations: 68.36 kB / 1.939 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001743/5.041, allocations: 47.97 kB / 1.94 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001952/5.043, allocations: 0.8889 MB / 1.94 GB, free: 148.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.91e-07/5.043, allocations: 0 / 1.94 GB, free: 148.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003695/5.047, allocations: 0.8265 MB / 1.941 GB, free: 147.9 MB / 0.8855 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.00202/5.049, allocations: 0.7769 MB / 1.942 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.009321/5.058, allocations: 2.035 MB / 1.944 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/5.058, allocations: 0 / 1.944 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003349/5.062, allocations: 0.7186 MB / 1.945 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007355/5.069, allocations: 0.7673 MB / 1.945 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007979/5.077, allocations: 3.165 MB / 1.949 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008566/5.078, allocations: 1.23 MB / 1.95 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003089/5.081, allocations: 370.9 kB / 1.95 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007021/5.082, allocations: 119.4 kB / 1.95 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.282e-06/5.082, allocations: 0 / 1.95 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.0817/5.164, allocations: 32.59 MB / 1.982 GB, free: 107.3 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)