Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_10_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.001604/0.001604, allocations: 110.8 kB / 16.42 MB, free: 6.496 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.001687/0.001687, allocations: 188.3 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.62/2.62, allocations: 437 MB / 0.7112 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 63.89 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181/1.183, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled): time 0.2579/1.441, allocations: 228 MB / 1.39 GB, free: 15.06 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0332/1.474, allocations: 20.74 MB / 1.41 GB, free: 10.26 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00411/1.478, allocations: 83.5 kB / 1.41 GB, free: 10.18 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00428/1.483, allocations: 1.362 MB / 1.412 GB, free: 8.809 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01048/1.493, allocations: 3.552 MB / 1.415 GB, free: 5.246 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.007429/1.501, allocations: 2.606 MB / 1.418 GB, free: 2.656 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.009779/1.51, allocations: 6.099 MB / 1.424 GB, free: 12.54 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005208/1.516, allocations: 2.571 MB / 1.426 GB, free: 9.895 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006859/1.523, allocations: 2.539 MB / 1.429 GB, free: 7.363 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003765/1.526, allocations: 1.883 MB / 1.43 GB, free: 5.477 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001114/1.527, allocations: 288 kB / 1.431 GB, free: 5.195 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006963/1.534, allocations: 2.909 MB / 1.434 GB, free: 2.281 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001475/1.536, allocations: 0.8723 MB / 1.434 GB, free: 1.406 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.003287/1.539, allocations: 1.629 MB / 1.436 GB, free: 15.77 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01155/1.551, allocations: 5.141 MB / 1.441 GB, free: 10.61 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/1.551, allocations: 0 / 1.441 GB, free: 10.61 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.033e-06/1.551, allocations: 0 / 1.441 GB, free: 10.61 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0002135/1.551, allocations: 0 / 1.441 GB, free: 10.61 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 497 * Number of variables: 497 Notification: Performance of Generate backend data structure: time 0.0123/1.563, allocations: 3.608 MB / 1.445 GB, free: 6.926 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/1.563, allocations: 8.031 kB / 1.445 GB, free: 6.918 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00726/1.571, allocations: 0.9563 MB / 1.445 GB, free: 5.957 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004998/1.576, allocations: 2.109 MB / 1.448 GB, free: 3.773 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003053/1.576, allocations: 219.2 kB / 1.448 GB, free: 3.547 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006818/1.577, allocations: 203.9 kB / 1.448 GB, free: 3.348 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006931/1.584, allocations: 2.503 MB / 1.45 GB, free: 0.7891 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.854e-05/1.584, allocations: 0 / 1.45 GB, free: 0.7891 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004015/1.584, allocations: 87.94 kB / 1.45 GB, free: 0.7031 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.873e-05/1.584, allocations: 79.8 kB / 1.451 GB, free: 0.625 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00711/1.591, allocations: 2.763 MB / 1.453 GB, free: 13.85 MB / 1.186 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.01756/1.609, allocations: 9.176 MB / 1.462 GB, free: 4.191 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007655/1.617, allocations: 2.381 MB / 1.465 GB, free: 1.773 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002532/1.619, allocations: 1.047 MB / 1.466 GB, free: 0.7227 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008787/1.62, allocations: 0.8753 MB / 1.466 GB, free: 15.66 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003242/1.623, allocations: 1.312 MB / 1.468 GB, free: 14.33 MB / 1.201 GB Notification: Performance of pre-optimization done (n=171): time 5.44e-06/1.624, allocations: 0 / 1.468 GB, free: 14.33 MB / 1.201 GB Notification: Performance of matching and sorting (n=171): time 0.009961/1.633, allocations: 3.251 MB / 1.471 GB, free: 11.05 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/1.634, allocations: 201.9 kB / 1.471 GB, free: 10.81 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003388/1.637, allocations: 1.895 MB / 1.473 GB, free: 8.887 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002543/1.637, allocations: 65.7 kB / 1.473 GB, free: 8.816 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001081/1.638, allocations: 1.045 MB / 1.474 GB, free: 7.758 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006171/1.639, allocations: 0.5622 MB / 1.475 GB, free: 7.188 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007145/1.64, allocations: 355.2 kB / 1.475 GB, free: 6.836 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001014/1.64, allocations: 305.1 kB / 1.475 GB, free: 6.535 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002419/1.642, allocations: 0.8948 MB / 1.476 GB, free: 5.637 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002737/1.645, allocations: 1.201 MB / 1.477 GB, free: 4.344 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004875/1.65, allocations: 1.97 MB / 1.479 GB, free: 2.328 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.65, allocations: 0 / 1.479 GB, free: 2.328 MB / 1.201 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.00684/1.657, allocations: 2.469 MB / 1.482 GB, free: 15.84 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 6.123e-05/1.657, allocations: 37.7 kB / 1.482 GB, free: 15.8 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/1.657, allocations: 11.88 kB / 1.482 GB, free: 15.79 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007022/1.658, allocations: 92.97 kB / 1.482 GB, free: 15.69 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002557/1.66, allocations: 471.3 kB / 1.482 GB, free: 15.23 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/1.663, allocations: 2.242 MB / 1.484 GB, free: 12.82 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003647/1.667, allocations: 282.6 kB / 1.485 GB, free: 12.55 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003686/1.667, allocations: 75.94 kB / 1.485 GB, free: 12.47 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004679/1.672, allocations: 1.331 MB / 1.486 GB, free: 11.14 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003097/1.675, allocations: 1.201 MB / 1.487 GB, free: 9.852 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005056/1.68, allocations: 1.954 MB / 1.489 GB, free: 7.852 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.795e-06/1.68, allocations: 0 / 1.489 GB, free: 7.852 MB / 1.217 GB Notification: Performance of matching and sorting (n=214) (initialization_lambda0): time 0.007087/1.687, allocations: 2.473 MB / 1.491 GB, free: 5.359 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/1.687, allocations: 33.86 kB / 1.491 GB, free: 5.32 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.687, allocations: 8 kB / 1.491 GB, free: 5.312 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000579/1.688, allocations: 88.77 kB / 1.492 GB, free: 5.223 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002248/1.69, allocations: 455.4 kB / 1.492 GB, free: 4.777 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/1.692, allocations: 1.646 MB / 1.494 GB, free: 2.98 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00295/1.695, allocations: 264.1 kB / 1.494 GB, free: 2.723 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002294/1.695, allocations: 87.83 kB / 1.494 GB, free: 2.637 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 24 (chi.tru.y,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,chi.on,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (210): * Single equations (assignments): 206 * 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.0006818/1.696, allocations: 294.3 kB / 1.494 GB, free: 2.344 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009462/1.697, allocations: 241.1 kB / 1.494 GB, free: 2.105 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007503/1.705, allocations: 2.754 MB / 1.497 GB, free: 15.32 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005518/1.71, allocations: 2.406 MB / 1.5 GB, free: 12.83 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/1.71, allocations: 0 / 1.5 GB, free: 12.83 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001619/1.712, allocations: 0.5639 MB / 1.5 GB, free: 12.24 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007389/1.713, allocations: 39.98 kB / 1.5 GB, free: 12.2 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002534/1.715, allocations: 195.6 kB / 1.5 GB, free: 12.01 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003018/1.715, allocations: 129.8 kB / 1.5 GB, free: 11.88 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007535/1.723, allocations: 2.546 MB / 1.503 GB, free: 9.328 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008852/1.732, allocations: 3.777 MB / 1.507 GB, free: 5.531 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002523/1.734, allocations: 1.07 MB / 1.508 GB, free: 4.465 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002603/1.737, allocations: 1.282 MB / 1.509 GB, free: 3.168 MB / 1.232 GB Notification: Performance of Backend: time 6.51e-07/1.737, allocations: 0 / 1.509 GB, free: 3.168 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01393/1.751, allocations: 4.158 MB / 1.513 GB, free: 15.15 MB / 1.248 GB Notification: Performance of SimCode: time 0.01294/1.764, allocations: 5.236 MB / 1.518 GB, free: 9.883 MB / 1.248 GB Notification: Performance of Templates: time 0.8634/2.627, allocations: 64.64 MB / 1.581 GB, free: 370.1 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1)