Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QGen_flow|chi.QEva_flow|chi.QCon_flow|chi.CR|chi.PLR|per.PLRMax|per.PLRMin|QEva_QGen.y|QEva_P.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QGen_flow|chi.QEva_flow|chi.QCon_flow|chi.CR|chi.PLR|per.PLRMax|per.PLRMin|QEva_QGen.y|QEva_P.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001104/0.001104, allocations: 183.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 59.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8893/0.8908, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pum.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.08903/0.9799, allocations: 74.3 MB / 1.161 GB, free: 228 kB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03072/1.011, allocations: 19.69 MB / 1.18 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005021/1.016, allocations: 99.59 kB / 1.18 GB, free: 2.09 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004636/1.02, allocations: 1.381 MB / 1.182 GB, free: 1.289 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009716/1.03, allocations: 3.167 MB / 1.185 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006855/1.037, allocations: 2.18 MB / 1.187 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.009352/1.046, allocations: 5.183 MB / 1.192 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004085/1.05, allocations: 1.971 MB / 1.194 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006339/1.057, allocations: 2.211 MB / 1.196 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003469/1.06, allocations: 1.515 MB / 1.198 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0008686/1.061, allocations: 205.1 kB / 1.198 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005738/1.067, allocations: 1.836 MB / 1.2 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.00136/1.068, allocations: 0.6409 MB / 1.2 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.003557/1.072, allocations: 1.215 MB / 1.201 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01008/1.082, allocations: 3.851 MB / 1.205 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.082, allocations: 4 kB / 1.205 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.344e-06/1.082, allocations: 0 / 1.205 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001551/1.082, allocations: 0 / 1.205 GB, free: 1.75 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.009635/1.092, allocations: 2.79 MB / 1.208 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/1.092, allocations: 8.812 kB / 1.208 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007429/1.099, allocations: 1.099 MB / 1.209 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005966/1.105, allocations: 1.967 MB / 1.211 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002778/1.106, allocations: 152.6 kB / 1.211 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004785/1.106, allocations: 127.3 kB / 1.211 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006033/1.112, allocations: 1.917 MB / 1.213 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/1.112, allocations: 4 kB / 1.213 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002505/1.112, allocations: 56 kB / 1.213 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/1.113, allocations: 30.16 kB / 1.213 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006714/1.119, allocations: 2.057 MB / 1.215 GB, free: 11.41 MB / 0.9512 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.01634/1.136, allocations: 8.138 MB / 1.223 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005198/1.141, allocations: 1.667 MB / 1.225 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0022/1.143, allocations: 0.7442 MB / 1.226 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006633/1.15, allocations: 3.813 MB / 1.229 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/1.15, allocations: 47.11 kB / 1.229 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001184/1.151, allocations: 98.95 kB / 1.229 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=62): time 4.419e-06/1.151, allocations: 0 / 1.229 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of matching and sorting (n=62): time 0.01456/1.166, allocations: 3.242 MB / 1.233 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/1.166, allocations: 59.97 kB / 1.233 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00412/1.17, allocations: 2.058 MB / 1.235 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002087/1.17, allocations: 41.7 kB / 1.235 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001109/1.171, allocations: 0.9532 MB / 1.236 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003413/1.171, allocations: 224.8 kB / 1.236 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005181/1.172, allocations: 230.4 kB / 1.236 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.172, allocations: 341.9 kB / 1.236 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002392/1.175, allocations: 0.7737 MB / 1.237 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002688/1.177, allocations: 1.103 MB / 1.238 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004656/1.182, allocations: 1.694 MB / 1.24 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/1.182, allocations: 4 kB / 1.24 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.008229/1.19, allocations: 2.385 MB / 1.242 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/1.19, allocations: 12.59 kB / 1.242 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/1.19, allocations: 12 kB / 1.242 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/1.192, allocations: 0.5082 MB / 1.243 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/1.193, allocations: 327.5 kB / 1.243 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/1.195, allocations: 1.114 MB / 1.244 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002678/1.198, allocations: 208.2 kB / 1.244 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002002/1.198, allocations: 63.95 kB / 1.244 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003181/1.202, allocations: 1.107 MB / 1.245 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002707/1.204, allocations: 1.092 MB / 1.246 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004464/1.209, allocations: 1.66 MB / 1.248 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.095e-05/1.209, allocations: 4 kB / 1.248 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=120) (initialization_lambda0): time 0.007331/1.216, allocations: 2.248 MB / 1.25 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/1.216, allocations: 8 kB / 1.25 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/1.216, allocations: 12 kB / 1.25 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/1.218, allocations: 0.5086 MB / 1.251 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/1.219, allocations: 315.5 kB / 1.251 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/1.222, allocations: 1.13 MB / 1.252 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002724/1.224, allocations: 200.7 kB / 1.252 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001769/1.224, allocations: 63.95 kB / 1.252 GB, free: 4.363 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 110 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000475/1.225, allocations: 248 kB / 1.253 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000803/1.226, allocations: 201.4 kB / 1.253 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007817/1.234, allocations: 2.236 MB / 1.255 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/1.234, allocations: 3.984 kB / 1.255 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.234, allocations: 0 / 1.255 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/1.235, allocations: 442.2 kB / 1.256 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007554/1.236, allocations: 12 kB / 1.256 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002188/1.238, allocations: 167.7 kB / 1.256 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/1.238, allocations: 48.59 kB / 1.256 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007908/1.246, allocations: 2.086 MB / 1.258 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007545/1.254, allocations: 2.779 MB / 1.26 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0022/1.256, allocations: 0.7546 MB / 1.261 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002943/1.259, allocations: 1.423 MB / 1.263 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of Backend: time 7.91e-07/1.259, allocations: 0 / 1.263 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0108/1.27, allocations: 2.764 MB / 1.265 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of SimCode: time 0.009008/1.279, allocations: 4.222 MB / 1.269 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of Templates: time 0.08917/1.368, allocations: 51.87 MB / 1.32 GB, free: 15.54 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1)