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.001546/0.001546, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.00182/0.00182, allocations: 195.9 kB / 16.14 MB, free: 6.738 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.452/1.452, allocations: 205.1 MB / 222 MB, free: 4.996 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.725/1.725, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001385/0.001385, allocations: 77.16 kB / 0.6708 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2942, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05331/0.3476, allocations: 53.11 MB / 0.8345 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01912/0.3668, allocations: 11.48 MB / 0.8457 GB, free: 13.2 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003057/0.3699, allocations: 51.69 kB / 0.8458 GB, free: 13.14 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002932/0.3729, allocations: 0.6253 MB / 0.8464 GB, free: 12.52 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007181/0.3801, allocations: 1.977 MB / 0.8483 GB, free: 10.53 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004128/0.3842, allocations: 1.253 MB / 0.8496 GB, free: 9.293 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006871/0.3911, allocations: 5.025 MB / 0.8545 GB, free: 4.258 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002448/0.3936, allocations: 1.083 MB / 0.8555 GB, free: 3.148 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00293/0.3966, allocations: 1.198 MB / 0.8567 GB, free: 1.945 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00215/0.3987, allocations: 1.085 MB / 0.8577 GB, free: 0.8555 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004516/0.3992, allocations: 76 kB / 0.8578 GB, free: 0.7812 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003452/0.4027, allocations: 0.9471 MB / 0.8587 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007316/0.4034, allocations: 378.6 kB / 0.8591 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001938/0.4054, allocations: 0.7887 MB / 0.8599 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005477/0.4109, allocations: 2.492 MB / 0.8623 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.4109, allocations: 0 / 0.8623 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4109, allocations: 0 / 0.8623 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001087/0.411, allocations: 0 / 0.8623 GB, free: 12.17 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.006049/0.4171, allocations: 2.018 MB / 0.8643 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.4172, allocations: 8.031 kB / 0.8643 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003648/0.4208, allocations: 0.5725 MB / 0.8648 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003174/0.424, allocations: 1.352 MB / 0.8662 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/0.4242, allocations: 123.7 kB / 0.8663 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002902/0.4245, allocations: 92 kB / 0.8664 GB, free: 7.887 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003573/0.4281, allocations: 1.354 MB / 0.8677 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/0.4282, allocations: 4 kB / 0.8677 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.4283, allocations: 43.94 kB / 0.8677 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.166e-05/0.4284, allocations: 24 kB / 0.8678 GB, free: 6.426 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004025/0.4324, allocations: 1.425 MB / 0.8692 GB, free: 5.004 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.009358/0.4418, allocations: 5.366 MB / 0.8744 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002967/0.4448, allocations: 1.072 MB / 0.8754 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.4464, allocations: 0.5975 MB / 0.876 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000859/0.4473, allocations: 1.073 MB / 0.8771 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001897/0.4492, allocations: 0.6744 MB / 0.8777 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 5.159e-06/0.4492, allocations: 0 / 0.8777 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.005261/0.4545, allocations: 1.754 MB / 0.8794 GB, free: 9.945 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.4546, allocations: 59.97 kB / 0.8795 GB, free: 9.871 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0026/0.4572, allocations: 1.393 MB / 0.8809 GB, free: 8.469 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001888/0.4574, allocations: 37.7 kB / 0.8809 GB, free: 8.426 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008824/0.4583, allocations: 0.6501 MB / 0.8815 GB, free: 7.766 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003571/0.4587, allocations: 205 kB / 0.8817 GB, free: 7.562 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004565/0.4592, allocations: 166.5 kB / 0.8819 GB, free: 7.395 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002013/0.4594, allocations: 337.9 kB / 0.8822 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001772/0.4612, allocations: 0.5484 MB / 0.8827 GB, free: 6.512 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001962/0.4631, allocations: 0.7641 MB / 0.8835 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003203/0.4663, allocations: 1.189 MB / 0.8847 GB, free: 4.414 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.4664, allocations: 0 / 0.8847 GB, free: 4.414 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004034/0.4704, allocations: 1.436 MB / 0.8861 GB, free: 2.969 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.4705, allocations: 7.938 kB / 0.8861 GB, free: 2.961 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.4705, allocations: 8 kB / 0.8861 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/0.4705, allocations: 11.98 kB / 0.8861 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.4718, allocations: 252 kB / 0.8863 GB, free: 2.695 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.5e-05/0.4718, allocations: 12 kB / 0.8863 GB, free: 2.684 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/0.474, allocations: 210.9 kB / 0.8865 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.4741, allocations: 39.97 kB / 0.8866 GB, free: 2.438 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.0008257/0.475, allocations: 357.6 kB / 0.8869 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005168/0.4755, allocations: 150.1 kB / 0.8871 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003971/0.4795, allocations: 1.418 MB / 0.8884 GB, free: 0.4961 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.4795, allocations: 8 kB / 0.8885 GB, free: 500 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.4795, allocations: 0 / 0.8885 GB, free: 500 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003244/0.4828, allocations: 1.263 MB / 0.8897 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006563/0.4893, allocations: 2.941 MB / 0.8926 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/0.4894, allocations: 0 / 0.8926 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.4905, allocations: 211.8 kB / 0.8928 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/0.4905, allocations: 4 kB / 0.8928 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.728e-05/0.4906, allocations: 27.97 kB / 0.8928 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.4906, allocations: 4 kB / 0.8928 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4907, allocations: 4 kB / 0.8928 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005516/0.4962, allocations: 2.223 MB / 0.895 GB, free: 9.645 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008126/0.497, allocations: 362.9 kB / 0.8953 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003657/0.4974, allocations: 20.06 kB / 0.8953 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/0.4989, allocations: 123.8 kB / 0.8955 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.4991, allocations: 60.42 kB / 0.8955 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.4992, allocations: 39.91 kB / 0.8955 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001966/0.5012, allocations: 0.9787 MB / 0.8965 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5012, allocations: 0 / 0.8965 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001785/0.503, allocations: 459.3 kB / 0.8969 GB, free: 7.605 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.00102/0.5041, allocations: 442.8 kB / 0.8974 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003477/0.5075, allocations: 1.27 MB / 0.8986 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.5076, allocations: 4.375 kB / 0.8986 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001665/0.5092, allocations: 0.6555 MB / 0.8992 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003468/0.5127, allocations: 0.7244 MB / 0.9 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004732/0.5175, allocations: 3.117 MB / 0.903 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007175/0.5182, allocations: 1.221 MB / 0.9042 GB, free: 116 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001333/0.5195, allocations: 314.3 kB / 0.9045 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/0.5199, allocations: 123.4 kB / 0.9046 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/0.5199, allocations: 0 / 0.9046 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of Templates: time 0.4098/0.9298, allocations: 28.72 MB / 0.9327 GB, free: 131.2 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)