Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.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_AirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 106.5 kB / 16.36 MB, free: 6.258 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.001229/0.001229, allocations: 189.7 kB / 17.3 MB, free: 5.848 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.462/1.462, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.815/1.815, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001424/0.001424, allocations: 67.88 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2432, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled): time 0.749/0.9922, allocations: 227 MB / 1.006 GB, free: 6.957 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.03573/1.028, allocations: 20.21 MB / 1.026 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004968/1.033, allocations: 83.5 kB / 1.026 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.004613/1.038, allocations: 1.296 MB / 1.028 GB, free: 1.316 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.01138/1.049, allocations: 3.279 MB / 1.031 GB, free: 14.03 MB / 0.8262 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.007559/1.057, allocations: 2.525 MB / 1.033 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.009556/1.066, allocations: 5.812 MB / 1.039 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005022/1.071, allocations: 2.489 MB / 1.041 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008061/1.079, allocations: 2.391 MB / 1.044 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004054/1.084, allocations: 1.793 MB / 1.045 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001236/1.085, allocations: 272 kB / 1.046 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006989/1.092, allocations: 2.803 MB / 1.048 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001472/1.093, allocations: 0.8411 MB / 1.049 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003809/1.097, allocations: 1.539 MB / 1.051 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0115/1.109, allocations: 4.892 MB / 1.056 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/1.109, allocations: 0 / 1.056 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.035e-06/1.109, allocations: 0 / 1.056 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002241/1.109, allocations: 0 / 1.056 GB, free: 4.621 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 477 * Number of variables: 477 Notification: Performance of Generate backend data structure: time 0.01044/1.119, allocations: 3.44 MB / 1.059 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/1.119, allocations: 11.97 kB / 1.059 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006909/1.126, allocations: 0.9876 MB / 1.06 GB, free: 104 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004812/1.131, allocations: 2.022 MB / 1.062 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003081/1.132, allocations: 220.2 kB / 1.062 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005989/1.132, allocations: 196 kB / 1.062 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006933/1.139, allocations: 2.399 MB / 1.065 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-05/1.139, allocations: 0 / 1.065 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003715/1.14, allocations: 80 kB / 1.065 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.356e-05/1.14, allocations: 71.64 kB / 1.065 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00668/1.146, allocations: 2.672 MB / 1.067 GB, free: 8.305 MB / 0.8575 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.016/1.162, allocations: 8.651 MB / 1.076 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007278/1.17, allocations: 2.282 MB / 1.078 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002416/1.172, allocations: 1.008 MB / 1.079 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008855/1.173, allocations: 0.8792 MB / 1.08 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003138/1.176, allocations: 1.224 MB / 1.081 GB, free: 9.574 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=161): time 6.072e-06/1.176, allocations: 4 kB / 1.081 GB, free: 9.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=161): time 0.0107/1.187, allocations: 3.086 MB / 1.084 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/1.187, allocations: 201.2 kB / 1.084 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005222/1.192, allocations: 1.813 MB / 1.086 GB, free: 4.371 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003159/1.193, allocations: 65.69 kB / 1.086 GB, free: 4.301 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001447/1.194, allocations: 1.009 MB / 1.087 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006896/1.195, allocations: 0.5352 MB / 1.088 GB, free: 2.734 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007694/1.196, allocations: 335.2 kB / 1.088 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.737e-05/1.196, allocations: 309.1 kB / 1.088 GB, free: 2.094 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002384/1.198, allocations: 0.8675 MB / 1.089 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002744/1.201, allocations: 1.162 MB / 1.09 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004841/1.206, allocations: 1.892 MB / 1.092 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/1.206, allocations: 0 / 1.092 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006853/1.213, allocations: 2.379 MB / 1.094 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.632e-05/1.213, allocations: 37.69 kB / 1.094 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/1.213, allocations: 0 / 1.094 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006481/1.213, allocations: 92.98 kB / 1.094 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/1.216, allocations: 453.5 kB / 1.095 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00283/1.219, allocations: 2.242 MB / 1.097 GB, free: 8.652 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/1.222, allocations: 262.4 kB / 1.097 GB, free: 8.395 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000279/1.222, allocations: 79.95 kB / 1.097 GB, free: 8.316 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003681/1.226, allocations: 1.277 MB / 1.099 GB, free: 7.035 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002851/1.228, allocations: 1.163 MB / 1.1 GB, free: 5.781 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00493/1.233, allocations: 1.881 MB / 1.102 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.608e-06/1.233, allocations: 4 kB / 1.102 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of matching and sorting (n=200) (initialization_lambda0): time 0.007272/1.241, allocations: 2.371 MB / 1.104 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.553e-05/1.241, allocations: 37.69 kB / 1.104 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/1.241, allocations: 0 / 1.104 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005909/1.241, allocations: 88.97 kB / 1.104 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002173/1.243, allocations: 435.4 kB / 1.105 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/1.246, allocations: 1.656 MB / 1.106 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002931/1.249, allocations: 253.6 kB / 1.106 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002296/1.249, allocations: 75.95 kB / 1.106 GB, free: 14.79 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 14 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,chi.on,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 192 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000637/1.25, allocations: 281.8 kB / 1.107 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009193/1.251, allocations: 233.1 kB / 1.107 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00711/1.258, allocations: 2.585 MB / 1.109 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00551/1.263, allocations: 2.312 MB / 1.112 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/1.263, allocations: 0 / 1.112 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/1.265, allocations: 0.5445 MB / 1.112 GB, free: 8.719 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007101/1.266, allocations: 32 kB / 1.112 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002546/1.268, allocations: 184.7 kB / 1.112 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000302/1.268, allocations: 121.8 kB / 1.113 GB, free: 8.395 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007479/1.276, allocations: 2.428 MB / 1.115 GB, free: 5.953 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00891/1.285, allocations: 3.636 MB / 1.118 GB, free: 2.301 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002454/1.287, allocations: 1.023 MB / 1.119 GB, free: 1.273 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002506/1.29, allocations: 1.236 MB / 1.121 GB, free: 20 kB / 0.9044 GB Notification: Performance of Backend: time 4.61e-07/1.29, allocations: 0 / 1.121 GB, free: 20 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01355/1.303, allocations: 3.951 MB / 1.125 GB, free: 12.29 MB / 0.92 GB Notification: Performance of SimCode: time 0.01273/1.316, allocations: 5.08 MB / 1.13 GB, free: 7.219 MB / 0.92 GB Notification: Performance of Templates: time 0.5723/1.889, allocations: 61.78 MB / 1.19 GB, free: 286.5 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1)