Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.005/2.005, allocations: 288.3 MB / 303.2 MB, free: 8.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001223/0.001224, allocations: 185 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 98.06 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004266/0.0004269, allocations: 18.94 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2297, allocations: 115.3 MB / 0.9794 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled): time 0.682/0.9117, allocations: 188.9 MB / 1.164 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02772/0.9395, allocations: 17.74 MB / 1.181 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004136/0.9437, allocations: 75 kB / 1.181 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004348/0.9481, allocations: 1.113 MB / 1.182 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01218/0.9603, allocations: 3.082 MB / 1.185 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.007874/0.9682, allocations: 2.265 MB / 1.188 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007821/0.976, allocations: 3.431 MB / 1.191 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004409/0.9805, allocations: 1.857 MB / 1.193 GB, free: 8.297 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004785/0.9853, allocations: 1.694 MB / 1.194 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003439/0.9887, allocations: 1.158 MB / 1.196 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0008471/0.9896, allocations: 85.56 kB / 1.196 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0067/0.9963, allocations: 1.563 MB / 1.197 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001697/0.9981, allocations: 0.5753 MB / 1.198 GB, free: 5.551 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001944/1, allocations: 0.5473 MB / 1.198 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.006854/1.007, allocations: 3.313 MB / 1.201 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/1.007, allocations: 2.688 kB / 1.201 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.707e-06/1.007, allocations: 0 / 1.201 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002202/1.007, allocations: 0 / 1.201 GB, free: 2.973 MB / 0.7292 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.008478/1.016, allocations: 2.888 MB / 1.204 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/1.016, allocations: 15.56 kB / 1.204 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006802/1.023, allocations: 1.029 MB / 1.205 GB, free: 436 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004843/1.027, allocations: 1.817 MB / 1.207 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002978/1.028, allocations: 225.5 kB / 1.207 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005769/1.028, allocations: 192.6 kB / 1.207 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006257/1.035, allocations: 2.395 MB / 1.21 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.287e-05/1.035, allocations: 0 / 1.21 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003546/1.035, allocations: 84 kB / 1.21 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.203e-05/1.035, allocations: 71.44 kB / 1.21 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006663/1.042, allocations: 2.727 MB / 1.213 GB, free: 9.41 MB / 0.7448 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.01697/1.059, allocations: 8.701 MB / 1.221 GB, free: 272 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007483/1.066, allocations: 2.356 MB / 1.223 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008231/1.067, allocations: 0.7091 MB / 1.224 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003075/1.07, allocations: 1.247 MB / 1.225 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=161): time 4.699e-06/1.07, allocations: 0 / 1.225 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of matching and sorting (n=161): time 0.0101/1.08, allocations: 3.173 MB / 1.228 GB, free: 8.547 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/1.081, allocations: 197.2 kB / 1.229 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003215/1.084, allocations: 1.778 MB / 1.23 GB, free: 6.5 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0003826/1.084, allocations: 61.7 kB / 1.23 GB, free: 6.434 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001009/1.085, allocations: 1.025 MB / 1.231 GB, free: 5.395 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006913/1.086, allocations: 0.5429 MB / 1.232 GB, free: 4.844 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/1.086, allocations: 31.94 kB / 1.232 GB, free: 4.812 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001747/1.086, allocations: 369.9 kB / 1.232 GB, free: 4.445 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002326/1.089, allocations: 0.8588 MB / 1.233 GB, free: 3.586 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002555/1.091, allocations: 1.163 MB / 1.234 GB, free: 2.32 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002388/1.094, allocations: 0.9758 MB / 1.235 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/1.094, allocations: 0 / 1.235 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.006326/1.1, allocations: 2.371 MB / 1.238 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004885/1.101, allocations: 1.239 MB / 1.239 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/1.101, allocations: 4 kB / 1.239 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005938/1.101, allocations: 84.78 kB / 1.239 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002308/1.104, allocations: 463.3 kB / 1.239 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/1.106, allocations: 2.145 MB / 1.241 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002949/1.109, allocations: 346.4 kB / 1.242 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002672/1.109, allocations: 67.97 kB / 1.242 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/1.109, allocations: 4 kB / 1.242 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005754/1.115, allocations: 2.158 MB / 1.244 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/1.115, allocations: 4 kB / 1.244 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005635/1.115, allocations: 89.23 kB / 1.244 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/1.118, allocations: 443.4 kB / 1.244 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002011/1.12, allocations: 1.552 MB / 1.246 GB, free: 5.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002835/1.122, allocations: 341.4 kB / 1.246 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/1.123, allocations: 67.95 kB / 1.246 GB, free: 5.539 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,chi.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 184 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001424/1.124, allocations: 0.603 MB / 1.247 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006526/1.125, allocations: 233.2 kB / 1.247 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006735/1.132, allocations: 2.71 MB / 1.25 GB, free: 1.965 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/1.132, allocations: 19.95 kB / 1.25 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/1.132, allocations: 4 kB / 1.25 GB, free: 1.941 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005287/1.137, allocations: 2.351 MB / 1.252 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/1.149, allocations: 5.261 MB / 1.257 GB, free: 10.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/1.149, allocations: 4 kB / 1.257 GB, free: 10.09 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002329/1.152, allocations: 455.9 kB / 1.258 GB, free: 9.645 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005652/1.152, allocations: 88.78 kB / 1.258 GB, free: 9.555 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001992/1.153, allocations: 55.95 kB / 1.258 GB, free: 9.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002358/1.155, allocations: 2.165 MB / 1.26 GB, free: 7.172 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/1.155, allocations: 4 kB / 1.26 GB, free: 7.168 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009875/1.165, allocations: 4.142 MB / 1.264 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002785/1.168, allocations: 0.5796 MB / 1.265 GB, free: 2.254 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008822/1.169, allocations: 36 kB / 1.265 GB, free: 2.219 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002973/1.172, allocations: 267.5 kB / 1.265 GB, free: 1.957 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003409/1.172, allocations: 141.4 kB / 1.265 GB, free: 1.816 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002869/1.172, allocations: 71.95 kB / 1.265 GB, free: 1.746 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002712/1.175, allocations: 1.229 MB / 1.266 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.6e-07/1.175, allocations: 4 kB / 1.266 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005587/1.181, allocations: 1.278 MB / 1.268 GB, free: 15.21 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 4 (chi.vol1.dynBal.U,chi.vol1.dynBal.m,chi.vol1.dynBal.mXi[1],chi.vol2.dynBal.U) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,pulse.T_start,pulse.count,weaDat.conTimMin.tNext,weaDat.conTim.tNext,chi.on) * Number of discrete states: 3 (pulse.count,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00268/1.183, allocations: 0.8874 MB / 1.268 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.009778/1.193, allocations: 3.589 MB / 1.272 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.193, allocations: 0 / 1.272 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00338/1.197, allocations: 1.299 MB / 1.273 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005957/1.203, allocations: 1.075 MB / 1.274 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/1.214, allocations: 5.669 MB / 1.28 GB, free: 2.672 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001825/1.216, allocations: 1.715 MB / 1.281 GB, free: 0.9219 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.004263/1.22, allocations: 0.7748 MB / 1.282 GB, free: 148 kB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008784/1.221, allocations: 215.3 kB / 1.282 GB, free: 15.93 MB / 0.823 GB Notification: Performance of SimCode: time 1.483e-06/1.221, allocations: 0 / 1.282 GB, free: 15.93 MB / 0.823 GB Notification: Performance of Templates: time 0.07812/1.3, allocations: 44.73 MB / 1.326 GB, free: 3.594 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1)