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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001197/0.001197, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001494/0.001494, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.947/2.947, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003985, allocations: 10.12 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3935, allocations: 159.6 MB / 1.058 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled): time 1.005/1.399, allocations: 207.9 MB / 1.261 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02814/1.427, allocations: 19.34 MB / 1.28 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006276/1.433, allocations: 78.48 kB / 1.28 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00538/1.439, allocations: 0.9339 MB / 1.281 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01369/1.453, allocations: 2.634 MB / 1.283 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008722/1.461, allocations: 1.919 MB / 1.285 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01448/1.476, allocations: 6.502 MB / 1.292 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004484/1.48, allocations: 1.888 MB / 1.294 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006581/1.487, allocations: 1.95 MB / 1.295 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004988/1.492, allocations: 1.647 MB / 1.297 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001007/1.493, allocations: 94.41 kB / 1.297 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008849/1.502, allocations: 1.79 MB / 1.299 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001475/1.503, allocations: 0.6426 MB / 1.3 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002214/1.506, allocations: 0.5784 MB / 1.3 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008535/1.514, allocations: 3.634 MB / 1.304 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/1.514, allocations: 0.9688 kB / 1.304 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.116e-06/1.514, allocations: 4 kB / 1.304 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001924/1.514, allocations: 0 / 1.304 GB, free: 12.91 MB / 0.9981 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.009997/1.524, allocations: 3.07 MB / 1.307 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/1.525, allocations: 9.25 kB / 1.307 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007236/1.532, allocations: 0.9972 MB / 1.308 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006043/1.538, allocations: 1.939 MB / 1.309 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002974/1.538, allocations: 225.6 kB / 1.31 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003899/1.539, allocations: 202.8 kB / 1.31 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005774/1.544, allocations: 2.501 MB / 1.312 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.4e-05/1.544, allocations: 1.25 kB / 1.312 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002121/1.545, allocations: 94.67 kB / 1.312 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.561e-05/1.545, allocations: 75.41 kB / 1.313 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00562/1.55, allocations: 2.811 MB / 1.315 GB, free: 10.3 MB / 0.9981 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.01391/1.564, allocations: 9.264 MB / 1.324 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006112/1.57, allocations: 2.451 MB / 1.327 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002188/1.573, allocations: 1.078 MB / 1.328 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006501/1.573, allocations: 0.8797 MB / 1.329 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002819/1.576, allocations: 1.339 MB / 1.33 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=171): time 4.278e-06/1.576, allocations: 0 / 1.33 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of matching and sorting (n=171): time 0.008715/1.585, allocations: 3.338 MB / 1.333 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.527e-05/1.585, allocations: 207.8 kB / 1.333 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002892/1.588, allocations: 1.864 MB / 1.335 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002726/1.588, allocations: 70.41 kB / 1.335 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008491/1.589, allocations: 1.053 MB / 1.336 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005355/1.59, allocations: 0.5653 MB / 1.337 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/1.59, allocations: 33.03 kB / 1.337 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001118/1.59, allocations: 368.1 kB / 1.337 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002055/1.592, allocations: 0.9093 MB / 1.338 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002278/1.594, allocations: 1.233 MB / 1.339 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/1.596, allocations: 1.015 MB / 1.34 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1.596, allocations: 0 / 1.34 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.005895/1.602, allocations: 2.52 MB / 1.343 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/1.602, allocations: 222.7 kB / 1.343 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/1.602, allocations: 3.219 kB / 1.343 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000562/1.603, allocations: 94.45 kB / 1.343 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/1.605, allocations: 487.3 kB / 1.344 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/1.607, allocations: 2.134 MB / 1.346 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003358/1.611, allocations: 372.8 kB / 1.346 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/1.611, allocations: 82.16 kB / 1.346 GB, free: 15.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/1.611, allocations: 6.812 kB / 1.346 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005033/1.616, allocations: 2.295 MB / 1.348 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/1.616, allocations: 3.312 kB / 1.348 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004867/1.616, allocations: 100.2 kB / 1.348 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/1.618, allocations: 478.4 kB / 1.349 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/1.62, allocations: 1.545 MB / 1.35 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003035/1.623, allocations: 368.7 kB / 1.351 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/1.623, allocations: 78.98 kB / 1.351 GB, free: 13.34 MB / 1.014 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,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,chi.on,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (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.001551/1.625, allocations: 0.616 MB / 1.351 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004793/1.625, allocations: 243.3 kB / 1.352 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005962/1.631, allocations: 2.83 MB / 1.354 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/1.631, allocations: 25.05 kB / 1.354 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/1.631, allocations: 1.969 kB / 1.354 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004671/1.636, allocations: 2.451 MB / 1.357 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/1.646, allocations: 5.46 MB / 1.362 GB, free: 9.578 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/1.646, allocations: 13.08 kB / 1.362 GB, free: 9.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001988/1.648, allocations: 446.8 kB / 1.363 GB, free: 9.484 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004621/1.649, allocations: 97.3 kB / 1.363 GB, free: 9.449 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/1.649, allocations: 54.39 kB / 1.363 GB, free: 9.438 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/1.651, allocations: 2.155 MB / 1.365 GB, free: 7.484 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/1.651, allocations: 10.23 kB / 1.365 GB, free: 7.48 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008637/1.66, allocations: 3.935 MB / 1.369 GB, free: 6.457 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0018/1.662, allocations: 0.6064 MB / 1.369 GB, free: 6.102 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003511/1.662, allocations: 46.06 kB / 1.369 GB, free: 6.098 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002116/1.664, allocations: 277.9 kB / 1.37 GB, free: 6.004 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003319/1.664, allocations: 147.4 kB / 1.37 GB, free: 5.945 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001844/1.665, allocations: 80.78 kB / 1.37 GB, free: 5.93 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002358/1.667, allocations: 1.282 MB / 1.371 GB, free: 5.578 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.886e-06/1.667, allocations: 0 / 1.371 GB, free: 5.578 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004836/1.672, allocations: 1.381 MB / 1.372 GB, free: 5.371 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (chi.vol1.dynBal.medium.Xi[1],chi.vol1.dynBal.U,chi.vol1.dynBal.m,chi.vol2.dynBal.U) * Number of discrete variables: 14 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pulse.T_start,pulse.count,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,chi.on) * Number of discrete states: 6 (pulse.count,weaDat.conTimMin.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (183): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 7 * 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.002231/1.674, allocations: 0.913 MB / 1.373 GB, free: 5.027 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008605/1.683, allocations: 3.816 MB / 1.377 GB, free: 2.723 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/1.683, allocations: 3.25 kB / 1.377 GB, free: 2.723 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002909/1.686, allocations: 1.365 MB / 1.378 GB, free: 1.715 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005339/1.691, allocations: 1.113 MB / 1.379 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/1.702, allocations: 5.913 MB / 1.385 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/1.703, allocations: 1.702 MB / 1.387 GB, free: 9.715 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.004394/1.708, allocations: 0.7919 MB / 1.388 GB, free: 8.918 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007545/1.708, allocations: 234.2 kB / 1.388 GB, free: 8.707 MB / 1.029 GB Notification: Performance of SimCode: time 1.062e-06/1.708, allocations: 0 / 1.388 GB, free: 8.707 MB / 1.029 GB Notification: Performance of Templates: time 0.08997/1.798, allocations: 46.56 MB / 1.433 GB, free: 10.89 MB / 1.076 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)