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.00123/0.00123, allocations: 102.9 kB / 16.27 MB, free: 5.961 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.001219/0.001219, allocations: 188 kB / 17.19 MB, free: 5.594 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.372/1.372, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.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.744/1.744, allocations: 292.3 MB / 0.5495 GB, free: 17.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.001465/0.001465, allocations: 78.88 kB / 0.6722 GB, free: 6.582 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2384, allocations: 114.6 MB / 0.784 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.4003/0.6388, allocations: 53.43 MB / 0.8362 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01609/0.6549, allocations: 11.41 MB / 0.8473 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003022/0.658, allocations: 66.25 kB / 0.8474 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002571/0.6606, allocations: 0.755 MB / 0.8481 GB, free: 5.992 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007196/0.6678, allocations: 2.145 MB / 0.8502 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004444/0.6723, allocations: 1.364 MB / 0.8516 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006283/0.6786, allocations: 3.896 MB / 0.8554 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002318/0.681, allocations: 1.278 MB / 0.8566 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003995/0.685, allocations: 1.401 MB / 0.858 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002567/0.6876, allocations: 1.08 MB / 0.859 GB, free: 372 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005398/0.6881, allocations: 139 kB / 0.8592 GB, free: 372 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003783/0.6919, allocations: 1.044 MB / 0.8602 GB, free: 15.96 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008726/0.6928, allocations: 432.1 kB / 0.8606 GB, free: 15.72 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00191/0.6948, allocations: 0.8582 MB / 0.8615 GB, free: 15.18 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005747/0.7005, allocations: 2.557 MB / 0.8639 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.7006, allocations: 1 kB / 0.8639 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.375e-06/0.7006, allocations: 0 / 0.8639 GB, free: 14.2 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.582e-05/0.7007, allocations: 0 / 0.8639 GB, free: 14.2 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.004994/0.7057, allocations: 2.01 MB / 0.8659 GB, free: 12.91 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.7057, allocations: 9.5 kB / 0.8659 GB, free: 12.91 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003856/0.7096, allocations: 0.5724 MB / 0.8665 GB, free: 12.69 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003027/0.7127, allocations: 1.324 MB / 0.8678 GB, free: 11.65 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.7128, allocations: 117 kB / 0.8679 GB, free: 11.57 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.713, allocations: 96.19 kB / 0.868 GB, free: 11.54 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003245/0.7163, allocations: 1.35 MB / 0.8693 GB, free: 10.75 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.7163, allocations: 1.438 kB / 0.8693 GB, free: 10.75 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.7165, allocations: 37.03 kB / 0.8693 GB, free: 10.72 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.146e-05/0.7165, allocations: 26.95 kB / 0.8694 GB, free: 10.71 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003804/0.7203, allocations: 1.428 MB / 0.8708 GB, free: 10.04 MB / 0.67 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.009157/0.7295, allocations: 5.394 MB / 0.876 GB, free: 5.711 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002958/0.7325, allocations: 1.072 MB / 0.8771 GB, free: 5.188 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.7341, allocations: 0.6022 MB / 0.8777 GB, free: 4.902 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008231/0.7349, allocations: 1.065 MB / 0.8787 GB, free: 3.648 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001866/0.7368, allocations: 0.6852 MB / 0.8794 GB, free: 3.258 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 3.256e-06/0.7368, allocations: 0 / 0.8794 GB, free: 3.258 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.005649/0.7425, allocations: 1.751 MB / 0.8811 GB, free: 2.43 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.7426, allocations: 61.78 kB / 0.8811 GB, free: 2.359 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002646/0.7452, allocations: 1.4 MB / 0.8825 GB, free: 1.609 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001869/0.7454, allocations: 37.61 kB / 0.8825 GB, free: 1.57 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00064/0.7461, allocations: 0.647 MB / 0.8832 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.7464, allocations: 202.4 kB / 0.8834 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003453/0.7467, allocations: 166.4 kB / 0.8835 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.7469, allocations: 340.6 kB / 0.8838 GB, free: 392 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/0.7485, allocations: 0.5541 MB / 0.8844 GB, free: 128 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.7504, allocations: 0.7623 MB / 0.8851 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003196/0.7536, allocations: 1.193 MB / 0.8863 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.7536, allocations: 2.094 kB / 0.8863 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004312/0.7579, allocations: 1.435 MB / 0.8877 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.758, allocations: 13.44 kB / 0.8877 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.758, allocations: 5.406 kB / 0.8877 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/0.758, allocations: 10.53 kB / 0.8877 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.7593, allocations: 250.7 kB / 0.888 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.7593, allocations: 8.031 kB / 0.888 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/0.7611, allocations: 192.4 kB / 0.8882 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.854e-05/0.7612, allocations: 38.8 kB / 0.8882 GB, free: 14.02 MB / 0.6856 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.0007531/0.762, allocations: 363.2 kB / 0.8885 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003958/0.7624, allocations: 146.6 kB / 0.8887 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003913/0.7663, allocations: 1.414 MB / 0.8901 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/0.7664, allocations: 7.875 kB / 0.8901 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.7664, allocations: 3.984 kB / 0.8901 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003279/0.7697, allocations: 1.267 MB / 0.8913 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006457/0.7761, allocations: 2.949 MB / 0.8942 GB, free: 9.262 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.7762, allocations: 4 kB / 0.8942 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.7774, allocations: 204 kB / 0.8944 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.7774, allocations: 8 kB / 0.8944 GB, free: 9.051 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/0.7775, allocations: 19.98 kB / 0.8944 GB, free: 9.031 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.7775, allocations: 11.92 kB / 0.8944 GB, free: 9.02 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.7775, allocations: 7.438 kB / 0.8944 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005705/0.7832, allocations: 2.227 MB / 0.8966 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009646/0.7842, allocations: 351.1 kB / 0.8969 GB, free: 6.379 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004778/0.7847, allocations: 15.98 kB / 0.897 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/0.7863, allocations: 116.6 kB / 0.8971 GB, free: 6.25 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.7864, allocations: 60.36 kB / 0.8971 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.7865, allocations: 35.97 kB / 0.8972 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001451/0.788, allocations: 0.9905 MB / 0.8981 GB, free: 5.168 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.3e-07/0.788, allocations: 0 / 0.8981 GB, free: 5.168 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00176/0.7898, allocations: 463.4 kB / 0.8986 GB, free: 4.715 MB / 0.6856 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.0009757/0.7908, allocations: 450.2 kB / 0.899 GB, free: 4.281 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003987/0.7948, allocations: 1.336 MB / 0.9003 GB, free: 2.945 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/0.7948, allocations: 4 kB / 0.9003 GB, free: 2.941 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001863/0.7967, allocations: 0.6519 MB / 0.9009 GB, free: 2.285 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003877/0.8006, allocations: 0.7669 MB / 0.9017 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005018/0.8056, allocations: 2.724 MB / 0.9044 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007781/0.8064, allocations: 1.217 MB / 0.9055 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006065/0.807, allocations: 139.3 kB / 0.9057 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of SimCode: time 9.22e-07/0.807, allocations: 4 kB / 0.9057 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of Templates: time 0.04024/0.8473, allocations: 26.37 MB / 0.9314 GB, free: 3.332 MB / 0.7169 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)