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.001369/0.001369, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 195.3 kB / 16.64 MB, free: 6.48 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.572/1.572, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.794/1.794, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001523/0.001524, allocations: 72.92 kB / 0.6723 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2511, allocations: 114.6 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05725/0.3084, allocations: 53.44 MB / 0.8363 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01825/0.3267, allocations: 11.41 MB / 0.8475 GB, free: 11.66 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003105/0.3298, allocations: 55.69 kB / 0.8475 GB, free: 11.61 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002477/0.3324, allocations: 0.7644 MB / 0.8483 GB, free: 10.84 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006235/0.3387, allocations: 2.14 MB / 0.8503 GB, free: 8.688 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003531/0.3422, allocations: 1.385 MB / 0.8517 GB, free: 7.312 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004861/0.3471, allocations: 3.889 MB / 0.8555 GB, free: 3.418 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/0.349, allocations: 1.291 MB / 0.8568 GB, free: 2.098 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002943/0.3519, allocations: 1.415 MB / 0.8581 GB, free: 0.6836 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/0.3538, allocations: 1.081 MB / 0.8592 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003864/0.3542, allocations: 140 kB / 0.8593 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/0.3575, allocations: 1.045 MB / 0.8603 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006039/0.3581, allocations: 430.6 kB / 0.8608 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001289/0.3594, allocations: 0.8513 MB / 0.8616 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004287/0.3637, allocations: 2.586 MB / 0.8641 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3638, allocations: 4 kB / 0.8641 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.166e-06/0.3638, allocations: 0 / 0.8641 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.089e-05/0.3638, allocations: 3.938 kB / 0.8641 GB, free: 10.54 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.003727/0.3676, allocations: 2.014 MB / 0.8661 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.3676, allocations: 12.03 kB / 0.8661 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003268/0.3709, allocations: 0.5686 MB / 0.8667 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/0.3732, allocations: 1.379 MB / 0.868 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.3734, allocations: 119.7 kB / 0.8681 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.3736, allocations: 96 kB / 0.8682 GB, free: 6.23 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002891/0.3765, allocations: 1.35 MB / 0.8695 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.3765, allocations: 7.984 kB / 0.8695 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.3766, allocations: 40 kB / 0.8696 GB, free: 4.801 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-05/0.3767, allocations: 24 kB / 0.8696 GB, free: 4.777 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003644/0.3803, allocations: 1.425 MB / 0.871 GB, free: 3.352 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.008432/0.3888, allocations: 5.35 MB / 0.8762 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002799/0.3916, allocations: 1.079 MB / 0.8773 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/0.3931, allocations: 0.5982 MB / 0.8778 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008633/0.394, allocations: 1.073 MB / 0.8789 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001728/0.3957, allocations: 0.6783 MB / 0.8796 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 2.525e-06/0.3958, allocations: 0 / 0.8796 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.00515/0.4009, allocations: 1.754 MB / 0.8813 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.401, allocations: 59.97 kB / 0.8813 GB, free: 8.227 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/0.403, allocations: 1.408 MB / 0.8827 GB, free: 6.809 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.194e-05/0.4031, allocations: 45.7 kB / 0.8827 GB, free: 6.758 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000548/0.4036, allocations: 0.6345 MB / 0.8834 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.4038, allocations: 209 kB / 0.8836 GB, free: 5.906 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/0.4041, allocations: 166.4 kB / 0.8837 GB, free: 5.738 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4043, allocations: 334 kB / 0.884 GB, free: 5.406 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.4058, allocations: 0.5523 MB / 0.8846 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.4076, allocations: 0.7651 MB / 0.8853 GB, free: 4.008 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003073/0.4106, allocations: 1.189 MB / 0.8865 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.4107, allocations: 0 / 0.8865 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003856/0.4145, allocations: 1.436 MB / 0.8879 GB, free: 1.309 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.4146, allocations: 11.88 kB / 0.8879 GB, free: 1.297 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.4146, allocations: 8 kB / 0.8879 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.4146, allocations: 8 kB / 0.8879 GB, free: 1.281 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.4158, allocations: 248 kB / 0.8882 GB, free: 1.039 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/0.4159, allocations: 19.92 kB / 0.8882 GB, free: 1.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.4173, allocations: 194.8 kB / 0.8884 GB, free: 0.8281 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.627e-05/0.4174, allocations: 43.97 kB / 0.8884 GB, free: 0.7852 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.0006133/0.418, allocations: 352.9 kB / 0.8887 GB, free: 444 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/0.4183, allocations: 146.2 kB / 0.8889 GB, free: 296 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003821/0.4221, allocations: 1.415 MB / 0.8903 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-05/0.4222, allocations: 11.98 kB / 0.8903 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.4222, allocations: 0 / 0.8903 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003256/0.4255, allocations: 1.259 MB / 0.8915 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006171/0.4316, allocations: 2.949 MB / 0.8944 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.4317, allocations: 4 kB / 0.8944 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.4328, allocations: 215.9 kB / 0.8946 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/0.4329, allocations: 4 kB / 0.8946 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-05/0.4329, allocations: 19.98 kB / 0.8946 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.886e-06/0.433, allocations: 7.984 kB / 0.8946 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.433, allocations: 4 kB / 0.8946 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005704/0.4387, allocations: 2.227 MB / 0.8968 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007562/0.4395, allocations: 351 kB / 0.8971 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/0.4397, allocations: 15.98 kB / 0.8971 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.4409, allocations: 115.9 kB / 0.8973 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.441, allocations: 60.36 kB / 0.8973 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.901e-05/0.4411, allocations: 35.97 kB / 0.8974 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001414/0.4426, allocations: 0.9866 MB / 0.8983 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.4426, allocations: 3.938 kB / 0.8983 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001378/0.444, allocations: 467.3 kB / 0.8988 GB, free: 5.965 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.0009241/0.4449, allocations: 455.4 kB / 0.8992 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003579/0.4485, allocations: 1.277 MB / 0.9004 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4485, allocations: 3.938 kB / 0.9004 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001787/0.4503, allocations: 0.6519 MB / 0.9011 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003561/0.4539, allocations: 0.7745 MB / 0.9018 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005138/0.459, allocations: 2.623 MB / 0.9044 GB, free: 152 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008876/0.4599, allocations: 1.221 MB / 0.9056 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001246/0.4612, allocations: 307.1 kB / 0.9059 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003705/0.4616, allocations: 135.3 kB / 0.906 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of SimCode: time 6.52e-07/0.4616, allocations: 0 / 0.906 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of Templates: time 0.4812/0.9428, allocations: 30.33 MB / 0.9356 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)