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.00105/0.00105, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.001084/0.001084, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.399/1.399, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.658/1.658, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001388/0.001388, allocations: 69.08 kB / 0.6716 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2324, allocations: 114.5 MB / 0.7835 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05027/0.2827, allocations: 52.99 MB / 0.8353 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01554/0.2983, allocations: 11.35 MB / 0.8463 GB, free: 13.31 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002242/0.3006, allocations: 51.69 kB / 0.8464 GB, free: 13.26 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002134/0.3028, allocations: 0.6605 MB / 0.847 GB, free: 12.6 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005831/0.3086, allocations: 1.987 MB / 0.849 GB, free: 10.6 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003462/0.3121, allocations: 1.269 MB / 0.8502 GB, free: 9.344 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005319/0.3174, allocations: 3.925 MB / 0.854 GB, free: 5.414 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002016/0.3195, allocations: 1.267 MB / 0.8553 GB, free: 4.113 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003402/0.3229, allocations: 1.422 MB / 0.8567 GB, free: 2.691 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.3248, allocations: 1.116 MB / 0.8578 GB, free: 1.57 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002939/0.3251, allocations: 139.9 kB / 0.8579 GB, free: 1.434 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.3274, allocations: 1.064 MB / 0.8589 GB, free: 376 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004242/0.3279, allocations: 434.7 kB / 0.8593 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.3289, allocations: 0.8589 MB / 0.8602 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002572/0.3315, allocations: 1.996 MB / 0.8621 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3315, allocations: 4 kB / 0.8621 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3315, allocations: 0 / 0.8621 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.725e-05/0.3315, allocations: 0 / 0.8621 GB, free: 13.07 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.003426/0.335, allocations: 2.014 MB / 0.8641 GB, free: 11 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.335, allocations: 8.031 kB / 0.8641 GB, free: 11 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003419/0.3384, allocations: 0.5763 MB / 0.8647 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/0.3406, allocations: 1.36 MB / 0.866 GB, free: 9.004 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.3407, allocations: 115.7 kB / 0.8661 GB, free: 8.883 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.3409, allocations: 92 kB / 0.8662 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00287/0.3438, allocations: 1.354 MB / 0.8675 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.3438, allocations: 7.938 kB / 0.8675 GB, free: 7.398 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.3439, allocations: 36 kB / 0.8676 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.87e-05/0.344, allocations: 28 kB / 0.8676 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003577/0.3476, allocations: 1.429 MB / 0.869 GB, free: 5.906 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.007923/0.3555, allocations: 5.362 MB / 0.8742 GB, free: 300 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/0.3584, allocations: 1.071 MB / 0.8753 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/0.36, allocations: 0.6044 MB / 0.8759 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008046/0.3608, allocations: 1.065 MB / 0.8769 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0018/0.3626, allocations: 0.6744 MB / 0.8776 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 3.126e-06/0.3626, allocations: 0 / 0.8776 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.005232/0.3679, allocations: 1.758 MB / 0.8793 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.3679, allocations: 59.95 kB / 0.8793 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/0.3698, allocations: 1.385 MB / 0.8807 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.37, allocations: 37.7 kB / 0.8807 GB, free: 9.34 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005875/0.3706, allocations: 0.6423 MB / 0.8814 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/0.3708, allocations: 209 kB / 0.8815 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003033/0.3711, allocations: 166.4 kB / 0.8817 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3713, allocations: 342 kB / 0.882 GB, free: 7.973 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.3728, allocations: 0.5523 MB / 0.8826 GB, free: 7.422 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001639/0.3745, allocations: 0.7641 MB / 0.8833 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00303/0.3775, allocations: 1.189 MB / 0.8845 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.3775, allocations: 0 / 0.8845 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003949/0.3815, allocations: 1.433 MB / 0.8859 GB, free: 3.887 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.3815, allocations: 18.81 kB / 0.8859 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.3815, allocations: 4 kB / 0.8859 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.3816, allocations: 8 kB / 0.8859 GB, free: 3.859 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.3828, allocations: 247.6 kB / 0.8861 GB, free: 3.617 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/0.3828, allocations: 11.94 kB / 0.8862 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.3844, allocations: 214.9 kB / 0.8864 GB, free: 3.395 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.493e-05/0.3845, allocations: 39.97 kB / 0.8864 GB, free: 3.355 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.0006152/0.3851, allocations: 357.6 kB / 0.8867 GB, free: 2.996 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000268/0.3854, allocations: 154.1 kB / 0.8869 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003713/0.3891, allocations: 1.415 MB / 0.8883 GB, free: 1.414 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.3892, allocations: 7.938 kB / 0.8883 GB, free: 1.406 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.3892, allocations: 4 kB / 0.8883 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003161/0.3923, allocations: 1.263 MB / 0.8895 GB, free: 112 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005884/0.3982, allocations: 2.945 MB / 0.8924 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.3983, allocations: 0 / 0.8924 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/0.3995, allocations: 207.9 kB / 0.8926 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.3995, allocations: 4 kB / 0.8926 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.49e-05/0.3996, allocations: 27.97 kB / 0.8926 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.3996, allocations: 4 kB / 0.8926 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3996, allocations: 4 kB / 0.8926 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005438/0.405, allocations: 2.234 MB / 0.8948 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008625/0.4059, allocations: 355 kB / 0.8951 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/0.4061, allocations: 16 kB / 0.8952 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.4074, allocations: 135.9 kB / 0.8953 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.4076, allocations: 52.38 kB / 0.8953 GB, free: 9.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.681e-05/0.4077, allocations: 35.97 kB / 0.8954 GB, free: 9.945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001423/0.4091, allocations: 0.9748 MB / 0.8963 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4091, allocations: 0 / 0.8963 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001453/0.4106, allocations: 463.3 kB / 0.8968 GB, free: 8.52 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.0009301/0.4115, allocations: 438.7 kB / 0.8972 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003767/0.4153, allocations: 1.332 MB / 0.8985 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.4153, allocations: 4 kB / 0.8985 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001762/0.4171, allocations: 0.6558 MB / 0.8991 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003577/0.4207, allocations: 0.7774 MB / 0.8999 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004963/0.4257, allocations: 3.16 MB / 0.903 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007756/0.4265, allocations: 1.225 MB / 0.9042 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005957/0.4271, allocations: 135.4 kB / 0.9043 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of SimCode: time 1.032e-06/0.4271, allocations: 0 / 0.9043 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of Templates: time 0.3949/0.822, allocations: 26.13 MB / 0.9298 GB, free: 125.4 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)