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.0015/0.0015, allocations: 110.4 kB / 16.37 MB, free: 5.539 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.001666/0.001666, allocations: 190.9 kB / 17.31 MB, free: 5.184 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.507/1.507, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.768/1.768, allocations: 292.3 MB / 0.5496 GB, free: 17.43 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.001416/0.001416, allocations: 67.91 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2632, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.536/0.7992, allocations: 60.45 MB / 0.8438 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01872/0.818, allocations: 13.07 MB / 0.8566 GB, free: 40 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003791/0.8218, allocations: 65.22 kB / 0.8566 GB, free: 16 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003878/0.8258, allocations: 0.9565 MB / 0.8576 GB, free: 15.43 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008823/0.8347, allocations: 2.304 MB / 0.8598 GB, free: 14.05 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.00569/0.8404, allocations: 1.555 MB / 0.8613 GB, free: 13.22 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008713/0.8491, allocations: 4.274 MB / 0.8655 GB, free: 11.18 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002864/0.852, allocations: 1.33 MB / 0.8668 GB, free: 10.59 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005216/0.8572, allocations: 1.569 MB / 0.8683 GB, free: 9.859 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003301/0.8605, allocations: 1.186 MB / 0.8695 GB, free: 9.305 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00043/0.861, allocations: 139 kB / 0.8696 GB, free: 9.305 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005109/0.8661, allocations: 1.446 MB / 0.8711 GB, free: 8.637 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006413/0.8668, allocations: 414.8 kB / 0.8714 GB, free: 8.32 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001964/0.8687, allocations: 0.9006 MB / 0.8723 GB, free: 7.719 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006064/0.8748, allocations: 2.75 MB / 0.875 GB, free: 5.914 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.8749, allocations: 0.6875 kB / 0.875 GB, free: 5.914 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.875e-06/0.8749, allocations: 0 / 0.875 GB, free: 5.914 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.417e-05/0.8749, allocations: 4 kB / 0.875 GB, free: 5.91 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.004752/0.8797, allocations: 2.17 MB / 0.8771 GB, free: 4.266 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.8797, allocations: 9.656 kB / 0.8771 GB, free: 4.266 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003776/0.8835, allocations: 0.604 MB / 0.8777 GB, free: 4.008 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002888/0.8864, allocations: 1.411 MB / 0.8791 GB, free: 2.922 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/0.8866, allocations: 144.2 kB / 0.8792 GB, free: 2.82 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.8868, allocations: 107.8 kB / 0.8794 GB, free: 2.781 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003318/0.8901, allocations: 1.304 MB / 0.8806 GB, free: 2.012 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.8902, allocations: 5.344 kB / 0.8806 GB, free: 2.008 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.8903, allocations: 37.34 kB / 0.8807 GB, free: 1.98 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.042e-05/0.8904, allocations: 24.12 kB / 0.8807 GB, free: 1.98 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003877/0.8942, allocations: 1.312 MB / 0.882 GB, free: 1.379 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.008686/0.9029, allocations: 5.34 MB / 0.8872 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005768/0.9087, allocations: 1.416 MB / 0.8886 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.9105, allocations: 0.5893 MB / 0.8891 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/0.9116, allocations: 1.237 MB / 0.8904 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001877/0.9135, allocations: 0.6517 MB / 0.891 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=69): time 2.945e-06/0.9135, allocations: 0 / 0.891 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69): time 0.005551/0.919, allocations: 1.683 MB / 0.8926 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.9191, allocations: 60 kB / 0.8927 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/0.9213, allocations: 1.27 MB / 0.8939 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000144/0.9214, allocations: 43.83 kB / 0.894 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006432/0.9221, allocations: 0.6521 MB / 0.8946 GB, free: 7.848 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.9224, allocations: 238.5 kB / 0.8948 GB, free: 7.641 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003578/0.9227, allocations: 165.9 kB / 0.895 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002292/0.923, allocations: 341 kB / 0.8953 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001825/0.9248, allocations: 0.5249 MB / 0.8958 GB, free: 6.969 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/0.9268, allocations: 0.7452 MB / 0.8966 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003326/0.9302, allocations: 1.127 MB / 0.8977 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.9302, allocations: 0 / 0.8977 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004257/0.9345, allocations: 1.404 MB / 0.899 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.344e-05/0.9345, allocations: 30.48 kB / 0.8991 GB, free: 4.391 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.9346, allocations: 7.984 kB / 0.8991 GB, free: 4.383 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.9346, allocations: 11.94 kB / 0.8991 GB, free: 4.371 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.9359, allocations: 251.7 kB / 0.8993 GB, free: 4.125 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.9359, allocations: 8 kB / 0.8993 GB, free: 4.117 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.9379, allocations: 179.7 kB / 0.8995 GB, free: 3.941 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.938, allocations: 35.98 kB / 0.8995 GB, free: 3.906 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002177/0.9402, allocations: 0.7798 MB / 0.9003 GB, free: 3.125 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001868/0.9421, allocations: 0.7391 MB / 0.901 GB, free: 2.309 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003198/0.9453, allocations: 1.124 MB / 0.9021 GB, free: 1.137 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.128e-06/0.9453, allocations: 0 / 0.9021 GB, free: 1.137 MB / 0.6856 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.004279/0.9496, allocations: 1.377 MB / 0.9035 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.579e-05/0.9497, allocations: 37.69 kB / 0.9035 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.9497, allocations: 7.984 kB / 0.9035 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.9497, allocations: 4 kB / 0.9035 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.951, allocations: 259.8 kB / 0.9038 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.951, allocations: 6.891 kB / 0.9038 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/0.953, allocations: 186.7 kB / 0.9039 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.9531, allocations: 39.97 kB / 0.904 GB, free: 15.21 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.0004804/0.9536, allocations: 229.7 kB / 0.9042 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005991/0.9542, allocations: 146.2 kB / 0.9043 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00436/0.9586, allocations: 1.443 MB / 0.9057 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.793e-05/0.9586, allocations: 11.98 kB / 0.9058 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/0.9587, allocations: 0 / 0.9058 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003485/0.9621, allocations: 1.222 MB / 0.9069 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008022/0.9702, allocations: 3.175 MB / 0.9101 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.9702, allocations: 4 kB / 0.9101 GB, free: 8.777 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.9714, allocations: 216.2 kB / 0.9103 GB, free: 8.566 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-05/0.9715, allocations: 19.88 kB / 0.9103 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.605e-05/0.9716, allocations: 27.97 kB / 0.9103 GB, free: 8.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.311e-05/0.9716, allocations: 7.938 kB / 0.9103 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.268e-06/0.9716, allocations: 8 kB / 0.9103 GB, free: 8.504 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006048/0.9777, allocations: 2.2 MB / 0.9125 GB, free: 6.223 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009746/0.9787, allocations: 346.9 kB / 0.9128 GB, free: 5.863 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004529/0.9791, allocations: 27.92 kB / 0.9128 GB, free: 5.836 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/0.9808, allocations: 122.4 kB / 0.9129 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.981, allocations: 76.36 kB / 0.913 GB, free: 5.645 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.9811, allocations: 39.97 kB / 0.9131 GB, free: 5.605 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001673/0.9828, allocations: 0.9124 MB / 0.9139 GB, free: 4.695 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9828, allocations: 0 / 0.9139 GB, free: 4.695 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003024/0.9858, allocations: 0.7914 MB / 0.9147 GB, free: 3.902 MB / 0.7012 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.001483/0.9873, allocations: 0.5185 MB / 0.9152 GB, free: 3.395 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006211/0.9936, allocations: 1.988 MB / 0.9172 GB, free: 1.383 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.775e-05/0.9936, allocations: 0 / 0.9172 GB, free: 1.383 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002261/0.9959, allocations: 0.66 MB / 0.9178 GB, free: 0.7266 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005772/1.002, allocations: 0.7604 MB / 0.9186 GB, free: 36 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006199/1.008, allocations: 2.672 MB / 0.9212 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/1.009, allocations: 1.234 MB / 0.9224 GB, free: 12 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007346/1.01, allocations: 139.4 kB / 0.9225 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of SimCode: time 7.82e-07/1.01, allocations: 0 / 0.9225 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of Templates: time 0.04451/1.054, allocations: 26.68 MB / 0.9486 GB, free: 1.496 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)