Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008359/0.0008359, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008827/0.0008827, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.4 MB / 222.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.705/1.705, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005257/0.0005257, allocations: 16.02 kB / 0.6737 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2513, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.05071/0.3021, allocations: 55.77 MB / 0.8417 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01622/0.3184, allocations: 12.23 MB / 0.8537 GB, free: 7.754 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0024/0.3208, allocations: 59.56 kB / 0.8537 GB, free: 7.695 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002218/0.3231, allocations: 0.7065 MB / 0.8544 GB, free: 6.984 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005588/0.3287, allocations: 1.83 MB / 0.8562 GB, free: 5.145 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.003559/0.3322, allocations: 1.161 MB / 0.8573 GB, free: 3.996 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006049/0.3383, allocations: 4.738 MB / 0.862 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.34, allocations: 0.9815 MB / 0.8629 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003462/0.3435, allocations: 1.299 MB / 0.8642 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003006/0.3465, allocations: 1.081 MB / 0.8653 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003477/0.3469, allocations: 60 kB / 0.8653 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003816/0.3507, allocations: 0.994 MB / 0.8663 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004364/0.3512, allocations: 318.6 kB / 0.8666 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007675/0.3519, allocations: 356.8 kB / 0.8669 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002782/0.3547, allocations: 1.937 MB / 0.8688 GB, free: 8.191 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3547, allocations: 0 / 0.8688 GB, free: 8.191 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3548, allocations: 0 / 0.8688 GB, free: 8.191 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.15e-05/0.3548, allocations: 0 / 0.8688 GB, free: 8.191 MB / 0.6856 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.00333/0.3581, allocations: 1.886 MB / 0.8707 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3582, allocations: 12.03 kB / 0.8707 GB, free: 6.227 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003197/0.3614, allocations: 0.6379 MB / 0.8713 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/0.3642, allocations: 1.311 MB / 0.8726 GB, free: 4.223 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/0.3644, allocations: 145.4 kB / 0.8727 GB, free: 4.07 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.3646, allocations: 96 kB / 0.8728 GB, free: 3.977 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00315/0.3678, allocations: 1.338 MB / 0.8741 GB, free: 2.602 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.393e-05/0.3678, allocations: 7.938 kB / 0.8741 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.368, allocations: 39.94 kB / 0.8742 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.957e-05/0.368, allocations: 27.98 kB / 0.8742 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00358/0.3716, allocations: 1.366 MB / 0.8755 GB, free: 1.164 MB / 0.6856 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.008009/0.3796, allocations: 5.358 MB / 0.8808 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004894/0.3845, allocations: 1.486 MB / 0.8822 GB, free: 9.926 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.3861, allocations: 0.6154 MB / 0.8828 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000985/0.3871, allocations: 1.24 MB / 0.884 GB, free: 7.793 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001722/0.3888, allocations: 0.6862 MB / 0.8847 GB, free: 7.09 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=69): time 2.805e-06/0.3889, allocations: 0 / 0.8847 GB, free: 7.09 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69): time 0.00477/0.3936, allocations: 1.766 MB / 0.8864 GB, free: 5.32 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.3937, allocations: 63.97 kB / 0.8865 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/0.3958, allocations: 1.247 MB / 0.8877 GB, free: 3.988 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.3959, allocations: 49.64 kB / 0.8877 GB, free: 3.934 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006255/0.3965, allocations: 0.6617 MB / 0.8884 GB, free: 3.266 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/0.3968, allocations: 232.6 kB / 0.8886 GB, free: 3.035 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.38e-05/0.3969, allocations: 16 kB / 0.8886 GB, free: 3.02 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.397, allocations: 337.9 kB / 0.8889 GB, free: 2.684 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.3985, allocations: 0.5446 MB / 0.8895 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/0.4001, allocations: 0.7704 MB / 0.8902 GB, free: 1.285 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.4016, allocations: 0.5941 MB / 0.8908 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.4017, allocations: 4 kB / 0.8908 GB, free: 0.6836 MB / 0.7012 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003674/0.4053, allocations: 1.446 MB / 0.8922 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.4055, allocations: 207.2 kB / 0.8924 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.4055, allocations: 4 kB / 0.8924 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/0.4056, allocations: 11.95 kB / 0.8924 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.4068, allocations: 271.7 kB / 0.8927 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.603e-05/0.4068, allocations: 11.94 kB / 0.8927 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.4085, allocations: 235 kB / 0.8929 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.4086, allocations: 43.97 kB / 0.893 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.4086, allocations: 4 kB / 0.893 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00318/0.4118, allocations: 1.298 MB / 0.8942 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.4119, allocations: 4 kB / 0.8942 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.4119, allocations: 11.98 kB / 0.8943 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.413, allocations: 271.9 kB / 0.8945 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.17e-05/0.4131, allocations: 8 kB / 0.8945 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.4147, allocations: 235.1 kB / 0.8947 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.4148, allocations: 39.97 kB / 0.8948 GB, free: 12.54 MB / 0.7169 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.0007805/0.4156, allocations: 408.8 kB / 0.8952 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003889/0.416, allocations: 146.2 kB / 0.8953 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003744/0.4197, allocations: 1.512 MB / 0.8968 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.4198, allocations: 8 kB / 0.8968 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.4198, allocations: 0 / 0.8968 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002855/0.4226, allocations: 1.285 MB / 0.8981 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006678/0.4293, allocations: 3.241 MB / 0.9012 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.4294, allocations: 4 kB / 0.9012 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.4305, allocations: 243.9 kB / 0.9015 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.78e-05/0.4305, allocations: 8 kB / 0.9015 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-05/0.4306, allocations: 23.98 kB / 0.9015 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.4306, allocations: 4 kB / 0.9015 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.4306, allocations: 11.94 kB / 0.9015 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005155/0.4358, allocations: 2.302 MB / 0.9038 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009313/0.4367, allocations: 370.8 kB / 0.9041 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003864/0.4371, allocations: 16 kB / 0.9041 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/0.4387, allocations: 179.8 kB / 0.9043 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.4389, allocations: 72.36 kB / 0.9044 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.439, allocations: 43.97 kB / 0.9044 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001631/0.4407, allocations: 0.8929 MB / 0.9053 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.3e-07/0.4407, allocations: 0 / 0.9053 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002555/0.4432, allocations: 0.772 MB / 0.906 GB, free: 0.707 MB / 0.7169 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.0011/0.4444, allocations: 498.6 kB / 0.9065 GB, free: 224 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005286/0.4497, allocations: 2.07 MB / 0.9085 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/0.4497, allocations: 0 / 0.9085 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001849/0.4515, allocations: 0.7147 MB / 0.9092 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004609/0.4562, allocations: 0.7535 MB / 0.91 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006252/0.4624, allocations: 3.162 MB / 0.913 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.4636, allocations: 1.23 MB / 0.9142 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002215/0.4658, allocations: 363.4 kB / 0.9146 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005066/0.4663, allocations: 119.4 kB / 0.9147 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of SimCode: time 7.41e-07/0.4663, allocations: 0 / 0.9147 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of Templates: time 0.5162/0.9826, allocations: 29.01 MB / 0.943 GB, free: 126.2 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) Environment - environmentSimulation: