Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.659/1.659, allocations: 288.4 MB / 304.3 MB, free: 8.102 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.0009441/0.0009444, allocations: 171.8 kB / 372.9 MB, free: 10.17 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.499/1.499, allocations: 205.4 MB / 0.6317 GB, free: 9.957 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008259/0.0008258, allocations: 115.1 kB / 0.7451 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004045, allocations: 15.91 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2479, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.088/1.336, allocations: 417.3 MB / 1.388 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004034/1.336, allocations: 94.69 kB / 1.388 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.491/3.827, allocations: 0.6217 GB / 2.01 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.036e-06/3.827, allocations: 0 / 2.01 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001518/3.828, allocations: 39.98 kB / 2.01 GB, free: 123.1 MB / 0.9323 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.004587/3.832, allocations: 2.08 MB / 2.012 GB, free: 121 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/3.832, allocations: 8.031 kB / 2.012 GB, free: 121 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003326/3.836, allocations: 0.6349 MB / 2.013 GB, free: 120.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003275/3.839, allocations: 1.66 MB / 2.014 GB, free: 118.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/3.839, allocations: 153.9 kB / 2.015 GB, free: 118.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/3.839, allocations: 108.5 kB / 2.015 GB, free: 118.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00275/3.842, allocations: 1.35 MB / 2.016 GB, free: 117 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/3.842, allocations: 0 / 2.016 GB, free: 117 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/3.842, allocations: 44 kB / 2.016 GB, free: 116.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/3.842, allocations: 27.94 kB / 2.016 GB, free: 116.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003213/3.845, allocations: 1.393 MB / 2.017 GB, free: 115.5 MB / 0.9323 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.006724/3.852, allocations: 5.406 MB / 2.023 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002221/3.854, allocations: 0.9593 MB / 2.024 GB, free: 108.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/3.856, allocations: 0.6629 MB / 2.024 GB, free: 108.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000793/3.857, allocations: 1.235 MB / 2.025 GB, free: 106.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001666/3.858, allocations: 0.7635 MB / 2.026 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=67): time 3.006e-06/3.858, allocations: 0 / 2.026 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=67): time 0.004961/3.863, allocations: 1.848 MB / 2.028 GB, free: 104 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/3.864, allocations: 115.4 kB / 2.028 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/3.865, allocations: 1.305 MB / 2.029 GB, free: 102.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001455/3.865, allocations: 45.7 kB / 2.029 GB, free: 102.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005342/3.866, allocations: 0.6932 MB / 2.03 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/3.866, allocations: 228.7 kB / 2.03 GB, free: 101.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/3.866, allocations: 16 kB / 2.03 GB, free: 101.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.361e-05/3.866, allocations: 333.9 kB / 2.031 GB, free: 101.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/3.868, allocations: 0.5602 MB / 2.031 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/3.869, allocations: 0.8321 MB / 2.032 GB, free: 99.71 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002788/3.872, allocations: 1.2 MB / 2.033 GB, free: 98.46 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/3.872, allocations: 0 / 2.033 GB, free: 98.46 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003684/3.876, allocations: 1.462 MB / 2.035 GB, free: 96.99 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/3.876, allocations: 206 kB / 2.035 GB, free: 96.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/3.876, allocations: 4 kB / 2.035 GB, free: 96.73 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.052e-05/3.876, allocations: 4 kB / 2.035 GB, free: 96.72 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/3.877, allocations: 271.5 kB / 2.035 GB, free: 96.46 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/3.877, allocations: 11.98 kB / 2.035 GB, free: 96.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/3.879, allocations: 231.1 kB / 2.035 GB, free: 96.22 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/3.879, allocations: 47.97 kB / 2.035 GB, free: 96.17 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/3.879, allocations: 9.406 kB / 2.035 GB, free: 96.16 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003068/3.883, allocations: 1.305 MB / 2.037 GB, free: 94.85 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/3.883, allocations: 4 kB / 2.037 GB, free: 94.85 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/3.883, allocations: 8 kB / 2.037 GB, free: 94.84 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/3.884, allocations: 264 kB / 2.037 GB, free: 94.58 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/3.884, allocations: 8 kB / 2.037 GB, free: 94.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/3.886, allocations: 227.1 kB / 2.037 GB, free: 94.35 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-05/3.886, allocations: 55.97 kB / 2.037 GB, free: 94.3 MB / 0.9323 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.0009414/3.887, allocations: 424.8 kB / 2.038 GB, free: 93.87 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/3.887, allocations: 146.2 kB / 2.038 GB, free: 93.73 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003487/3.89, allocations: 1.519 MB / 2.039 GB, free: 92.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/3.89, allocations: 11.19 kB / 2.039 GB, free: 92.19 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/3.89, allocations: 7.938 kB / 2.039 GB, free: 92.18 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002903/3.893, allocations: 1.331 MB / 2.041 GB, free: 90.82 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006382/3.9, allocations: 3.557 MB / 2.044 GB, free: 87.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/3.9, allocations: 4 kB / 2.044 GB, free: 87.09 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/3.901, allocations: 240.1 kB / 2.044 GB, free: 86.86 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/3.901, allocations: 8 kB / 2.044 GB, free: 86.85 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-05/3.901, allocations: 31.97 kB / 2.044 GB, free: 86.82 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/3.901, allocations: 4 kB / 2.044 GB, free: 86.82 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/3.901, allocations: 11.94 kB / 2.044 GB, free: 86.8 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005043/3.906, allocations: 2.427 MB / 2.047 GB, free: 84.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/3.907, allocations: 479.8 kB / 2.047 GB, free: 83.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/3.907, allocations: 16 kB / 2.047 GB, free: 83.78 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/3.909, allocations: 191.6 kB / 2.047 GB, free: 83.59 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/3.909, allocations: 72.36 kB / 2.047 GB, free: 83.52 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-05/3.909, allocations: 51.95 kB / 2.047 GB, free: 83.47 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001316/3.91, allocations: 0.9254 MB / 2.048 GB, free: 82.55 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.5e-07/3.91, allocations: 0 / 2.048 GB, free: 82.55 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002389/3.913, allocations: 0.8383 MB / 2.049 GB, free: 81.71 MB / 0.9323 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.001408/3.914, allocations: 0.7791 MB / 2.05 GB, free: 81 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004876/3.919, allocations: 2.054 MB / 2.052 GB, free: 78.92 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/3.919, allocations: 7.938 kB / 2.052 GB, free: 78.91 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001681/3.921, allocations: 0.7225 MB / 2.053 GB, free: 78.18 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005021/3.926, allocations: 0.7776 MB / 2.053 GB, free: 77.44 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004931/3.931, allocations: 3.237 MB / 2.057 GB, free: 74.14 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/3.931, allocations: 1.242 MB / 2.058 GB, free: 72.87 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002048/3.933, allocations: 385 kB / 2.058 GB, free: 72.52 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004047/3.934, allocations: 127.4 kB / 2.058 GB, free: 72.39 MB / 0.9323 GB Notification: Performance of SimCode: time 2.034e-06/3.934, allocations: 0 / 2.058 GB, free: 72.39 MB / 0.9323 GB Notification: Performance of Templates: time 0.05639/3.99, allocations: 34.33 MB / 2.092 GB, free: 38.6 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)