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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 292.3 MB / 308.1 MB, free: 4.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001495, allocations: 194.4 kB / 376.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.1 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 100.9 kB / 0.748 GB, free: 61.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 55.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2999, allocations: 114.5 MB / 0.9822 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.568/0.868, allocations: 60.07 MB / 1.041 GB, free: 63.22 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01953/0.8875, allocations: 13.13 MB / 1.054 GB, free: 62.35 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003326/0.8909, allocations: 70.66 kB / 1.054 GB, free: 62.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003174/0.8941, allocations: 0.8124 MB / 1.055 GB, free: 62.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.007415/0.9016, allocations: 2.132 MB / 1.057 GB, free: 61.38 MB / 0.7448 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.004965/0.9066, allocations: 1.398 MB / 1.058 GB, free: 61.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.008653/0.9152, allocations: 5.538 MB / 1.063 GB, free: 60.2 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002319/0.9176, allocations: 1.117 MB / 1.065 GB, free: 59.78 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003411/0.921, allocations: 1.384 MB / 1.066 GB, free: 59.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002768/0.9239, allocations: 1.198 MB / 1.067 GB, free: 58.66 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0005534/0.9244, allocations: 77.91 kB / 1.067 GB, free: 58.66 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004761/0.9292, allocations: 1.35 MB / 1.068 GB, free: 58.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0008106/0.93, allocations: 343.8 kB / 1.069 GB, free: 58 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002325/0.9324, allocations: 0.8375 MB / 1.07 GB, free: 57.52 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.008584/0.941, allocations: 2.673 MB / 1.072 GB, free: 56.52 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.358e-05/0.9411, allocations: 3.188 kB / 1.072 GB, free: 56.52 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.595e-06/0.9411, allocations: 0 / 1.072 GB, free: 56.52 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001247/0.9412, allocations: 0 / 1.072 GB, free: 56.52 MB / 0.7448 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.006827/0.9481, allocations: 2.159 MB / 1.074 GB, free: 55.11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.9481, allocations: 10.09 kB / 1.074 GB, free: 55.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00387/0.952, allocations: 0.6014 MB / 1.075 GB, free: 54.99 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003125/0.9552, allocations: 1.38 MB / 1.076 GB, free: 54.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.9554, allocations: 137.2 kB / 1.076 GB, free: 54.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002969/0.9557, allocations: 110.8 kB / 1.076 GB, free: 54.03 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00322/0.9589, allocations: 1.304 MB / 1.078 GB, free: 53.53 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/0.959, allocations: 3.938 kB / 1.078 GB, free: 53.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.9591, allocations: 37.81 kB / 1.078 GB, free: 53.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.633e-05/0.9592, allocations: 25.17 kB / 1.078 GB, free: 53.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003687/0.9629, allocations: 1.314 MB / 1.079 GB, free: 53.12 MB / 0.7448 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.007951/0.9708, allocations: 5.338 MB / 1.084 GB, free: 49.46 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00523/0.9761, allocations: 1.407 MB / 1.086 GB, free: 48.94 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.9777, allocations: 0.5871 MB / 1.086 GB, free: 48.77 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007741/0.9785, allocations: 1.239 MB / 1.087 GB, free: 47.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001769/0.9803, allocations: 0.6535 MB / 1.088 GB, free: 47.14 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=69): time 3.958e-06/0.9803, allocations: 0 / 1.088 GB, free: 47.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=69): time 0.005029/0.9853, allocations: 1.677 MB / 1.09 GB, free: 46.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.9854, allocations: 68.75 kB / 1.09 GB, free: 46.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/0.9875, allocations: 1.262 MB / 1.091 GB, free: 46.08 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001472/0.9877, allocations: 43.95 kB / 1.091 GB, free: 46.04 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005346/0.9883, allocations: 0.6524 MB / 1.092 GB, free: 45.52 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/0.9885, allocations: 239.6 kB / 1.092 GB, free: 45.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003378/0.9888, allocations: 168.9 kB / 1.092 GB, free: 45.26 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.647e-05/0.9889, allocations: 334.4 kB / 1.092 GB, free: 44.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.9904, allocations: 0.5298 MB / 1.093 GB, free: 44.8 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001647/0.9921, allocations: 0.7396 MB / 1.094 GB, free: 44.42 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003036/0.9952, allocations: 1.131 MB / 1.095 GB, free: 43.97 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.607e-06/0.9952, allocations: 3.812 kB / 1.095 GB, free: 43.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004928/1, allocations: 1.395 MB / 1.096 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.942e-05/1, allocations: 35.38 kB / 1.096 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/1, allocations: 3.609 kB / 1.096 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.19e-05/1, allocations: 10.75 kB / 1.096 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/1.002, allocations: 255.8 kB / 1.096 GB, free: 43.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.882e-05/1.002, allocations: 10.03 kB / 1.096 GB, free: 43.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/1.004, allocations: 221.4 kB / 1.097 GB, free: 43.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/1.004, allocations: 38.88 kB / 1.097 GB, free: 43.35 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002235/1.007, allocations: 0.7713 MB / 1.097 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001702/1.008, allocations: 0.741 MB / 1.098 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003081/1.011, allocations: 1.124 MB / 1.099 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.189e-06/1.011, allocations: 0 / 1.099 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.003918/1.015, allocations: 1.387 MB / 1.101 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/1.015, allocations: 32.11 kB / 1.101 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.015, allocations: 4.562 kB / 1.101 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/1.015, allocations: 10.06 kB / 1.101 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/1.017, allocations: 254.2 kB / 1.101 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/1.017, allocations: 10.25 kB / 1.101 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/1.019, allocations: 217.2 kB / 1.101 GB, free: 41.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/1.019, allocations: 32.52 kB / 1.101 GB, free: 41.59 MB / 0.7448 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.000321/1.019, allocations: 231.2 kB / 1.101 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005003/1.019, allocations: 140.9 kB / 1.101 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003896/1.023, allocations: 1.451 MB / 1.103 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/1.023, allocations: 10.31 kB / 1.103 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.023, allocations: 3.938 kB / 1.103 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002961/1.026, allocations: 1.225 MB / 1.104 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006998/1.033, allocations: 3.171 MB / 1.107 GB, free: 38.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.033, allocations: 3.875 kB / 1.107 GB, free: 38.81 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/1.035, allocations: 221.2 kB / 1.107 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.494e-05/1.035, allocations: 6.531 kB / 1.107 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.999e-05/1.035, allocations: 32.58 kB / 1.107 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.294e-05/1.035, allocations: 13.5 kB / 1.107 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.035, allocations: 3.812 kB / 1.107 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03677/1.071, allocations: 11.32 MB / 1.119 GB, free: 33.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009594/1.072, allocations: 350.4 kB / 1.119 GB, free: 33.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003808/1.073, allocations: 20.84 kB / 1.119 GB, free: 33.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/1.075, allocations: 165.1 kB / 1.119 GB, free: 33.64 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/1.075, allocations: 72.3 kB / 1.119 GB, free: 33.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.075, allocations: 35.5 kB / 1.119 GB, free: 33.62 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001365/1.076, allocations: 0.9015 MB / 1.12 GB, free: 33.27 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.11e-07/1.076, allocations: 0 / 1.12 GB, free: 33.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004181/1.08, allocations: 1.206 MB / 1.121 GB, free: 33.07 MB / 0.7448 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.001242/1.082, allocations: 0.5006 MB / 1.122 GB, free: 32.84 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00532/1.087, allocations: 1.984 MB / 1.124 GB, free: 32.21 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.087, allocations: 0 / 1.124 GB, free: 32.21 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001858/1.089, allocations: 0.6734 MB / 1.124 GB, free: 32.02 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00444/1.093, allocations: 0.7541 MB / 1.125 GB, free: 31.82 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00596/1.099, allocations: 3.628 MB / 1.129 GB, free: 29.55 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009556/1.1, allocations: 1.254 MB / 1.13 GB, free: 28.78 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002501/1.103, allocations: 390.8 kB / 1.13 GB, free: 28.68 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006775/1.104, allocations: 132.1 kB / 1.13 GB, free: 28.66 MB / 0.7448 GB Notification: Performance of SimCode: time 1.052e-06/1.104, allocations: 4 kB / 1.13 GB, free: 28.66 MB / 0.7448 GB Notification: Performance of Templates: time 0.08891/1.192, allocations: 35.67 MB / 1.165 GB, free: 21.12 MB / 0.7448 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)