Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 106.7 kB / 16.36 MB, free: 6.258 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.00131/0.00131, allocations: 189.7 kB / 17.3 MB, free: 5.848 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.627/1.627, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.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.905/1.905, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.001798/0.001798, allocations: 63.91 kB / 0.6729 GB, free: 5.777 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2675, allocations: 114.6 MB / 0.7848 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.5604/0.8279, allocations: 60.45 MB / 0.8438 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02093/0.8489, allocations: 13.1 MB / 0.8566 GB, free: 15.85 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004341/0.8533, allocations: 69.88 kB / 0.8567 GB, free: 15.82 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004342/0.8577, allocations: 0.9602 MB / 0.8576 GB, free: 15.24 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01252/0.8703, allocations: 2.306 MB / 0.8599 GB, free: 13.86 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.006639/0.8769, allocations: 1.567 MB / 0.8614 GB, free: 13.02 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009095/0.8861, allocations: 4.261 MB / 0.8656 GB, free: 10.99 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003037/0.8891, allocations: 1.336 MB / 0.8669 GB, free: 10.4 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005721/0.8949, allocations: 1.57 MB / 0.8684 GB, free: 9.668 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00359/0.8985, allocations: 1.19 MB / 0.8696 GB, free: 9.109 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0007733/0.8993, allocations: 138.6 kB / 0.8697 GB, free: 9.109 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005936/0.9052, allocations: 1.48 MB / 0.8711 GB, free: 8.434 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.9063, allocations: 420.8 kB / 0.8715 GB, free: 8.117 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003085/0.9094, allocations: 0.9168 MB / 0.8724 GB, free: 7.5 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00732/0.9168, allocations: 2.792 MB / 0.8752 GB, free: 5.668 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9168, allocations: 1 kB / 0.8752 GB, free: 5.668 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9168, allocations: 0 / 0.8752 GB, free: 5.668 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.438e-05/0.9169, allocations: 4 kB / 0.8752 GB, free: 5.664 MB / 0.67 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.006205/0.9231, allocations: 2.203 MB / 0.8773 GB, free: 4 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.9232, allocations: 8.469 kB / 0.8773 GB, free: 4 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003766/0.9269, allocations: 0.6068 MB / 0.8779 GB, free: 3.742 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003008/0.93, allocations: 1.425 MB / 0.8793 GB, free: 2.648 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002101/0.9302, allocations: 144.8 kB / 0.8794 GB, free: 2.547 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.9304, allocations: 95.72 kB / 0.8795 GB, free: 2.52 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0033/0.9337, allocations: 1.317 MB / 0.8808 GB, free: 1.742 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.9337, allocations: 9 kB / 0.8808 GB, free: 1.734 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.9339, allocations: 36.94 kB / 0.8809 GB, free: 1.707 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-05/0.9339, allocations: 27.69 kB / 0.8809 GB, free: 1.703 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004145/0.9381, allocations: 1.326 MB / 0.8822 GB, free: 1.098 MB / 0.67 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.01051/0.9486, allocations: 5.384 MB / 0.8874 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002832/0.9515, allocations: 1.046 MB / 0.8885 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/0.9532, allocations: 0.5947 MB / 0.889 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001223/0.9545, allocations: 1.237 MB / 0.8903 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002036/0.9565, allocations: 0.655 MB / 0.8909 GB, free: 9.836 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=69): time 6.152e-06/0.9565, allocations: 0 / 0.8909 GB, free: 9.836 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69): time 0.005944/0.9625, allocations: 1.709 MB / 0.8926 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.9625, allocations: 58.5 kB / 0.8926 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002895/0.9655, allocations: 1.333 MB / 0.8939 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001425/0.9656, allocations: 43.89 kB / 0.894 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007901/0.9664, allocations: 0.6616 MB / 0.8946 GB, free: 7.641 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.9667, allocations: 235.3 kB / 0.8948 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003943/0.9671, allocations: 176.9 kB / 0.895 GB, free: 7.332 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.9673, allocations: 338 kB / 0.8953 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/0.9691, allocations: 0.5341 MB / 0.8958 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002025/0.9711, allocations: 0.7496 MB / 0.8966 GB, free: 6.254 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003438/0.9745, allocations: 1.146 MB / 0.8977 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.9746, allocations: 0 / 0.8977 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004454/0.979, allocations: 1.406 MB / 0.8991 GB, free: 4.293 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.365e-05/0.9791, allocations: 38.48 kB / 0.8991 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.9791, allocations: 6.188 kB / 0.8991 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/0.9792, allocations: 7.938 kB / 0.8991 GB, free: 4.238 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.9804, allocations: 259.9 kB / 0.8994 GB, free: 3.984 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/0.9804, allocations: 6.031 kB / 0.8994 GB, free: 3.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/0.9824, allocations: 179.1 kB / 0.8995 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.9825, allocations: 43.97 kB / 0.8996 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00221/0.9847, allocations: 0.7921 MB / 0.9004 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001776/0.9865, allocations: 0.7476 MB / 0.9011 GB, free: 2.145 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003154/0.9897, allocations: 1.128 MB / 0.9022 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.325e-06/0.9897, allocations: 4 kB / 0.9022 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.004179/0.9939, allocations: 1.399 MB / 0.9036 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.9939, allocations: 33.7 kB / 0.9036 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.9939, allocations: 4 kB / 0.9036 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.994, allocations: 4 kB / 0.9036 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.9952, allocations: 255.9 kB / 0.9038 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.402e-05/0.9952, allocations: 15.92 kB / 0.9039 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/0.9971, allocations: 167.4 kB / 0.904 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.9973, allocations: 41.86 kB / 0.9041 GB, free: 15.04 MB / 0.7012 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.0003647/0.9976, allocations: 225.1 kB / 0.9043 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005278/0.9982, allocations: 150.1 kB / 0.9044 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004177/1.002, allocations: 1.465 MB / 0.9058 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003462/1.006, allocations: 1.243 MB / 0.9071 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/1.006, allocations: 0 / 0.9071 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/1.007, allocations: 335 kB / 0.9074 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000539/1.008, allocations: 16 kB / 0.9074 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/1.009, allocations: 123 kB / 0.9075 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/1.009, allocations: 64.56 kB / 0.9076 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004558/1.014, allocations: 1.41 MB / 0.909 GB, free: 9.953 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00629/1.02, allocations: 2.209 MB / 0.9111 GB, free: 7.723 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00171/1.022, allocations: 0.618 MB / 0.9117 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001967/1.024, allocations: 0.9165 MB / 0.9126 GB, free: 6.188 MB / 0.7012 GB Notification: Performance of Backend: time 6.72e-07/1.024, allocations: 0 / 0.9126 GB, free: 6.188 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008078/1.032, allocations: 2.046 MB / 0.9146 GB, free: 4.137 MB / 0.7012 GB Notification: Performance of SimCode: time 0.007345/1.039, allocations: 3.232 MB / 0.9178 GB, free: 0.9141 MB / 0.7012 GB Notification: Performance of Templates: time 0.0745/1.114, allocations: 37.13 MB / 0.954 GB, free: 12.23 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)