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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001314/0.001314, allocations: 111.8 kB / 16.42 MB, free: 6.457 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.001435/0.001435, allocations: 190.7 kB / 17.35 MB, free: 5.719 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.481/1.481, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.831/2.831, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 68.11 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9817/0.9833, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled): time 0.2813/1.265, allocations: 228 MB / 1.431 GB, free: 8.793 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03482/1.3, allocations: 20.74 MB / 1.451 GB, free: 3.996 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005162/1.305, allocations: 83.5 kB / 1.451 GB, free: 3.914 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005294/1.31, allocations: 1.323 MB / 1.453 GB, free: 2.582 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01289/1.323, allocations: 3.42 MB / 1.456 GB, free: 15.15 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.008315/1.331, allocations: 2.605 MB / 1.459 GB, free: 12.56 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01199/1.343, allocations: 6.084 MB / 1.465 GB, free: 6.457 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007332/1.351, allocations: 2.555 MB / 1.467 GB, free: 3.836 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009506/1.36, allocations: 2.524 MB / 1.469 GB, free: 1.32 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005012/1.365, allocations: 1.869 MB / 1.471 GB, free: 15.45 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.001186/1.367, allocations: 292 kB / 1.472 GB, free: 15.16 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009093/1.376, allocations: 2.905 MB / 1.474 GB, free: 12.25 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001582/1.377, allocations: 0.8723 MB / 1.475 GB, free: 11.38 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.003113/1.38, allocations: 1.621 MB / 1.477 GB, free: 9.746 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01312/1.394, allocations: 5.149 MB / 1.482 GB, free: 4.582 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/1.394, allocations: 0 / 1.482 GB, free: 4.582 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.124e-06/1.394, allocations: 0 / 1.482 GB, free: 4.582 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001246/1.394, allocations: 0 / 1.482 GB, free: 4.582 MB / 1.201 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.01261/1.406, allocations: 3.604 MB / 1.485 GB, free: 0.8984 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/1.407, allocations: 8.031 kB / 1.485 GB, free: 0.8906 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007401/1.414, allocations: 0.9681 MB / 1.486 GB, free: 15.91 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006006/1.42, allocations: 2.097 MB / 1.488 GB, free: 13.74 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003461/1.42, allocations: 231.2 kB / 1.489 GB, free: 13.5 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007378/1.421, allocations: 203.9 kB / 1.489 GB, free: 13.3 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007542/1.429, allocations: 2.491 MB / 1.491 GB, free: 10.76 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.221e-05/1.429, allocations: 7.938 kB / 1.491 GB, free: 10.75 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005159/1.429, allocations: 87.94 kB / 1.491 GB, free: 10.66 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/1.429, allocations: 79.78 kB / 1.491 GB, free: 10.59 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007389/1.437, allocations: 2.759 MB / 1.494 GB, free: 7.824 MB / 1.217 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.0185/1.455, allocations: 9.172 MB / 1.503 GB, free: 14.16 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007732/1.463, allocations: 2.385 MB / 1.505 GB, free: 11.74 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002691/1.466, allocations: 1.036 MB / 1.506 GB, free: 10.7 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009982/1.467, allocations: 0.887 MB / 1.507 GB, free: 9.629 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003376/1.47, allocations: 1.304 MB / 1.509 GB, free: 8.305 MB / 1.232 GB Notification: Performance of pre-optimization done (n=171): time 7.264e-06/1.47, allocations: 0 / 1.509 GB, free: 8.305 MB / 1.232 GB Notification: Performance of matching and sorting (n=171): time 0.01026/1.481, allocations: 3.255 MB / 1.512 GB, free: 5.023 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/1.481, allocations: 201.9 kB / 1.512 GB, free: 4.785 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004047/1.485, allocations: 1.892 MB / 1.514 GB, free: 2.863 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.000464/1.485, allocations: 69.7 kB / 1.514 GB, free: 2.789 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.00127/1.487, allocations: 1.045 MB / 1.515 GB, free: 1.73 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009152/1.488, allocations: 0.5661 MB / 1.515 GB, free: 1.156 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009553/1.488, allocations: 351.2 kB / 1.516 GB, free: 0.8047 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.489, allocations: 301.1 kB / 1.516 GB, free: 0.5078 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002548/1.491, allocations: 0.9025 MB / 1.517 GB, free: 15.6 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002767/1.494, allocations: 1.21 MB / 1.518 GB, free: 14.3 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004986/1.499, allocations: 1.966 MB / 1.52 GB, free: 12.29 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/1.499, allocations: 0 / 1.52 GB, free: 12.29 MB / 1.248 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.007283/1.506, allocations: 2.473 MB / 1.522 GB, free: 9.797 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 5.761e-05/1.506, allocations: 29.92 kB / 1.522 GB, free: 9.762 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/1.506, allocations: 11.94 kB / 1.522 GB, free: 9.75 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000633/1.507, allocations: 88.77 kB / 1.523 GB, free: 9.66 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/1.51, allocations: 479.3 kB / 1.523 GB, free: 9.191 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002946/1.513, allocations: 2.24 MB / 1.525 GB, free: 6.781 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003194/1.516, allocations: 282.4 kB / 1.525 GB, free: 6.504 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003611/1.516, allocations: 79.95 kB / 1.526 GB, free: 6.426 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003815/1.52, allocations: 1.328 MB / 1.527 GB, free: 5.094 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002864/1.523, allocations: 1.201 MB / 1.528 GB, free: 3.805 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005536/1.528, allocations: 1.962 MB / 1.53 GB, free: 1.797 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.148e-05/1.528, allocations: 4 kB / 1.53 GB, free: 1.793 MB / 1.248 GB Notification: Performance of matching and sorting (n=214) (initialization_lambda0): time 0.007416/1.536, allocations: 2.465 MB / 1.532 GB, free: 15.31 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 5.089e-05/1.536, allocations: 39.52 kB / 1.532 GB, free: 15.27 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.536, allocations: 4 kB / 1.532 GB, free: 15.26 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000572/1.537, allocations: 88.89 kB / 1.532 GB, free: 15.17 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/1.539, allocations: 455.4 kB / 1.533 GB, free: 14.73 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/1.541, allocations: 1.657 MB / 1.535 GB, free: 12.93 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003088/1.544, allocations: 270.7 kB / 1.535 GB, free: 12.66 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003333/1.544, allocations: 75.89 kB / 1.535 GB, free: 12.59 MB / 1.264 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.0007714/1.545, allocations: 298.1 kB / 1.535 GB, free: 12.29 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009358/1.546, allocations: 237.1 kB / 1.535 GB, free: 12.06 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007538/1.554, allocations: 2.758 MB / 1.538 GB, free: 9.273 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005682/1.559, allocations: 2.402 MB / 1.54 GB, free: 6.785 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/1.559, allocations: 48 / 1.54 GB, free: 6.785 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001601/1.561, allocations: 0.5678 MB / 1.541 GB, free: 6.195 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007279/1.562, allocations: 35.98 kB / 1.541 GB, free: 6.16 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002566/1.564, allocations: 202.1 kB / 1.541 GB, free: 5.965 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003134/1.565, allocations: 129.8 kB / 1.541 GB, free: 5.84 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007932/1.573, allocations: 2.542 MB / 1.544 GB, free: 3.281 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009047/1.582, allocations: 3.773 MB / 1.547 GB, free: 15.49 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00254/1.584, allocations: 1.066 MB / 1.549 GB, free: 14.43 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002479/1.587, allocations: 1.29 MB / 1.55 GB, free: 13.12 MB / 1.279 GB Notification: Performance of Backend: time 6.01e-07/1.587, allocations: 3.938 kB / 1.55 GB, free: 13.12 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01403/1.601, allocations: 4.138 MB / 1.554 GB, free: 9.18 MB / 1.279 GB Notification: Performance of SimCode: time 0.01393/1.615, allocations: 5.245 MB / 1.559 GB, free: 3.906 MB / 1.279 GB Notification: Performance of Templates: time 0.7826/2.398, allocations: 64.64 MB / 1.622 GB, free: 304.8 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)