Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.371/1.371, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 181.8 kB / 326.5 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205 MB / 0.5766 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007711/0.000771, allocations: 91.92 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003221, allocations: 10.41 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2005, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled): time 0.7105/0.911, allocations: 224.4 MB / 1.116 GB, free: 1.125 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02504/0.9361, allocations: 20.38 MB / 1.136 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004621/0.9408, allocations: 76.78 kB / 1.136 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004191/0.945, allocations: 1.106 MB / 1.137 GB, free: 0.5352 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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‘. Notification: Performance of NFTyping.typeBindings: time 0.011/0.956, allocations: 3.066 MB / 1.14 GB, free: 392 kB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.007292/0.9633, allocations: 2.262 MB / 1.142 GB, free: 316 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01032/0.9736, allocations: 7.394 MB / 1.149 GB, free: 0 / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004501/0.9782, allocations: 2.085 MB / 1.151 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006937/0.9852, allocations: 2.045 MB / 1.153 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003655/0.9888, allocations: 1.658 MB / 1.155 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0005617/0.9894, allocations: 94.44 kB / 1.155 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007208/0.9966, allocations: 2.868 MB / 1.158 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0009626/0.9976, allocations: 0.6605 MB / 1.159 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002382/1, allocations: 1.312 MB / 1.16 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.009948/1.01, allocations: 4.746 MB / 1.164 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/1.01, allocations: 0 / 1.164 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.661e-06/1.01, allocations: 0 / 1.164 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001182/1.01, allocations: 6.156 kB / 1.164 GB, free: 9.418 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.007475/1.018, allocations: 2.909 MB / 1.167 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/1.018, allocations: 8.062 kB / 1.167 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00608/1.024, allocations: 1.032 MB / 1.168 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003735/1.028, allocations: 1.966 MB / 1.17 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002082/1.028, allocations: 220.7 kB / 1.17 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002963/1.028, allocations: 195.3 kB / 1.171 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004955/1.033, allocations: 2.435 MB / 1.173 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/1.033, allocations: 1.812 kB / 1.173 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001998/1.033, allocations: 78.78 kB / 1.173 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.843e-05/1.033, allocations: 83.89 kB / 1.173 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005718/1.039, allocations: 2.732 MB / 1.176 GB, free: 2.547 MB / 0.7136 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.01339/1.053, allocations: 8.75 MB / 1.184 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006815/1.059, allocations: 2.357 MB / 1.187 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002363/1.062, allocations: 1.039 MB / 1.188 GB, free: 6.637 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008687/1.063, allocations: 0.8837 MB / 1.189 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002702/1.065, allocations: 1.262 MB / 1.19 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=161): time 3.647e-06/1.065, allocations: 0 / 1.19 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of matching and sorting (n=161): time 0.009906/1.075, allocations: 3.172 MB / 1.193 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/1.076, allocations: 204.8 kB / 1.193 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003082/1.079, allocations: 1.825 MB / 1.195 GB, free: 15 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002425/1.079, allocations: 61.7 kB / 1.195 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009181/1.08, allocations: 1.02 MB / 1.196 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005496/1.08, allocations: 0.528 MB / 1.196 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/1.081, allocations: 137.6 kB / 1.197 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.898e-05/1.081, allocations: 301.1 kB / 1.197 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002126/1.083, allocations: 0.8823 MB / 1.198 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002443/1.085, allocations: 1.197 MB / 1.199 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004339/1.09, allocations: 1.95 MB / 1.201 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/1.09, allocations: 0 / 1.201 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006092/1.096, allocations: 2.439 MB / 1.203 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001617/1.096, allocations: 216.1 kB / 1.203 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/1.096, allocations: 4 kB / 1.203 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005858/1.097, allocations: 92.77 kB / 1.203 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002167/1.099, allocations: 469.9 kB / 1.204 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/1.101, allocations: 2.137 MB / 1.206 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002983/1.104, allocations: 341.1 kB / 1.206 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/1.104, allocations: 79.94 kB / 1.206 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/1.104, allocations: 4 kB / 1.206 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005341/1.11, allocations: 2.218 MB / 1.209 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.11, allocations: 0 / 1.209 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005222/1.11, allocations: 92.8 kB / 1.209 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/1.112, allocations: 455.7 kB / 1.209 GB, free: 136 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/1.114, allocations: 1.54 MB / 1.211 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/1.117, allocations: 338.5 kB / 1.211 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/1.117, allocations: 75.95 kB / 1.211 GB, free: 14.05 MB / 0.7605 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.00133/1.119, allocations: 0.6005 MB / 1.212 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005343/1.119, allocations: 241 kB / 1.212 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006078/1.125, allocations: 2.706 MB / 1.214 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004958/1.13, allocations: 2.369 MB / 1.217 GB, free: 8.051 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/1.13, allocations: 0 / 1.217 GB, free: 8.051 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/1.132, allocations: 0.5445 MB / 1.217 GB, free: 7.484 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003665/1.132, allocations: 43.98 kB / 1.217 GB, free: 7.441 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002032/1.134, allocations: 262.4 kB / 1.218 GB, free: 7.188 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00026/1.134, allocations: 117.8 kB / 1.218 GB, free: 7.074 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006609/1.141, allocations: 2.521 MB / 1.22 GB, free: 4.566 MB / 0.7605 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008007/1.149, allocations: 3.716 MB / 1.224 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002244/1.151, allocations: 1.053 MB / 1.225 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002016/1.153, allocations: 1.241 MB / 1.226 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of Backend: time 1.924e-06/1.153, allocations: 0 / 1.226 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01031/1.164, allocations: 4.012 MB / 1.23 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of SimCode: time 0.01035/1.174, allocations: 6.073 MB / 1.236 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of Templates: time 0.09396/1.268, allocations: 58.87 MB / 1.293 GB, free: 10.27 MB / 0.8386 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1)