Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.386/2.386, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002301/0.002301, allocations: 181.5 kB / 325.8 MB, free: 2.801 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.689/2.689, allocations: 205.4 MB / 0.5767 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001256/0.001255, allocations: 86.36 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.000472, allocations: 12.31 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2235, allocations: 106.3 MB / 0.899 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.07363/0.2972, allocations: 55.77 MB / 0.9535 GB, free: 9.512 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02238/0.3197, allocations: 12.22 MB / 0.9654 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002743/0.3225, allocations: 59.56 kB / 0.9655 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003641/0.3262, allocations: 0.7065 MB / 0.9662 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008001/0.3342, allocations: 1.825 MB / 0.968 GB, free: 10.67 MB / 0.6198 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.005558/0.3398, allocations: 1.143 MB / 0.9691 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.009002/0.3488, allocations: 4.759 MB / 0.9737 GB, free: 4.762 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002736/0.3516, allocations: 1.032 MB / 0.9747 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004255/0.3559, allocations: 1.291 MB / 0.976 GB, free: 2.414 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002898/0.3588, allocations: 1.093 MB / 0.9771 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004922/0.3594, allocations: 60 kB / 0.9771 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00444/0.3638, allocations: 1.021 MB / 0.9781 GB, free: 240 kB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000879/0.3648, allocations: 318.6 kB / 0.9784 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008962/0.3657, allocations: 356.8 kB / 0.9788 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004618/0.3703, allocations: 1.96 MB / 0.9807 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3704, allocations: 0 / 0.9807 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.755e-06/0.3704, allocations: 0 / 0.9807 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.16e-05/0.3705, allocations: 0 / 0.9807 GB, free: 13.6 MB / 0.6355 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.005973/0.3765, allocations: 1.917 MB / 0.9825 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.3765, allocations: 8.031 kB / 0.9826 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006427/0.383, allocations: 0.6424 MB / 0.9832 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004085/0.3871, allocations: 1.334 MB / 0.9845 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002482/0.3874, allocations: 141.4 kB / 0.9846 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003018/0.3877, allocations: 103.9 kB / 0.9847 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005364/0.3931, allocations: 1.33 MB / 0.986 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.046e-05/0.3932, allocations: 3.938 kB / 0.986 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/0.3934, allocations: 47.98 kB / 0.9861 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.983e-05/0.3935, allocations: 27.98 kB / 0.9861 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007383/0.4009, allocations: 1.382 MB / 0.9874 GB, free: 6.504 MB / 0.6355 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.01261/0.4135, allocations: 5.375 MB / 0.9927 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004731/0.4183, allocations: 1.089 MB / 0.9938 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003134/0.4215, allocations: 0.6348 MB / 0.9944 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/0.4229, allocations: 1.232 MB / 0.9956 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003416/0.4264, allocations: 0.6823 MB / 0.9962 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 4.869e-06/0.4264, allocations: 4 kB / 0.9962 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.009691/0.4361, allocations: 1.797 MB / 0.998 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/0.4362, allocations: 59.97 kB / 0.9981 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/0.4391, allocations: 1.308 MB / 0.9993 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002382/0.4394, allocations: 37.7 kB / 0.9994 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009041/0.4403, allocations: 0.666 MB / 1 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004662/0.4408, allocations: 240.6 kB / 1 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.944e-05/0.4409, allocations: 16 kB / 1 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.4411, allocations: 341.9 kB / 1.001 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002989/0.4441, allocations: 0.5446 MB / 1.001 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00342/0.4475, allocations: 0.782 MB / 1.002 GB, free: 6.883 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00328/0.4509, allocations: 0.598 MB / 1.002 GB, free: 6.281 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.4509, allocations: 0 / 1.002 GB, free: 6.281 MB / 0.6511 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.007188/0.4581, allocations: 1.465 MB / 1.004 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000195/0.4584, allocations: 211.4 kB / 1.004 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.4584, allocations: 4 kB / 1.004 GB, free: 4.539 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/0.4584, allocations: 8 kB / 1.004 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002431/0.4609, allocations: 267.7 kB / 1.004 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.591e-05/0.4609, allocations: 11.94 kB / 1.004 GB, free: 4.258 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003005/0.4639, allocations: 243 kB / 1.005 GB, free: 4.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/0.4641, allocations: 43.92 kB / 1.005 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4642, allocations: 6.344 kB / 1.005 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006512/0.4707, allocations: 1.309 MB / 1.006 GB, free: 2.656 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.4708, allocations: 4 kB / 1.006 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4708, allocations: 7.938 kB / 1.006 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002386/0.4732, allocations: 272 kB / 1.006 GB, free: 2.379 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.4732, allocations: 4 kB / 1.006 GB, free: 2.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/0.4761, allocations: 239.1 kB / 1.006 GB, free: 2.141 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/0.4763, allocations: 35.98 kB / 1.006 GB, free: 2.105 MB / 0.6511 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.001028/0.4773, allocations: 421.3 kB / 1.007 GB, free: 1.684 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004482/0.4778, allocations: 150.1 kB / 1.007 GB, free: 1.535 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007051/0.4849, allocations: 1.528 MB / 1.009 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/0.4849, allocations: 12 kB / 1.009 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.485, allocations: 7.875 kB / 1.009 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006151/0.4911, allocations: 1.285 MB / 1.01 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/0.5031, allocations: 3.28 MB / 1.013 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/0.5032, allocations: 4 kB / 1.013 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002272/0.5055, allocations: 236.2 kB / 1.013 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.007e-05/0.5055, allocations: 8 kB / 1.013 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/0.5057, allocations: 23.98 kB / 1.013 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-05/0.5057, allocations: 15.92 kB / 1.013 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.536e-05/0.5058, allocations: 15.86 kB / 1.013 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/0.516, allocations: 2.322 MB / 1.016 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/0.5172, allocations: 374.7 kB / 1.016 GB, free: 8.125 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003987/0.5176, allocations: 16 kB / 1.016 GB, free: 8.109 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002781/0.5204, allocations: 183.8 kB / 1.016 GB, free: 7.93 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/0.5207, allocations: 76.36 kB / 1.016 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.5209, allocations: 35.97 kB / 1.016 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002216/0.5231, allocations: 0.9293 MB / 1.017 GB, free: 6.895 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.82e-07/0.5231, allocations: 3.938 kB / 1.017 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003427/0.5266, allocations: 0.7798 MB / 1.018 GB, free: 6.109 MB / 0.6667 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.001469/0.5281, allocations: 499.2 kB / 1.018 GB, free: 5.621 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.009782/0.5379, allocations: 2.093 MB / 1.02 GB, free: 3.504 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/0.5379, allocations: 0 / 1.02 GB, free: 3.504 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.003641/0.5416, allocations: 0.7225 MB / 1.021 GB, free: 2.785 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006989/0.5486, allocations: 0.7466 MB / 1.022 GB, free: 2.051 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008756/0.5574, allocations: 3.229 MB / 1.025 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/0.5587, allocations: 1.242 MB / 1.026 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002929/0.5617, allocations: 369.5 kB / 1.027 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006837/0.5624, allocations: 119.4 kB / 1.027 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of SimCode: time 1.213e-06/0.5624, allocations: 4 kB / 1.027 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of Templates: time 0.08234/0.6447, allocations: 29.2 MB / 1.055 GB, free: 84 kB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)