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.00114/0.00114, allocations: 100.2 kB / 16.36 MB, free: 6.422 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.00107/0.00107, allocations: 198.3 kB / 17.3 MB, free: 5.801 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.392/1.392, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.839/1.839, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.001583/0.001583, allocations: 75 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2608, 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.4923/0.7531, allocations: 60.46 MB / 0.8438 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01937/0.7726, allocations: 13.06 MB / 0.8566 GB, free: 15.95 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003681/0.7763, allocations: 69.06 kB / 0.8566 GB, free: 15.93 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003827/0.7802, allocations: 0.9556 MB / 0.8576 GB, free: 15.35 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009296/0.7895, allocations: 2.302 MB / 0.8598 GB, free: 13.97 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.006536/0.7961, allocations: 1.549 MB / 0.8613 GB, free: 13.14 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01011/0.8062, allocations: 4.279 MB / 0.8655 GB, free: 11.09 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003011/0.8092, allocations: 1.326 MB / 0.8668 GB, free: 10.52 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004721/0.814, allocations: 1.582 MB / 0.8683 GB, free: 9.777 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00283/0.8168, allocations: 1.195 MB / 0.8695 GB, free: 9.215 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004002/0.8172, allocations: 139.1 kB / 0.8696 GB, free: 9.215 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004499/0.8218, allocations: 1.443 MB / 0.8711 GB, free: 8.621 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006474/0.8224, allocations: 414.2 kB / 0.8714 GB, free: 8.305 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001451/0.8239, allocations: 0.8966 MB / 0.8723 GB, free: 7.707 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006069/0.83, allocations: 2.762 MB / 0.875 GB, free: 5.891 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.83, allocations: 0 / 0.875 GB, free: 5.891 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.693e-06/0.83, allocations: 0.6562 kB / 0.875 GB, free: 5.891 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.355e-05/0.83, allocations: 4 kB / 0.875 GB, free: 5.887 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.004773/0.8348, allocations: 2.162 MB / 0.8771 GB, free: 4.25 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.8349, allocations: 9.906 kB / 0.8771 GB, free: 4.25 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003798/0.8387, allocations: 0.5977 MB / 0.8777 GB, free: 3.996 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/0.8415, allocations: 1.342 MB / 0.879 GB, free: 2.945 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.8417, allocations: 148.8 kB / 0.8792 GB, free: 2.84 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.8419, allocations: 97.94 kB / 0.8793 GB, free: 2.812 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003063/0.8449, allocations: 1.312 MB / 0.8806 GB, free: 2.035 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.845, allocations: 1.281 kB / 0.8806 GB, free: 2.035 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.8451, allocations: 40.33 kB / 0.8806 GB, free: 2.004 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.189e-05/0.8451, allocations: 23.84 kB / 0.8806 GB, free: 2.004 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003672/0.8488, allocations: 1.312 MB / 0.8819 GB, free: 1.402 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.008117/0.8569, allocations: 5.341 MB / 0.8871 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005746/0.8627, allocations: 1.409 MB / 0.8885 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.8644, allocations: 0.5932 MB / 0.8891 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/0.8656, allocations: 1.234 MB / 0.8903 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001857/0.8674, allocations: 0.6569 MB / 0.8909 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=69): time 2.535e-06/0.8674, allocations: 0.9688 kB / 0.8909 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69): time 0.005366/0.8728, allocations: 1.672 MB / 0.8926 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.8729, allocations: 67.33 kB / 0.8926 GB, free: 9.176 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.8748, allocations: 1.27 MB / 0.8939 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001506/0.875, allocations: 44.45 kB / 0.8939 GB, free: 8.445 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006227/0.8756, allocations: 0.6469 MB / 0.8945 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000318/0.876, allocations: 239.6 kB / 0.8948 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003324/0.8763, allocations: 168.5 kB / 0.8949 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.8764, allocations: 333 kB / 0.8952 GB, free: 7.246 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.878, allocations: 0.5376 MB / 0.8958 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/0.8798, allocations: 0.7369 MB / 0.8965 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003167/0.8829, allocations: 1.131 MB / 0.8976 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.883, allocations: 1.656 kB / 0.8976 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004228/0.8872, allocations: 1.392 MB / 0.8989 GB, free: 4.496 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.316e-05/0.8873, allocations: 37.7 kB / 0.899 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.8873, allocations: 8.547 kB / 0.899 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.8873, allocations: 11.88 kB / 0.899 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.8886, allocations: 253.8 kB / 0.8992 GB, free: 4.188 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.8886, allocations: 8 kB / 0.8993 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/0.8905, allocations: 179.1 kB / 0.8994 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.55e-05/0.8906, allocations: 39.97 kB / 0.8995 GB, free: 3.965 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002095/0.8927, allocations: 0.7897 MB / 0.9002 GB, free: 3.176 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001745/0.8945, allocations: 0.7314 MB / 0.9009 GB, free: 2.367 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002969/0.8974, allocations: 1.12 MB / 0.902 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.989e-06/0.8975, allocations: 4 kB / 0.902 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.003747/0.9012, allocations: 1.38 MB / 0.9034 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.9013, allocations: 34.95 kB / 0.9034 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.9013, allocations: 1.312 kB / 0.9034 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.9013, allocations: 8 kB / 0.9034 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.9025, allocations: 259.8 kB / 0.9037 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.9025, allocations: 12 kB / 0.9037 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.9042, allocations: 175.2 kB / 0.9039 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.122e-05/0.9043, allocations: 35.98 kB / 0.9039 GB, free: 15.28 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.0002975/0.9046, allocations: 233.1 kB / 0.9041 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/0.9049, allocations: 146.2 kB / 0.9043 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003854/0.9087, allocations: 1.453 MB / 0.9057 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/0.9088, allocations: 8 kB / 0.9057 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.9088, allocations: 0 / 0.9057 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003189/0.912, allocations: 1.222 MB / 0.9069 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00685/0.9188, allocations: 3.171 MB / 0.91 GB, free: 8.844 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.9189, allocations: 4 kB / 0.91 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.9201, allocations: 220.2 kB / 0.9102 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.168e-05/0.9201, allocations: 11.94 kB / 0.9102 GB, free: 8.613 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-05/0.9202, allocations: 23.98 kB / 0.9102 GB, free: 8.59 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.238e-05/0.9202, allocations: 17.36 kB / 0.9102 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.9202, allocations: 7.938 kB / 0.9102 GB, free: 8.57 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005414/0.9256, allocations: 2.2 MB / 0.9124 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007179/0.9264, allocations: 342.9 kB / 0.9127 GB, free: 5.934 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/0.9266, allocations: 19.94 kB / 0.9127 GB, free: 5.914 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/0.9279, allocations: 131.9 kB / 0.9129 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.9281, allocations: 76.3 kB / 0.9129 GB, free: 5.711 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.634e-05/0.9282, allocations: 43.97 kB / 0.913 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001223/0.9294, allocations: 0.9085 MB / 0.9139 GB, free: 4.762 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9294, allocations: 0 / 0.9139 GB, free: 4.762 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002032/0.9315, allocations: 0.7914 MB / 0.9146 GB, free: 3.969 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.0009752/0.9325, allocations: 0.5218 MB / 0.9152 GB, free: 3.457 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005277/0.9377, allocations: 1.988 MB / 0.9171 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.9378, allocations: 0 / 0.9171 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001874/0.9396, allocations: 0.6795 MB / 0.9178 GB, free: 0.7695 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003597/0.9433, allocations: 0.7608 MB / 0.9185 GB, free: 80 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004797/0.9481, allocations: 2.634 MB / 0.9211 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007684/0.9489, allocations: 1.236 MB / 0.9223 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001571/0.9504, allocations: 366.2 kB / 0.9226 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003695/0.9508, allocations: 123.4 kB / 0.9227 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of SimCode: time 1.002e-06/0.9508, allocations: 0 / 0.9227 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of Templates: time 0.05233/1.003, allocations: 31.56 MB / 0.9536 GB, free: 12.55 MB / 0.7481 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)