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.0008073/0.0008074, allocations: 86.33 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.001125/0.001125, 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 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.7/1.7, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0006232/0.0006234, allocations: 13.25 kB / 0.6737 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2646, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.04714/0.3118, allocations: 49.25 MB / 0.8354 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01542/0.3273, allocations: 10.68 MB / 0.8458 GB, free: 15.8 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002088/0.3294, allocations: 51.69 kB / 0.8459 GB, free: 15.75 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.3311, allocations: 0.5433 MB / 0.8464 GB, free: 15.21 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005009/0.3361, allocations: 1.679 MB / 0.848 GB, free: 13.52 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003162/0.3393, allocations: 1.012 MB / 0.849 GB, free: 12.52 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005532/0.3449, allocations: 4.318 MB / 0.8532 GB, free: 8.195 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001544/0.3464, allocations: 0.9387 MB / 0.8542 GB, free: 7.227 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002509/0.349, allocations: 1.143 MB / 0.8553 GB, free: 6.078 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/0.3508, allocations: 0.9838 MB / 0.8562 GB, free: 5.09 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.351, allocations: 56 kB / 0.8563 GB, free: 5.035 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.3532, allocations: 0.6002 MB / 0.8569 GB, free: 4.434 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003781/0.3536, allocations: 338.6 kB / 0.8572 GB, free: 4.102 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004482/0.354, allocations: 332.9 kB / 0.8575 GB, free: 3.77 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00192/0.356, allocations: 1.847 MB / 0.8593 GB, free: 1.918 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.356, allocations: 0 / 0.8593 GB, free: 1.918 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.124e-06/0.356, allocations: 0 / 0.8593 GB, free: 1.918 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.268e-05/0.356, allocations: 0 / 0.8593 GB, free: 1.918 MB / 0.67 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.003353/0.3594, allocations: 1.742 MB / 0.861 GB, free: 124 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.3594, allocations: 8.031 kB / 0.861 GB, free: 116 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00302/0.3625, allocations: 0.6223 MB / 0.8616 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/0.3648, allocations: 1.294 MB / 0.8629 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/0.365, allocations: 119.7 kB / 0.863 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.3651, allocations: 99.94 kB / 0.8631 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003077/0.3682, allocations: 1.385 MB / 0.8645 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.3683, allocations: 11.84 kB / 0.8645 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.3684, allocations: 39.95 kB / 0.8645 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.429e-05/0.3684, allocations: 28 kB / 0.8645 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003364/0.3718, allocations: 1.491 MB / 0.866 GB, free: 10.93 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.007508/0.3793, allocations: 5.393 MB / 0.8713 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00265/0.382, allocations: 1.122 MB / 0.8724 GB, free: 4.16 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.3834, allocations: 0.6376 MB / 0.873 GB, free: 3.523 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008722/0.3843, allocations: 1.077 MB / 0.874 GB, free: 2.207 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001633/0.386, allocations: 0.7018 MB / 0.8747 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=60): time 2.525e-06/0.386, allocations: 0 / 0.8747 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60): time 0.004729/0.3907, allocations: 1.856 MB / 0.8765 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.3908, allocations: 55.97 kB / 0.8766 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/0.3929, allocations: 1.381 MB / 0.8779 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.393, allocations: 37.7 kB / 0.878 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005925/0.3936, allocations: 0.6461 MB / 0.8786 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/0.3939, allocations: 205 kB / 0.8788 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.3939, allocations: 16 kB / 0.8788 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.394, allocations: 337.9 kB / 0.8791 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.3955, allocations: 0.5874 MB / 0.8797 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.3971, allocations: 0.7887 MB / 0.8805 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.3986, allocations: 0.5926 MB / 0.8811 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3986, allocations: 0 / 0.8811 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003641/0.4022, allocations: 1.503 MB / 0.8825 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.4023, allocations: 7.938 kB / 0.8825 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.4023, allocations: 8 kB / 0.8825 GB, free: 9.34 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.4023, allocations: 8 kB / 0.8825 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.4035, allocations: 268.1 kB / 0.8828 GB, free: 9.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-05/0.4035, allocations: 11.94 kB / 0.8828 GB, free: 9.059 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.405, allocations: 238.8 kB / 0.883 GB, free: 8.824 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.526e-05/0.4051, allocations: 39.97 kB / 0.8831 GB, free: 8.785 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.y,$PRE.onOff.pulseStart,onOff.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000663/0.4058, allocations: 365.5 kB / 0.8834 GB, free: 8.418 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/0.4061, allocations: 142.2 kB / 0.8836 GB, free: 8.277 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003548/0.4097, allocations: 1.485 MB / 0.885 GB, free: 6.785 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.4097, allocations: 4 kB / 0.885 GB, free: 6.781 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.4097, allocations: 4.094 kB / 0.885 GB, free: 6.777 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002979/0.4127, allocations: 1.333 MB / 0.8863 GB, free: 5.41 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006149/0.4188, allocations: 3.023 MB / 0.8893 GB, free: 2.297 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.4189, allocations: 0 / 0.8893 GB, free: 2.297 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.42, allocations: 231.9 kB / 0.8895 GB, free: 2.07 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.524e-05/0.42, allocations: 4 kB / 0.8895 GB, free: 2.066 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.385e-05/0.4201, allocations: 23.97 kB / 0.8895 GB, free: 2.043 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.4201, allocations: 4 kB / 0.8895 GB, free: 2.039 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.4201, allocations: 7.938 kB / 0.8895 GB, free: 2.031 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005244/0.4254, allocations: 2.324 MB / 0.8918 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008557/0.4263, allocations: 375 kB / 0.8922 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003337/0.4266, allocations: 16.06 kB / 0.8922 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/0.4279, allocations: 171.6 kB / 0.8923 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.428, allocations: 48.48 kB / 0.8924 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.563e-05/0.4281, allocations: 35.97 kB / 0.8924 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001622/0.4298, allocations: 0.9631 MB / 0.8934 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4298, allocations: 0 / 0.8934 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001488/0.4313, allocations: 451.4 kB / 0.8938 GB, free: 13.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008294/0.4321, allocations: 411.2 kB / 0.8942 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003247/0.4354, allocations: 1.344 MB / 0.8955 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.4354, allocations: 4 kB / 0.8955 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001592/0.437, allocations: 0.6868 MB / 0.8962 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003464/0.4405, allocations: 0.7303 MB / 0.8969 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00475/0.4452, allocations: 3.109 MB / 0.8999 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000842/0.4461, allocations: 1.225 MB / 0.9011 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001457/0.4476, allocations: 303.3 kB / 0.9014 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003938/0.448, allocations: 123.4 kB / 0.9015 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of SimCode: time 7.11e-07/0.448, allocations: 0 / 0.9015 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of Templates: time 0.4543/0.9023, allocations: 27.69 MB / 0.9286 GB, free: 124.4 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: