Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001805/0.001805, allocations: 196.2 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.841/1.841, allocations: 292.2 MB / 0.5485 GB, free: 13.66 MB / 462.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.001412/0.001412, allocations: 71.97 kB / 0.671 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2361, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05591/0.2921, allocations: 53 MB / 0.8346 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01641/0.3085, allocations: 11.32 MB / 0.8457 GB, free: 13.38 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002857/0.3114, allocations: 55.62 kB / 0.8457 GB, free: 13.32 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.3138, allocations: 0.6488 MB / 0.8464 GB, free: 12.67 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006395/0.3202, allocations: 1.995 MB / 0.8483 GB, free: 10.66 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004119/0.3243, allocations: 1.273 MB / 0.8495 GB, free: 9.406 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006296/0.3306, allocations: 3.925 MB / 0.8534 GB, free: 5.477 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002137/0.3328, allocations: 1.275 MB / 0.8546 GB, free: 4.168 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003717/0.3365, allocations: 1.421 MB / 0.856 GB, free: 2.746 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.3385, allocations: 1.128 MB / 0.8571 GB, free: 1.613 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002654/0.3388, allocations: 139.9 kB / 0.8572 GB, free: 1.477 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002581/0.3414, allocations: 1.053 MB / 0.8583 GB, free: 432 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004619/0.3418, allocations: 434.7 kB / 0.8587 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.3429, allocations: 0.8668 MB / 0.8595 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004191/0.3471, allocations: 2.563 MB / 0.862 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3471, allocations: 0 / 0.862 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3471, allocations: 0 / 0.862 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.42e-05/0.3472, allocations: 0 / 0.862 GB, free: 12.55 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.004322/0.3515, allocations: 2.014 MB / 0.864 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.716e-05/0.3516, allocations: 8.031 kB / 0.864 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003643/0.3552, allocations: 0.5763 MB / 0.8646 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002811/0.3581, allocations: 1.356 MB / 0.8659 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/0.3582, allocations: 123.6 kB / 0.866 GB, free: 8.359 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.3584, allocations: 96 kB / 0.8661 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003129/0.3616, allocations: 1.35 MB / 0.8674 GB, free: 6.883 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/0.3616, allocations: 4 kB / 0.8674 GB, free: 6.879 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.3617, allocations: 36 kB / 0.8675 GB, free: 6.844 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.104e-05/0.3618, allocations: 24 kB / 0.8675 GB, free: 6.82 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003562/0.3653, allocations: 1.425 MB / 0.8689 GB, free: 5.395 MB / 0.6856 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.009098/0.3744, allocations: 5.366 MB / 0.8741 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002869/0.3773, allocations: 1.076 MB / 0.8752 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00148/0.3788, allocations: 0.5958 MB / 0.8757 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000803/0.3796, allocations: 1.073 MB / 0.8768 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001809/0.3815, allocations: 0.6744 MB / 0.8775 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 2.945e-06/0.3815, allocations: 0 / 0.8775 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.005488/0.387, allocations: 1.754 MB / 0.8792 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.143e-05/0.3871, allocations: 55.97 kB / 0.8792 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/0.3897, allocations: 1.393 MB / 0.8806 GB, free: 8.863 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001516/0.3899, allocations: 37.7 kB / 0.8806 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005771/0.3905, allocations: 0.6462 MB / 0.8812 GB, free: 8.164 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/0.3907, allocations: 205 kB / 0.8814 GB, free: 7.961 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002915/0.391, allocations: 170.4 kB / 0.8816 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.3912, allocations: 334 kB / 0.8819 GB, free: 7.457 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.3927, allocations: 0.5484 MB / 0.8825 GB, free: 6.91 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.3944, allocations: 0.7652 MB / 0.8832 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003013/0.3974, allocations: 1.189 MB / 0.8844 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.3974, allocations: 0 / 0.8844 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003844/0.4012, allocations: 1.436 MB / 0.8858 GB, free: 3.367 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.4013, allocations: 11.94 kB / 0.8858 GB, free: 3.355 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.4013, allocations: 7.938 kB / 0.8858 GB, free: 3.348 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.4013, allocations: 8.094 kB / 0.8858 GB, free: 3.34 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.4025, allocations: 255.8 kB / 0.886 GB, free: 3.09 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.4026, allocations: 15.88 kB / 0.8861 GB, free: 3.074 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.4046, allocations: 210.9 kB / 0.8863 GB, free: 2.867 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.4047, allocations: 43.97 kB / 0.8863 GB, free: 2.824 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,onOff.pulseStart,$PRE.onOff.pulseStart,onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009378/0.4057, allocations: 360.8 kB / 0.8866 GB, free: 2.465 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003905/0.4061, allocations: 146.2 kB / 0.8868 GB, free: 2.32 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004064/0.4101, allocations: 1.403 MB / 0.8882 GB, free: 0.9023 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.4102, allocations: 11.98 kB / 0.8882 GB, free: 0.8906 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.4102, allocations: 0 / 0.8882 GB, free: 0.8906 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003075/0.4133, allocations: 1.267 MB / 0.8894 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006477/0.4198, allocations: 2.938 MB / 0.8923 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.4198, allocations: 0 / 0.8923 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/0.421, allocations: 211.9 kB / 0.8925 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.499e-05/0.421, allocations: 8 kB / 0.8925 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.737e-05/0.4211, allocations: 23.98 kB / 0.8925 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/0.4211, allocations: 7.984 kB / 0.8925 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.331e-06/0.4211, allocations: 7.938 kB / 0.8925 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005622/0.4268, allocations: 2.227 MB / 0.8947 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008733/0.4277, allocations: 355 kB / 0.895 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/0.4279, allocations: 19.98 kB / 0.8951 GB, free: 9.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.4292, allocations: 127.9 kB / 0.8952 GB, free: 9.523 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.4294, allocations: 64.36 kB / 0.8952 GB, free: 9.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.78e-05/0.4294, allocations: 31.97 kB / 0.8953 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001533/0.431, allocations: 0.9788 MB / 0.8962 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.11e-07/0.431, allocations: 0 / 0.8962 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001449/0.4324, allocations: 459.3 kB / 0.8967 GB, free: 8.004 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,onOff.y,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000976/0.4334, allocations: 444.8 kB / 0.8971 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003914/0.4374, allocations: 1.336 MB / 0.8984 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.4374, allocations: 0 / 0.8984 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001757/0.4391, allocations: 0.648 MB / 0.899 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/0.4427, allocations: 0.7838 MB / 0.8998 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005024/0.4478, allocations: 3.111 MB / 0.9028 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007656/0.4485, allocations: 1.225 MB / 0.904 GB, free: 428 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001414/0.45, allocations: 311.1 kB / 0.9043 GB, free: 116 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/0.4504, allocations: 123.4 kB / 0.9044 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of SimCode: time 7.11e-07/0.4504, allocations: 0 / 0.9044 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of Templates: time 0.4681/0.9185, allocations: 29.73 MB / 0.9335 GB, free: 131.3 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)