Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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.001207/0.001207, allocations: 108.4 kB / 16.41 MB, free: 6.395 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.001225/0.001225, allocations: 189.1 kB / 17.34 MB, free: 5.836 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.663/2.663, allocations: 472.7 MB / 0.746 GB, free: 468 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 67.89 kB / 1.07 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.015, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled): time 0.2765/1.292, allocations: 228 MB / 1.449 GB, free: 8.699 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0364/1.328, allocations: 20.75 MB / 1.469 GB, free: 3.895 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004752/1.333, allocations: 87.5 kB / 1.469 GB, free: 3.809 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.005471/1.339, allocations: 1.359 MB / 1.471 GB, free: 2.441 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01366/1.353, allocations: 3.564 MB / 1.474 GB, free: 14.87 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.009215/1.362, allocations: 2.604 MB / 1.477 GB, free: 12.28 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01114/1.373, allocations: 6.102 MB / 1.483 GB, free: 6.156 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005504/1.378, allocations: 2.555 MB / 1.485 GB, free: 3.531 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00756/1.386, allocations: 2.541 MB / 1.488 GB, free: 0.9961 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004601/1.391, allocations: 1.882 MB / 1.489 GB, free: 15.11 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0009257/1.392, allocations: 291.9 kB / 1.49 GB, free: 14.82 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00895/1.401, allocations: 2.909 MB / 1.493 GB, free: 11.91 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.00188/1.403, allocations: 0.8684 MB / 1.493 GB, free: 11.04 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.00454/1.407, allocations: 1.621 MB / 1.495 GB, free: 9.41 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01321/1.42, allocations: 5.169 MB / 1.5 GB, free: 4.223 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/1.42, allocations: 0 / 1.5 GB, free: 4.223 MB / 1.217 GB Notification: Performance of FrontEnd: time 3.376e-06/1.42, allocations: 3.984 kB / 1.5 GB, free: 4.219 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001981/1.421, allocations: 0 / 1.5 GB, free: 4.219 MB / 1.217 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.01077/1.431, allocations: 3.705 MB / 1.504 GB, free: 440 kB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/1.431, allocations: 8.031 kB / 1.504 GB, free: 432 kB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006913/1.438, allocations: 0.9776 MB / 1.505 GB, free: 15.44 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005482/1.444, allocations: 2.131 MB / 1.507 GB, free: 13.23 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002928/1.444, allocations: 227.2 kB / 1.507 GB, free: 13 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004657/1.445, allocations: 200 kB / 1.507 GB, free: 12.8 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005925/1.451, allocations: 2.495 MB / 1.51 GB, free: 10.25 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.942e-05/1.451, allocations: 3.984 kB / 1.51 GB, free: 10.25 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002357/1.451, allocations: 84 kB / 1.51 GB, free: 10.17 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.009e-05/1.451, allocations: 71.81 kB / 1.51 GB, free: 10.1 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006739/1.458, allocations: 2.759 MB / 1.512 GB, free: 7.336 MB / 1.232 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.01623/1.474, allocations: 9.194 MB / 1.521 GB, free: 13.66 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007431/1.482, allocations: 2.397 MB / 1.524 GB, free: 11.22 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002737/1.484, allocations: 1.039 MB / 1.525 GB, free: 10.18 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/1.485, allocations: 0.8792 MB / 1.526 GB, free: 9.113 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00335/1.489, allocations: 1.308 MB / 1.527 GB, free: 7.789 MB / 1.248 GB Notification: Performance of pre-optimization done (n=171): time 5.28e-06/1.489, allocations: 0 / 1.527 GB, free: 7.789 MB / 1.248 GB Notification: Performance of matching and sorting (n=171): time 0.009696/1.498, allocations: 3.268 MB / 1.53 GB, free: 4.496 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/1.499, allocations: 201.9 kB / 1.53 GB, free: 4.254 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003126/1.502, allocations: 1.888 MB / 1.532 GB, free: 2.336 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0004293/1.502, allocations: 65.7 kB / 1.532 GB, free: 2.266 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001086/1.503, allocations: 1.062 MB / 1.533 GB, free: 1.191 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007939/1.504, allocations: 0.5848 MB / 1.534 GB, free: 0.6016 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006373/1.505, allocations: 359.2 kB / 1.534 GB, free: 252 kB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.505, allocations: 305.1 kB / 1.534 GB, free: 15.95 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002391/1.507, allocations: 0.9065 MB / 1.535 GB, free: 15.04 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002736/1.51, allocations: 1.206 MB / 1.536 GB, free: 13.74 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004979/1.515, allocations: 1.962 MB / 1.538 GB, free: 11.73 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/1.515, allocations: 0 / 1.538 GB, free: 11.73 MB / 1.264 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.007034/1.522, allocations: 2.486 MB / 1.541 GB, free: 9.227 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 5.477e-05/1.522, allocations: 37.69 kB / 1.541 GB, free: 9.184 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/1.522, allocations: 11.94 kB / 1.541 GB, free: 9.172 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006767/1.523, allocations: 88.94 kB / 1.541 GB, free: 9.082 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002463/1.525, allocations: 467.3 kB / 1.541 GB, free: 8.625 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/1.528, allocations: 2.244 MB / 1.544 GB, free: 6.215 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003037/1.531, allocations: 300.4 kB / 1.544 GB, free: 5.922 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002755/1.532, allocations: 75.89 kB / 1.544 GB, free: 5.848 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003528/1.535, allocations: 1.331 MB / 1.545 GB, free: 4.512 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002715/1.538, allocations: 1.205 MB / 1.546 GB, free: 3.223 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004804/1.543, allocations: 1.954 MB / 1.548 GB, free: 1.223 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.62e-06/1.543, allocations: 0 / 1.548 GB, free: 1.223 MB / 1.264 GB Notification: Performance of matching and sorting (n=214) (initialization_lambda0): time 0.00685/1.55, allocations: 2.482 MB / 1.551 GB, free: 14.72 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.284e-05/1.55, allocations: 33.64 kB / 1.551 GB, free: 14.68 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/1.55, allocations: 7.984 kB / 1.551 GB, free: 14.67 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006131/1.55, allocations: 89 kB / 1.551 GB, free: 14.58 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/1.553, allocations: 459.4 kB / 1.551 GB, free: 14.13 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/1.555, allocations: 1.646 MB / 1.553 GB, free: 12.34 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003097/1.558, allocations: 271 kB / 1.553 GB, free: 12.07 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003052/1.558, allocations: 83.89 kB / 1.553 GB, free: 11.99 MB / 1.279 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.0006591/1.559, allocations: 286.4 kB / 1.554 GB, free: 11.7 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007301/1.56, allocations: 254.4 kB / 1.554 GB, free: 11.45 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007089/1.567, allocations: 2.762 MB / 1.556 GB, free: 8.664 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005505/1.573, allocations: 2.402 MB / 1.559 GB, free: 6.176 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/1.573, allocations: 0 / 1.559 GB, free: 6.176 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/1.574, allocations: 0.5731 MB / 1.559 GB, free: 5.582 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004693/1.575, allocations: 39.89 kB / 1.559 GB, free: 5.543 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/1.577, allocations: 199.4 kB / 1.56 GB, free: 5.352 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002974/1.577, allocations: 133.8 kB / 1.56 GB, free: 5.219 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007115/1.584, allocations: 2.546 MB / 1.562 GB, free: 2.66 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.7635/2.348, allocations: 3.774 MB / 1.566 GB, free: 330.9 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003397/2.351, allocations: 1.067 MB / 1.567 GB, free: 330.7 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002949/2.354, allocations: 1.287 MB / 1.568 GB, free: 330.2 MB / 1.279 GB Notification: Performance of Backend: time 8.72e-07/2.354, allocations: 3.188 kB / 1.568 GB, free: 330.2 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01249/2.367, allocations: 4.168 MB / 1.572 GB, free: 329 MB / 1.279 GB Notification: Performance of SimCode: time 0.01021/2.377, allocations: 5.318 MB / 1.577 GB, free: 326.4 MB / 1.279 GB Notification: Performance of Templates: time 0.09843/2.475, allocations: 64.65 MB / 1.641 GB, free: 275.3 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1)