Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.334/1.334, allocations: 252 MB / 268 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009444/0.0009443, allocations: 182.6 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.718/1.718, allocations: 205.4 MB / 0.5786 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 93.67 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003372, allocations: 11.84 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.197, allocations: 106.3 MB / 0.9014 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.04025/0.2373, allocations: 58.98 MB / 0.959 GB, free: 4.309 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01688/0.2543, allocations: 12.94 MB / 0.9717 GB, free: 7.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002466/0.2568, allocations: 55.62 kB / 0.9717 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002398/0.2592, allocations: 0.8041 MB / 0.9725 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006468/0.2657, allocations: 2.133 MB / 0.9746 GB, free: 4.336 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.003802/0.2695, allocations: 1.37 MB / 0.9759 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00621/0.2757, allocations: 5.51 MB / 0.9813 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/0.2777, allocations: 1.091 MB / 0.9824 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002981/0.2807, allocations: 1.357 MB / 0.9837 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.2827, allocations: 1.151 MB / 0.9848 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003504/0.283, allocations: 60 kB / 0.9849 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003298/0.2863, allocations: 1.333 MB / 0.9862 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005477/0.2869, allocations: 330.4 kB / 0.9865 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001499/0.2884, allocations: 0.8215 MB / 0.9873 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002942/0.2914, allocations: 2.003 MB / 0.9893 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2914, allocations: 0 / 0.9893 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2914, allocations: 0 / 0.9893 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.362e-05/0.2915, allocations: 4 kB / 0.9893 GB, free: 5.254 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.004157/0.2956, allocations: 1.867 MB / 0.9911 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.2957, allocations: 12.03 kB / 0.9911 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003911/0.2996, allocations: 0.6348 MB / 0.9917 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003501/0.3032, allocations: 1.376 MB / 0.9931 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/0.3034, allocations: 141.4 kB / 0.9932 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002903/0.3037, allocations: 100 kB / 0.9933 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003348/0.307, allocations: 1.33 MB / 0.9946 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/0.3071, allocations: 7.922 kB / 0.9946 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.3072, allocations: 40 kB / 0.9946 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-05/0.3073, allocations: 28 kB / 0.9947 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003764/0.311, allocations: 1.386 MB / 0.996 GB, free: 14.17 MB / 0.6511 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.007754/0.3188, allocations: 5.339 MB / 1.001 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005482/0.3243, allocations: 1.487 MB / 1.003 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.3259, allocations: 0.6271 MB / 1.003 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000893/0.3268, allocations: 1.236 MB / 1.005 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00178/0.3286, allocations: 0.6784 MB / 1.005 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 3.697e-06/0.3286, allocations: 0 / 1.005 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.005344/0.334, allocations: 1.785 MB / 1.007 GB, free: 2.32 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.3341, allocations: 59.97 kB / 1.007 GB, free: 2.246 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/0.3362, allocations: 1.259 MB / 1.008 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.3363, allocations: 45.7 kB / 1.008 GB, free: 0.9258 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006886/0.337, allocations: 0.6423 MB / 1.009 GB, free: 284 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/0.3373, allocations: 244.5 kB / 1.009 GB, free: 36 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.3374, allocations: 20 kB / 1.009 GB, free: 16 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3376, allocations: 334 kB / 1.009 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.3392, allocations: 0.5524 MB / 1.01 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/0.341, allocations: 0.782 MB / 1.011 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003132/0.3441, allocations: 1.198 MB / 1.012 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.3442, allocations: 4 kB / 1.012 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003883/0.348, allocations: 1.454 MB / 1.013 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001625/0.3482, allocations: 211.2 kB / 1.014 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3482, allocations: 4 kB / 1.014 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.3483, allocations: 4 kB / 1.014 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.3496, allocations: 275.6 kB / 1.014 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-05/0.3496, allocations: 8 kB / 1.014 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.3513, allocations: 243 kB / 1.014 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.3514, allocations: 35.98 kB / 1.014 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/0.3514, allocations: 4 kB / 1.014 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003402/0.3548, allocations: 1.309 MB / 1.015 GB, free: 9.414 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3549, allocations: 0 / 1.015 GB, free: 9.414 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.3549, allocations: 8 kB / 1.015 GB, free: 9.406 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.3561, allocations: 279.9 kB / 1.016 GB, free: 9.133 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/0.3561, allocations: 8 kB / 1.016 GB, free: 9.125 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.3578, allocations: 243 kB / 1.016 GB, free: 8.887 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.3579, allocations: 35.98 kB / 1.016 GB, free: 8.852 MB / 0.6667 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007144/0.3586, allocations: 412.8 kB / 1.016 GB, free: 8.438 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003387/0.359, allocations: 146.2 kB / 1.016 GB, free: 8.293 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003974/0.3629, allocations: 1.505 MB / 1.018 GB, free: 6.77 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.363, allocations: 8 kB / 1.018 GB, free: 6.762 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.363, allocations: 3.938 kB / 1.018 GB, free: 6.758 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003268/0.3663, allocations: 1.292 MB / 1.019 GB, free: 5.434 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007401/0.3737, allocations: 3.229 MB / 1.022 GB, free: 2.051 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/0.3737, allocations: 4 kB / 1.022 GB, free: 2.047 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.3749, allocations: 236.2 kB / 1.023 GB, free: 1.816 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-05/0.3749, allocations: 11.94 kB / 1.023 GB, free: 1.805 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.054e-05/0.375, allocations: 27.97 kB / 1.023 GB, free: 1.777 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.484e-05/0.3751, allocations: 15.88 kB / 1.023 GB, free: 1.762 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.3751, allocations: 8 kB / 1.023 GB, free: 1.754 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005473/0.3805, allocations: 2.302 MB / 1.025 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008677/0.3814, allocations: 366.8 kB / 1.025 GB, free: 15 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003274/0.3818, allocations: 16 kB / 1.025 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00161/0.3834, allocations: 191.7 kB / 1.025 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.3836, allocations: 72.36 kB / 1.025 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.782e-05/0.3837, allocations: 35.97 kB / 1.026 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001639/0.3853, allocations: 0.9046 MB / 1.026 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3853, allocations: 0 / 1.026 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002559/0.3879, allocations: 0.7759 MB / 1.027 GB, free: 13.01 MB / 0.6823 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.001232/0.3891, allocations: 0.5104 MB / 1.028 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005659/0.3948, allocations: 2.082 MB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/0.3949, allocations: 4 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002033/0.3969, allocations: 0.6991 MB / 1.03 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005593/0.4025, allocations: 0.7619 MB / 1.031 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005807/0.4083, allocations: 3.291 MB / 1.034 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009231/0.4093, allocations: 1.222 MB / 1.036 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006145/0.4099, allocations: 135.4 kB / 1.036 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of SimCode: time 1.092e-06/0.4099, allocations: 0 / 1.036 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of Templates: time 0.4452/0.8551, allocations: 26.31 MB / 1.061 GB, free: 145 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)