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.00139/0.00139, allocations: 105.4 kB / 15.7 MB, free: 20 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 190.8 kB / 16.64 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.778/1.778, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001667/0.001668, allocations: 75.95 kB / 0.6723 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3264, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06304/0.3895, allocations: 60.46 MB / 0.8432 GB, free: 76 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02101/0.4105, allocations: 13.06 MB / 0.8559 GB, free: 2.977 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003975/0.4145, allocations: 67.56 kB / 0.856 GB, free: 2.91 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003102/0.4177, allocations: 0.9665 MB / 0.8569 GB, free: 1.938 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007671/0.4254, allocations: 2.296 MB / 0.8592 GB, free: 15.63 MB / 0.6856 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.0046/0.43, allocations: 1.562 MB / 0.8607 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006564/0.4366, allocations: 4.256 MB / 0.8648 GB, free: 9.816 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002164/0.4388, allocations: 1.337 MB / 0.8662 GB, free: 8.449 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003908/0.4427, allocations: 1.585 MB / 0.8677 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.4449, allocations: 1.19 MB / 0.8689 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00034/0.4453, allocations: 143.9 kB / 0.869 GB, free: 5.527 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003472/0.4488, allocations: 1.443 MB / 0.8704 GB, free: 4.082 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004631/0.4492, allocations: 414.5 kB / 0.8708 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001194/0.4504, allocations: 0.9017 MB / 0.8717 GB, free: 2.77 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004497/0.4549, allocations: 2.75 MB / 0.8744 GB, free: 12 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.455, allocations: 0 / 0.8744 GB, free: 12 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.493e-06/0.455, allocations: 0 / 0.8744 GB, free: 12 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.792e-05/0.455, allocations: 0 / 0.8744 GB, free: 12 kB / 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.003795/0.4588, allocations: 2.174 MB / 0.8765 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.4589, allocations: 12.02 kB / 0.8765 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003719/0.4626, allocations: 0.6035 MB / 0.8771 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003353/0.466, allocations: 1.404 MB / 0.8785 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.4662, allocations: 141.4 kB / 0.8786 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/0.4664, allocations: 100 kB / 0.8787 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003075/0.4695, allocations: 1.311 MB / 0.88 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.4695, allocations: 0 / 0.88 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.4696, allocations: 36 kB / 0.88 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.52e-05/0.4697, allocations: 24 kB / 0.88 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003632/0.4733, allocations: 1.319 MB / 0.8813 GB, free: 8.727 MB / 0.7012 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.007988/0.4813, allocations: 5.354 MB / 0.8866 GB, free: 3.02 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005419/0.4868, allocations: 1.407 MB / 0.8879 GB, free: 1.566 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/0.4885, allocations: 0.588 MB / 0.8885 GB, free: 0.9766 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/0.4895, allocations: 1.232 MB / 0.8897 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001819/0.4913, allocations: 0.6588 MB / 0.8903 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=69): time 3.136e-06/0.4914, allocations: 0 / 0.8903 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69): time 0.005413/0.4968, allocations: 1.68 MB / 0.892 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.4969, allocations: 55.97 kB / 0.892 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/0.4986, allocations: 1.278 MB / 0.8933 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.4987, allocations: 41.7 kB / 0.8933 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000578/0.4993, allocations: 0.6463 MB / 0.894 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/0.4996, allocations: 232.6 kB / 0.8942 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003187/0.4999, allocations: 170.5 kB / 0.8943 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.5001, allocations: 337.9 kB / 0.8947 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/0.5019, allocations: 0.5316 MB / 0.8952 GB, free: 9.773 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/0.5037, allocations: 0.7392 MB / 0.8959 GB, free: 8.953 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002995/0.5067, allocations: 1.128 MB / 0.897 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.5067, allocations: 7.875 kB / 0.897 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004307/0.511, allocations: 1.399 MB / 0.8984 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.376e-05/0.5111, allocations: 33.7 kB / 0.8984 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.5111, allocations: 0 / 0.8984 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.705e-05/0.5111, allocations: 11.94 kB / 0.8984 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/0.5129, allocations: 259.9 kB / 0.8987 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.5129, allocations: 8 kB / 0.8987 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/0.5156, allocations: 179.1 kB / 0.8989 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/0.5157, allocations: 39.98 kB / 0.8989 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003008/0.5188, allocations: 0.779 MB / 0.8997 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002559/0.5213, allocations: 0.7384 MB / 0.9004 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004133/0.5255, allocations: 1.124 MB / 0.9015 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.64e-06/0.5255, allocations: 0 / 0.9015 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.005522/0.531, allocations: 1.38 MB / 0.9028 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.717e-05/0.5311, allocations: 36.67 kB / 0.9029 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.5311, allocations: 4 kB / 0.9029 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.5312, allocations: 11.98 kB / 0.9029 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/0.5329, allocations: 259.9 kB / 0.9031 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-05/0.5329, allocations: 4 kB / 0.9031 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/0.535, allocations: 171.4 kB / 0.9033 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.5352, allocations: 39.97 kB / 0.9033 GB, free: 1.148 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 (chi.on,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004558/0.5356, allocations: 236.5 kB / 0.9035 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007214/0.5364, allocations: 142.2 kB / 0.9037 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005576/0.5419, allocations: 1.45 MB / 0.9051 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/0.542, allocations: 12 kB / 0.9051 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.542, allocations: 0 / 0.9051 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004322/0.5463, allocations: 1.218 MB / 0.9063 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008824/0.5552, allocations: 3.174 MB / 0.9094 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-05/0.5553, allocations: 4 kB / 0.9094 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/0.5569, allocations: 228.2 kB / 0.9096 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.116e-05/0.557, allocations: 11.94 kB / 0.9096 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.5571, allocations: 27.97 kB / 0.9097 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.546e-05/0.5571, allocations: 8 kB / 0.9097 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/0.5571, allocations: 7.938 kB / 0.9097 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008038/0.5652, allocations: 2.196 MB / 0.9118 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/0.5664, allocations: 346.9 kB / 0.9121 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005618/0.567, allocations: 28 kB / 0.9122 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0021/0.5692, allocations: 127.8 kB / 0.9123 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.5694, allocations: 76.36 kB / 0.9124 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/0.5696, allocations: 39.97 kB / 0.9124 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00248/0.5721, allocations: 0.9124 MB / 0.9133 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5721, allocations: 0 / 0.9133 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00347/0.5756, allocations: 0.7837 MB / 0.9141 GB, free: 5.832 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001678/0.5773, allocations: 0.5184 MB / 0.9146 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007644/0.5849, allocations: 1.992 MB / 0.9165 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/0.585, allocations: 4 kB / 0.9165 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002594/0.5876, allocations: 0.6756 MB / 0.9172 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004412/0.592, allocations: 0.7589 MB / 0.9179 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4567/1.049, allocations: 2.632 MB / 0.9205 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/1.05, allocations: 1.228 MB / 0.9217 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002398/1.052, allocations: 367.8 kB / 0.922 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004923/1.053, allocations: 123.8 kB / 0.9222 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.262e-06/1.053, allocations: 0 / 0.9222 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.06847/1.121, allocations: 31.56 MB / 0.953 GB, free: 122.4 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (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)