Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.18/2.18, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001459/0.001459, allocations: 176 kB / 326.2 MB, free: 2.871 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.481/2.481, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.001041/0.00104, allocations: 91.3 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007069/0.0007071, allocations: 15.44 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2272, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.326/1.553, allocations: 409.3 MB / 1.299 GB, free: 9.328 MB / 0.8074 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003568/1.554, allocations: 95.58 kB / 1.299 GB, free: 9.277 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 3.235/4.789, allocations: 0.6042 GB / 1.904 GB, free: 180.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.745e-06/4.789, allocations: 0 / 1.904 GB, free: 180.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002852/4.789, allocations: 49.89 kB / 1.904 GB, free: 180.8 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.007476/4.797, allocations: 2.093 MB / 1.906 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/4.797, allocations: 6.469 kB / 1.906 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00649/4.804, allocations: 0.6401 MB / 1.906 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0058/4.809, allocations: 1.598 MB / 1.908 GB, free: 177.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/4.81, allocations: 148.2 kB / 1.908 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000308/4.81, allocations: 102.2 kB / 1.908 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005098/4.815, allocations: 1.351 MB / 1.909 GB, free: 177 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.967e-05/4.815, allocations: 0 / 1.909 GB, free: 177 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/4.815, allocations: 39.03 kB / 1.909 GB, free: 177 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-05/4.815, allocations: 24.12 kB / 1.909 GB, free: 177 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006659/4.822, allocations: 1.396 MB / 1.911 GB, free: 176.4 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.01158/4.834, allocations: 5.41 MB / 1.916 GB, free: 171.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004518/4.838, allocations: 1.123 MB / 1.917 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00309/4.841, allocations: 0.6492 MB / 1.918 GB, free: 171 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/4.843, allocations: 1.248 MB / 1.919 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003274/4.846, allocations: 0.7201 MB / 1.92 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=69): time 6.011e-06/4.846, allocations: 1.656 kB / 1.92 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=69): time 0.009766/4.856, allocations: 1.858 MB / 1.922 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/4.856, allocations: 69.52 kB / 1.922 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/4.859, allocations: 1.288 MB / 1.923 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003517/4.859, allocations: 41.7 kB / 1.923 GB, free: 167 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007536/4.86, allocations: 0.68 MB / 1.924 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003863/4.86, allocations: 234.5 kB / 1.924 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.332e-05/4.86, allocations: 16 kB / 1.924 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.97e-05/4.86, allocations: 337.8 kB / 1.924 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002959/4.863, allocations: 0.5558 MB / 1.925 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003301/4.867, allocations: 0.8237 MB / 1.925 GB, free: 164.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003093/4.87, allocations: 0.6071 MB / 1.926 GB, free: 163.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/4.87, allocations: 2.156 kB / 1.926 GB, free: 163.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.007218/4.877, allocations: 1.459 MB / 1.927 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/4.877, allocations: 209.4 kB / 1.928 GB, free: 162 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/4.877, allocations: 4 kB / 1.928 GB, free: 162 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.174e-05/4.877, allocations: 4 kB / 1.928 GB, free: 162 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002407/4.88, allocations: 259.9 kB / 1.928 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.853e-05/4.88, allocations: 19.86 kB / 1.928 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00327/4.883, allocations: 230.9 kB / 1.928 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002661/4.883, allocations: 51.97 kB / 1.928 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/4.883, allocations: 4 kB / 1.928 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006409/4.89, allocations: 1.308 MB / 1.93 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/4.89, allocations: 6.156 kB / 1.93 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/4.89, allocations: 4 kB / 1.93 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002352/4.892, allocations: 267.4 kB / 1.93 GB, free: 159.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/4.892, allocations: 11.98 kB / 1.93 GB, free: 159.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003201/4.896, allocations: 224.4 kB / 1.93 GB, free: 159.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002586/4.896, allocations: 47.97 kB / 1.93 GB, free: 159.7 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.001171/4.897, allocations: 439.9 kB / 1.93 GB, free: 159.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005151/4.898, allocations: 146.2 kB / 1.931 GB, free: 159.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007138/4.905, allocations: 1.589 MB / 1.932 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.698e-05/4.905, allocations: 8 kB / 1.932 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/4.905, allocations: 0 / 1.932 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00605/4.911, allocations: 1.35 MB / 1.933 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/4.923, allocations: 3.388 MB / 1.937 GB, free: 152.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/4.923, allocations: 4 kB / 1.937 GB, free: 152.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002292/4.925, allocations: 244.1 kB / 1.937 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.706e-05/4.925, allocations: 8 kB / 1.937 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/4.925, allocations: 23.98 kB / 1.937 GB, free: 152.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.608e-05/4.925, allocations: 15.92 kB / 1.937 GB, free: 152.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/4.925, allocations: 4 kB / 1.937 GB, free: 152.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/4.936, allocations: 2.434 MB / 1.939 GB, free: 149.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/4.937, allocations: 471.8 kB / 1.94 GB, free: 149.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000492/4.938, allocations: 27.92 kB / 1.94 GB, free: 149.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002909/4.941, allocations: 175.7 kB / 1.94 GB, free: 149.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003124/4.941, allocations: 76.41 kB / 1.94 GB, free: 149 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001774/4.941, allocations: 47.97 kB / 1.94 GB, free: 149 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002007/4.943, allocations: 0.9253 MB / 1.941 GB, free: 148.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.91e-07/4.943, allocations: 0 / 1.941 GB, free: 148.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003851/4.947, allocations: 0.8411 MB / 1.942 GB, free: 147.2 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.002078/4.949, allocations: 0.7844 MB / 1.943 GB, free: 146.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.009347/4.959, allocations: 2.054 MB / 1.945 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/4.959, allocations: 7.938 kB / 1.945 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003363/4.962, allocations: 0.7186 MB / 1.945 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007349/4.969, allocations: 0.7672 MB / 1.946 GB, free: 143 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008084/4.977, allocations: 3.234 MB / 1.949 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008803/4.978, allocations: 1.249 MB / 1.951 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003197/4.982, allocations: 359.5 kB / 1.951 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006971/4.982, allocations: 127.4 kB / 1.951 GB, free: 138 MB / 0.8855 GB Notification: Performance of SimCode: time 1.382e-06/4.982, allocations: 8 kB / 1.951 GB, free: 138 MB / 0.8855 GB Notification: Performance of Templates: time 0.08209/5.065, allocations: 32.87 MB / 1.983 GB, free: 106.1 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)