Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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_maint.7.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.7.0.x_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.001524/0.001524, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001841/0.00184, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.534/1.534, allocations: 251.9 MB / 0.51 GB, free: 4.824 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005569/0.0005572, allocations: 19.94 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7236/0.7242, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled): time 0.8112/1.535, allocations: 189.1 MB / 0.9126 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02896/1.564, allocations: 17.83 MB / 0.93 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004643/1.569, allocations: 67.56 kB / 0.9301 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005277/1.574, allocations: 1.122 MB / 0.9312 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01562/1.59, allocations: 3.12 MB / 0.9342 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009928/1.6, allocations: 2.239 MB / 0.9364 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009856/1.61, allocations: 3.5 MB / 0.9398 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004322/1.614, allocations: 1.879 MB / 0.9417 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005541/1.62, allocations: 1.725 MB / 0.9434 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003805/1.624, allocations: 1.171 MB / 0.9445 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008187/1.625, allocations: 88.09 kB / 0.9446 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006983/1.632, allocations: 1.551 MB / 0.9461 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001357/1.633, allocations: 0.597 MB / 0.9467 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001555/1.635, allocations: 0.552 MB / 0.9472 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00647/1.641, allocations: 3.351 MB / 0.9505 GB, free: 11 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.641, allocations: 0 / 0.9505 GB, free: 11 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.717e-06/1.641, allocations: 7.094 kB / 0.9505 GB, free: 11 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001253/1.641, allocations: 0 / 0.9505 GB, free: 11 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.007595/1.649, allocations: 2.9 MB / 0.9533 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/1.649, allocations: 12.45 kB / 0.9533 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006839/1.656, allocations: 1.034 MB / 0.9544 GB, free: 9.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004953/1.661, allocations: 1.826 MB / 0.9561 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002366/1.661, allocations: 217.2 kB / 0.9563 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004485/1.661, allocations: 195.6 kB / 0.9565 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005688/1.667, allocations: 2.408 MB / 0.9589 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.142e-05/1.667, allocations: 3.125 kB / 0.9589 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000231/1.667, allocations: 79.86 kB / 0.959 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.109e-05/1.667, allocations: 70.97 kB / 0.959 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006184/1.674, allocations: 2.732 MB / 0.9617 GB, free: 8.48 MB / 0.7169 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.01423/1.688, allocations: 8.731 MB / 0.9702 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006479/1.694, allocations: 2.347 MB / 0.9725 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005192/1.695, allocations: 0.7079 MB / 0.9732 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002553/1.698, allocations: 1.246 MB / 0.9744 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=161): time 4.258e-06/1.698, allocations: 0 / 0.9744 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=161): time 0.00876/1.706, allocations: 3.165 MB / 0.9775 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.475e-05/1.706, allocations: 202.3 kB / 0.9777 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002759/1.709, allocations: 1.789 MB / 0.9795 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002791/1.71, allocations: 64.61 kB / 0.9795 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007507/1.71, allocations: 1.033 MB / 0.9805 GB, free: 408 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004532/1.711, allocations: 0.5311 MB / 0.981 GB, free: 12 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.13e-05/1.711, allocations: 27.09 kB / 0.9811 GB, free: 12 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002136/1.711, allocations: 370.4 kB / 0.9814 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/1.713, allocations: 0.8514 MB / 0.9823 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002279/1.715, allocations: 1.173 MB / 0.9834 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/1.718, allocations: 0.9578 MB / 0.9843 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.718, allocations: 0 / 0.9843 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.005743/1.723, allocations: 2.372 MB / 0.9867 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005491/1.724, allocations: 1.234 MB / 0.9879 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/1.724, allocations: 3.219 kB / 0.9879 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006289/1.725, allocations: 96.56 kB / 0.988 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/1.727, allocations: 460.4 kB / 0.9884 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00281/1.73, allocations: 2.14 MB / 0.9905 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003419/1.733, allocations: 352 kB / 0.9908 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002117/1.733, allocations: 73.45 kB / 0.9909 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/1.733, allocations: 4.5 kB / 0.9909 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005276/1.739, allocations: 2.145 MB / 0.993 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/1.739, allocations: 5.828 kB / 0.993 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005318/1.739, allocations: 94.64 kB / 0.9931 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/1.741, allocations: 442 kB / 0.9935 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/1.743, allocations: 1.55 MB / 0.995 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/1.746, allocations: 335.7 kB / 0.9953 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/1.747, allocations: 65.91 kB / 0.9954 GB, free: 8.715 MB / 0.7325 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.001804/1.749, allocations: 0.6047 MB / 0.996 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006742/1.749, allocations: 238.8 kB / 0.9962 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006244/1.755, allocations: 2.696 MB / 0.9988 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-05/1.755, allocations: 19.81 kB / 0.9989 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.756, allocations: 0 / 0.9989 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004991/1.761, allocations: 2.357 MB / 1.001 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/1.772, allocations: 5.266 MB / 1.006 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/1.772, allocations: 4 kB / 1.006 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002146/1.774, allocations: 444.9 kB / 1.007 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005148/1.775, allocations: 97.42 kB / 1.007 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/1.775, allocations: 53.41 kB / 1.007 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002215/1.777, allocations: 2.175 MB / 1.009 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/1.777, allocations: 6.906 kB / 1.009 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/1.787, allocations: 4.128 MB / 1.013 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002545/1.79, allocations: 0.5837 MB / 1.014 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004145/1.79, allocations: 37.36 kB / 1.014 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002313/1.793, allocations: 267.3 kB / 1.014 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003031/1.793, allocations: 143.6 kB / 1.014 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000172/1.793, allocations: 73.39 kB / 1.014 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002028/1.795, allocations: 1.234 MB / 1.015 GB, free: 11 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.91e-07/1.795, allocations: 0 / 1.015 GB, free: 11 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003901/1.799, allocations: 1.288 MB / 1.017 GB, free: 9.805 MB / 0.7481 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.002094/1.801, allocations: 0.885 MB / 1.017 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.008873/1.81, allocations: 3.581 MB / 1.021 GB, free: 6.418 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/1.81, allocations: 4.438 kB / 1.021 GB, free: 6.414 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003128/1.813, allocations: 1.3 MB / 1.022 GB, free: 5.441 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006075/1.819, allocations: 1.08 MB / 1.023 GB, free: 4.551 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/1.831, allocations: 5.698 MB / 1.029 GB, free: 15.32 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001431/1.832, allocations: 1.723 MB / 1.031 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003836/1.836, allocations: 0.7608 MB / 1.031 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006573/1.837, allocations: 219.1 kB / 1.031 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of SimCode: time 8.22e-07/1.837, allocations: 0 / 1.031 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of Templates: time 0.08081/1.917, allocations: 44.92 MB / 1.075 GB, free: 0.5469 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1) Environment - environmentSimulation: