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.0008192/0.0008188, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.006786/0.006786, allocations: 169.5 kB / 16.26 MB, free: 6.66 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.749/1.749, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.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.793/1.793, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005555/0.0005555, allocations: 16.14 kB / 0.6743 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2861, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06343/0.3496, allocations: 58.98 MB / 0.8455 GB, free: 392 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02118/0.3708, allocations: 12.99 MB / 0.8582 GB, free: 3.359 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002921/0.3738, allocations: 59.56 kB / 0.8582 GB, free: 3.301 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003398/0.3772, allocations: 0.8043 MB / 0.859 GB, free: 2.492 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008849/0.386, allocations: 2.13 MB / 0.8611 GB, free: 364 kB / 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.004913/0.391, allocations: 1.407 MB / 0.8625 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008465/0.3995, allocations: 5.507 MB / 0.8678 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002717/0.4022, allocations: 1.095 MB / 0.8689 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003879/0.4061, allocations: 1.338 MB / 0.8702 GB, free: 6.969 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002407/0.4086, allocations: 1.151 MB / 0.8713 GB, free: 5.812 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002802/0.4088, allocations: 60 kB / 0.8714 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003584/0.4124, allocations: 1.333 MB / 0.8727 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004245/0.4129, allocations: 330.6 kB / 0.873 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.4141, allocations: 0.837 MB / 0.8738 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004279/0.4184, allocations: 2.613 MB / 0.8764 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4184, allocations: 0 / 0.8764 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.605e-06/0.4184, allocations: 0 / 0.8764 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.719e-05/0.4185, allocations: 0 / 0.8764 GB, free: 0.625 MB / 0.6856 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.003997/0.4225, allocations: 1.878 MB / 0.8782 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.4225, allocations: 12.03 kB / 0.8782 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003641/0.4262, allocations: 0.6386 MB / 0.8788 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002589/0.4288, allocations: 1.368 MB / 0.8802 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.429, allocations: 141.4 kB / 0.8803 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.4292, allocations: 96 kB / 0.8804 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003167/0.4324, allocations: 1.342 MB / 0.8817 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.4324, allocations: 15.92 kB / 0.8817 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.4325, allocations: 36 kB / 0.8818 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.556e-05/0.4326, allocations: 24 kB / 0.8818 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003778/0.4364, allocations: 1.382 MB / 0.8831 GB, free: 9.531 MB / 0.7012 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.007862/0.4442, allocations: 5.377 MB / 0.8884 GB, free: 3.805 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005635/0.4499, allocations: 1.481 MB / 0.8898 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/0.4516, allocations: 0.6232 MB / 0.8904 GB, free: 1.652 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/0.4527, allocations: 1.236 MB / 0.8917 GB, free: 144 kB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002013/0.4548, allocations: 0.694 MB / 0.8923 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=69): time 4.358e-06/0.4548, allocations: 0 / 0.8923 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69): time 0.005611/0.4604, allocations: 1.774 MB / 0.8941 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.4605, allocations: 59.97 kB / 0.8941 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.4627, allocations: 1.263 MB / 0.8954 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001531/0.4629, allocations: 45.7 kB / 0.8954 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000717/0.4636, allocations: 0.6385 MB / 0.896 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003113/0.4639, allocations: 240.6 kB / 0.8962 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.4641, allocations: 73.62 kB / 0.8963 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000209/0.4643, allocations: 337.9 kB / 0.8966 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001905/0.4663, allocations: 0.5485 MB / 0.8972 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/0.4683, allocations: 0.7782 MB / 0.8979 GB, free: 9.559 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003421/0.4718, allocations: 1.19 MB / 0.8991 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.4718, allocations: 3.938 kB / 0.8991 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00427/0.4761, allocations: 1.465 MB / 0.9005 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002156/0.4763, allocations: 207.2 kB / 0.9007 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.4763, allocations: 4 kB / 0.9007 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/0.4764, allocations: 12 kB / 0.9007 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.4777, allocations: 267.6 kB / 0.901 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.4777, allocations: 8 kB / 0.901 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.4797, allocations: 243 kB / 0.9012 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.4798, allocations: 39.98 kB / 0.9013 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.4798, allocations: 4 kB / 0.9013 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003616/0.4835, allocations: 1.313 MB / 0.9026 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.4835, allocations: 4 kB / 0.9026 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.4835, allocations: 4 kB / 0.9026 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.4847, allocations: 271.6 kB / 0.9028 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.4847, allocations: 8 kB / 0.9028 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/0.4866, allocations: 239.1 kB / 0.9031 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.4868, allocations: 35.98 kB / 0.9031 GB, free: 4.152 MB / 0.7169 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.0008834/0.4876, allocations: 408.9 kB / 0.9035 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004755/0.4881, allocations: 146.2 kB / 0.9036 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004224/0.4924, allocations: 1.513 MB / 0.9051 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.056e-05/0.4924, allocations: 8 kB / 0.9051 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.4924, allocations: 7.938 kB / 0.9051 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00337/0.4958, allocations: 1.289 MB / 0.9064 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007521/0.5034, allocations: 3.241 MB / 0.9095 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.5034, allocations: 8.5 kB / 0.9096 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/0.5046, allocations: 239.7 kB / 0.9098 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.095e-05/0.5047, allocations: 11.94 kB / 0.9098 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-05/0.5048, allocations: 27.97 kB / 0.9098 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.984e-05/0.5048, allocations: 15.88 kB / 0.9098 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.5048, allocations: 8 kB / 0.9098 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00603/0.5109, allocations: 2.298 MB / 0.9121 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/0.5119, allocations: 378.9 kB / 0.9124 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003852/0.5123, allocations: 16 kB / 0.9125 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/0.514, allocations: 179.8 kB / 0.9126 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.5142, allocations: 68.36 kB / 0.9127 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.5143, allocations: 39.97 kB / 0.9127 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001823/0.5161, allocations: 0.9046 MB / 0.9136 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.4e-07/0.5162, allocations: 4 kB / 0.9136 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002968/0.5191, allocations: 0.7797 MB / 0.9144 GB, free: 8.27 MB / 0.7325 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.001532/0.5207, allocations: 0.4977 MB / 0.9149 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006105/0.5268, allocations: 2.082 MB / 0.9169 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.5268, allocations: 0 / 0.9169 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002122/0.529, allocations: 0.7147 MB / 0.9176 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00575/0.5347, allocations: 0.7703 MB / 0.9184 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00652/0.5413, allocations: 3.243 MB / 0.9215 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4975/1.039, allocations: 1.226 MB / 0.9227 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00266/1.041, allocations: 365.4 kB / 0.9231 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006051/1.042, allocations: 129.9 kB / 0.9232 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of SimCode: time 1.893e-06/1.042, allocations: 0 / 0.9232 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.07943/1.122, allocations: 30.78 MB / 0.9533 GB, free: 121 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: