Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.672/1.672, allocations: 287.4 MB / 303.2 MB, free: 8.289 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.001182/0.001182, allocations: 178.1 kB / 371.8 MB, free: 10.82 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.728/1.728, allocations: 205.4 MB / 0.6304 GB, free: 10.56 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.000783/0.000783, allocations: 99.02 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004002, allocations: 15.52 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2215, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.04639/0.268, allocations: 55.77 MB / 1.034 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01903/0.287, allocations: 12.26 MB / 1.046 GB, free: 7.98 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003211/0.2903, allocations: 55.62 kB / 1.046 GB, free: 7.926 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002873/0.2932, allocations: 0.7065 MB / 1.046 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008426/0.3017, allocations: 1.832 MB / 1.048 GB, free: 5.375 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Chillers/BaseClasses/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.Chillers.BaseClasses.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.004366/0.3061, allocations: 1.161 MB / 1.049 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007241/0.3133, allocations: 4.784 MB / 1.054 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002323/0.3157, allocations: 1.08 MB / 1.055 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003158/0.3189, allocations: 1.299 MB / 1.056 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.3207, allocations: 1.093 MB / 1.057 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001986/0.3209, allocations: 60 kB / 1.057 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.3236, allocations: 1.021 MB / 1.058 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003754/0.324, allocations: 322.6 kB / 1.059 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005834/0.3246, allocations: 364.8 kB / 1.059 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002515/0.3271, allocations: 1.96 MB / 1.061 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.3271, allocations: 0 / 1.061 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3271, allocations: 0 / 1.061 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.761e-05/0.3272, allocations: 0 / 1.061 GB, free: 8.188 MB / 0.6823 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.003595/0.3308, allocations: 1.902 MB / 1.063 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.3308, allocations: 12.03 kB / 1.063 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003344/0.3342, allocations: 0.6425 MB / 1.064 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00234/0.3365, allocations: 1.396 MB / 1.065 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.3367, allocations: 145.4 kB / 1.065 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.3369, allocations: 96 kB / 1.065 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002828/0.3397, allocations: 1.342 MB / 1.066 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.3398, allocations: 7.922 kB / 1.066 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.677e-05/0.3399, allocations: 36 kB / 1.067 GB, free: 2.449 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.722e-05/0.3399, allocations: 27.94 kB / 1.067 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003543/0.3435, allocations: 1.39 MB / 1.068 GB, free: 1.031 MB / 0.6823 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.4309/0.7743, allocations: 5.385 MB / 1.073 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002586/0.7769, allocations: 1.091 MB / 1.074 GB, free: 87.06 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/0.7786, allocations: 0.6251 MB / 1.075 GB, free: 86.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006967/0.7793, allocations: 1.235 MB / 1.076 GB, free: 85.48 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001912/0.7813, allocations: 0.6893 MB / 1.077 GB, free: 85.29 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 3.967e-06/0.7813, allocations: 4.219 kB / 1.077 GB, free: 85.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.005601/0.7869, allocations: 1.797 MB / 1.078 GB, free: 84.87 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.7869, allocations: 59.94 kB / 1.079 GB, free: 84.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/0.7891, allocations: 1.297 MB / 1.08 GB, free: 84.31 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-05/0.7892, allocations: 44.42 kB / 1.08 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000577/0.7898, allocations: 0.668 MB / 1.08 GB, free: 83.78 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.79, allocations: 238.8 kB / 1.081 GB, free: 83.61 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.7901, allocations: 16.75 kB / 1.081 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.044e-05/0.7902, allocations: 334.1 kB / 1.081 GB, free: 83.28 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00167/0.7918, allocations: 0.5508 MB / 1.082 GB, free: 83.15 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/0.7937, allocations: 0.7759 MB / 1.082 GB, free: 82.78 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003412/0.7971, allocations: 1.203 MB / 1.084 GB, free: 82.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.7972, allocations: 1 kB / 1.084 GB, free: 82.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004364/0.8015, allocations: 1.461 MB / 1.085 GB, free: 81.85 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.8017, allocations: 212.8 kB / 1.085 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.8017, allocations: 3.406 kB / 1.085 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.8017, allocations: 6.625 kB / 1.085 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.803, allocations: 274.1 kB / 1.085 GB, free: 81.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.393e-05/0.803, allocations: 6.203 kB / 1.085 GB, free: 81.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/0.805, allocations: 241.2 kB / 1.086 GB, free: 81.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.8051, allocations: 41.78 kB / 1.086 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/0.8051, allocations: 2.75 kB / 1.086 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00344/0.8086, allocations: 1.311 MB / 1.087 GB, free: 81.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.8086, allocations: 5.359 kB / 1.087 GB, free: 81.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.8086, allocations: 6.969 kB / 1.087 GB, free: 81.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.8098, allocations: 272.7 kB / 1.087 GB, free: 81.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.8098, allocations: 7.203 kB / 1.087 GB, free: 81.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.8116, allocations: 243.3 kB / 1.087 GB, free: 81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.115e-05/0.8117, allocations: 36.75 kB / 1.088 GB, free: 81 MB / 0.6823 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 (95): * Single equations (assignments): 94 * 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.0007875/0.8125, allocations: 417.1 kB / 1.088 GB, free: 80.69 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002551/0.8128, allocations: 145.3 kB / 1.088 GB, free: 80.62 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003919/0.8167, allocations: 1.53 MB / 1.09 GB, free: 80.12 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003143/0.8198, allocations: 1.301 MB / 1.091 GB, free: 79.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.8199, allocations: 3.938 kB / 1.091 GB, free: 79.66 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009647/0.8208, allocations: 362 kB / 1.091 GB, free: 79.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.821, allocations: 12.55 kB / 1.091 GB, free: 79.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.8224, allocations: 171.1 kB / 1.091 GB, free: 79.38 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.8225, allocations: 56.42 kB / 1.091 GB, free: 79.37 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004307/0.8268, allocations: 1.501 MB / 1.093 GB, free: 78.92 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005272/0.8321, allocations: 2.308 MB / 1.095 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001616/0.8338, allocations: 0.6373 MB / 1.096 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001418/0.8352, allocations: 0.8971 MB / 1.097 GB, free: 77.51 MB / 0.6823 GB Notification: Performance of Backend: time 9.12e-07/0.8352, allocations: 0 / 1.097 GB, free: 77.51 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007041/0.8423, allocations: 2.07 MB / 1.099 GB, free: 76.87 MB / 0.6823 GB Notification: Performance of SimCode: time 0.007192/0.8495, allocations: 3.728 MB / 1.102 GB, free: 74.71 MB / 0.6823 GB Notification: Performance of Templates: time 0.05612/0.9056, allocations: 34.38 MB / 1.136 GB, free: 50.31 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)