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.001133/0.001133, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.001197/0.001197, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.642/1.642, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.879/1.879, allocations: 292.3 MB / 0.5495 GB, free: 17.65 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.00145/0.00145, allocations: 63.91 kB / 0.6722 GB, free: 6.492 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2746, allocations: 114.6 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.5305/0.8052, allocations: 53.43 MB / 0.8362 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01917/0.8244, allocations: 11.42 MB / 0.8474 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004194/0.8286, allocations: 56.75 kB / 0.8475 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003092/0.8318, allocations: 0.7597 MB / 0.8482 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008646/0.8405, allocations: 2.14 MB / 0.8503 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004653/0.8451, allocations: 1.382 MB / 0.8516 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007724/0.8529, allocations: 3.896 MB / 0.8554 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002781/0.8557, allocations: 1.294 MB / 0.8567 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005075/0.8608, allocations: 1.402 MB / 0.8581 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002662/0.8635, allocations: 1.085 MB / 0.8591 GB, free: 344 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003628/0.8638, allocations: 143.2 kB / 0.8593 GB, free: 340 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00396/0.8678, allocations: 1.042 MB / 0.8603 GB, free: 15.93 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005847/0.8684, allocations: 439.3 kB / 0.8607 GB, free: 15.69 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.8698, allocations: 0.8469 MB / 0.8615 GB, free: 15.16 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006019/0.8758, allocations: 2.586 MB / 0.8641 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.8759, allocations: 0 / 0.8641 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd: time 4.859e-06/0.8759, allocations: 0 / 0.8641 GB, free: 14.17 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.555e-05/0.8759, allocations: 5.344 kB / 0.8641 GB, free: 14.16 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.0049/0.8808, allocations: 2.017 MB / 0.866 GB, free: 12.82 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.8809, allocations: 8.625 kB / 0.866 GB, free: 12.82 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003389/0.8843, allocations: 0.5716 MB / 0.8666 GB, free: 12.57 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/0.8868, allocations: 1.316 MB / 0.8679 GB, free: 11.53 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.887, allocations: 117.1 kB / 0.868 GB, free: 11.46 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.8872, allocations: 95.66 kB / 0.8681 GB, free: 11.43 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003186/0.8904, allocations: 1.358 MB / 0.8694 GB, free: 10.62 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.8904, allocations: 1.312 kB / 0.8694 GB, free: 10.62 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.8905, allocations: 36.97 kB / 0.8694 GB, free: 10.59 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.986e-05/0.8906, allocations: 28.31 kB / 0.8695 GB, free: 10.59 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003807/0.8944, allocations: 1.431 MB / 0.8709 GB, free: 9.91 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.009272/0.9037, allocations: 5.354 MB / 0.8761 GB, free: 5.602 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00289/0.9066, allocations: 1.071 MB / 0.8771 GB, free: 5.082 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/0.9084, allocations: 0.6005 MB / 0.8777 GB, free: 4.797 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/0.9096, allocations: 1.07 MB / 0.8788 GB, free: 3.539 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001979/0.9116, allocations: 0.6805 MB / 0.8794 GB, free: 3.152 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 4.047e-06/0.9116, allocations: 0 / 0.8794 GB, free: 3.152 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.005583/0.9172, allocations: 1.755 MB / 0.8812 GB, free: 2.32 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.9173, allocations: 57.81 kB / 0.8812 GB, free: 2.254 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002678/0.92, allocations: 1.404 MB / 0.8826 GB, free: 1.5 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.9202, allocations: 38.27 kB / 0.8826 GB, free: 1.461 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006959/0.9209, allocations: 0.646 MB / 0.8832 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002727/0.9211, allocations: 199.4 kB / 0.8834 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003469/0.9215, allocations: 170.4 kB / 0.8836 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.9216, allocations: 341.4 kB / 0.8839 GB, free: 280 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/0.9232, allocations: 0.5526 MB / 0.8845 GB, free: 16 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/0.9251, allocations: 0.756 MB / 0.8852 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003088/0.9282, allocations: 1.19 MB / 0.8864 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.9282, allocations: 4.781 kB / 0.8864 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004292/0.9325, allocations: 1.434 MB / 0.8878 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/0.9326, allocations: 10.56 kB / 0.8878 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.9326, allocations: 5.5 kB / 0.8878 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.892e-05/0.9327, allocations: 7.844 kB / 0.8878 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.9339, allocations: 255.6 kB / 0.888 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.243e-05/0.934, allocations: 13 kB / 0.888 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.9359, allocations: 191.2 kB / 0.8882 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.9361, allocations: 41.09 kB / 0.8883 GB, free: 13.91 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.0009275/0.937, allocations: 352.3 kB / 0.8886 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007022/0.9377, allocations: 149 kB / 0.8887 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004204/0.9419, allocations: 1.418 MB / 0.8901 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/0.942, allocations: 6.875 kB / 0.8901 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.942, allocations: 0 / 0.8901 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003255/0.9453, allocations: 1.26 MB / 0.8914 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00725/0.9525, allocations: 2.955 MB / 0.8943 GB, free: 9.133 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.9526, allocations: 4 kB / 0.8943 GB, free: 9.129 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.9537, allocations: 207.9 kB / 0.8945 GB, free: 8.926 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.89e-05/0.9538, allocations: 8 kB / 0.8945 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.253e-05/0.9539, allocations: 25.03 kB / 0.8945 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/0.9539, allocations: 4 kB / 0.8945 GB, free: 8.891 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.9539, allocations: 4 kB / 0.8945 GB, free: 8.887 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005624/0.9595, allocations: 2.23 MB / 0.8967 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/0.9608, allocations: 351 kB / 0.897 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006547/0.9615, allocations: 12.56 kB / 0.897 GB, free: 6.234 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/0.9632, allocations: 123.8 kB / 0.8971 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.9633, allocations: 60.94 kB / 0.8972 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.9635, allocations: 39.7 kB / 0.8972 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002138/0.9656, allocations: 0.9866 MB / 0.8982 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9656, allocations: 0 / 0.8982 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00249/0.9681, allocations: 455.4 kB / 0.8986 GB, free: 4.59 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.001681/0.9698, allocations: 455 kB / 0.8991 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003688/0.9735, allocations: 1.285 MB / 0.9003 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.9735, allocations: 0 / 0.9003 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001746/0.9753, allocations: 0.6519 MB / 0.901 GB, free: 2.211 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004382/0.9797, allocations: 0.7647 MB / 0.9017 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005855/0.9856, allocations: 2.632 MB / 0.9043 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/0.9868, allocations: 1.221 MB / 0.9055 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001697/0.9886, allocations: 306.9 kB / 0.9058 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005557/0.9891, allocations: 127.3 kB / 0.9059 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of SimCode: time 8.72e-07/0.9891, allocations: 4 kB / 0.9059 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of Templates: time 0.05524/1.044, allocations: 30.35 MB / 0.9355 GB, free: 15.24 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)