Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.467/1.467, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 180.4 kB / 327.3 MB, free: 2.188 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.889/1.889, allocations: 205.4 MB / 0.5783 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008499/0.00085, allocations: 97.91 kB / 0.6829 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003284, allocations: 9.625 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2385, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.03465/0.2733, allocations: 49.28 MB / 0.949 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01306/0.2864, allocations: 10.64 MB / 0.9593 GB, free: 3.793 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00251/0.2889, allocations: 55.62 kB / 0.9594 GB, free: 3.738 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001788/0.2907, allocations: 0.5317 MB / 0.9599 GB, free: 3.203 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005153/0.2959, allocations: 1.679 MB / 0.9616 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002894/0.2988, allocations: 0.996 MB / 0.9625 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005729/0.3045, allocations: 4.299 MB / 0.9667 GB, free: 12.22 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001705/0.3063, allocations: 0.9349 MB / 0.9676 GB, free: 11.26 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002542/0.3088, allocations: 1.135 MB / 0.9687 GB, free: 10.12 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.3104, allocations: 0.9838 MB / 0.9697 GB, free: 9.133 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.3106, allocations: 56 kB / 0.9698 GB, free: 9.078 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002128/0.3127, allocations: 0.6041 MB / 0.9704 GB, free: 8.473 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.0003445/0.3131, allocations: 330.6 kB / 0.9707 GB, free: 8.148 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.000492/0.3136, allocations: 336.9 kB / 0.971 GB, free: 7.809 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.002135/0.3157, allocations: 1.835 MB / 0.9728 GB, free: 5.969 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3157, allocations: 0 / 0.9728 GB, free: 5.969 MB / 0.6199 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3157, allocations: 0 / 0.9728 GB, free: 5.969 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 2.404e-05/0.3158, allocations: 0 / 0.9728 GB, free: 5.969 MB / 0.6199 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.003248/0.319, allocations: 1.746 MB / 0.9745 GB, free: 4.164 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.3191, allocations: 8.031 kB / 0.9745 GB, free: 4.156 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0035/0.3226, allocations: 0.6185 MB / 0.9751 GB, free: 3.535 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/0.3249, allocations: 1.298 MB / 0.9764 GB, free: 2.184 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.3251, allocations: 115.7 kB / 0.9765 GB, free: 2.066 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.3252, allocations: 99.98 kB / 0.9766 GB, free: 1.969 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002952/0.3282, allocations: 1.377 MB / 0.9779 GB, free: 0.5547 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.3282, allocations: 0 / 0.9779 GB, free: 0.5547 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.3284, allocations: 39.95 kB / 0.978 GB, free: 0.5156 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.629e-05/0.3284, allocations: 32 kB / 0.978 GB, free: 496 kB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003878/0.3323, allocations: 1.491 MB / 0.9794 GB, free: 14.99 MB / 0.6355 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.008538/0.3408, allocations: 5.382 MB / 0.9847 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002938/0.3438, allocations: 1.12 MB / 0.9858 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/0.3454, allocations: 0.6314 MB / 0.9864 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008955/0.3463, allocations: 1.069 MB / 0.9875 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001796/0.3482, allocations: 0.7057 MB / 0.9881 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=60): time 4.298e-06/0.3482, allocations: 0 / 0.9881 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=60): time 0.005484/0.3537, allocations: 1.856 MB / 0.99 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.3537, allocations: 55.97 kB / 0.99 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/0.3558, allocations: 1.381 MB / 0.9914 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.783e-05/0.3559, allocations: 37.7 kB / 0.9914 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005806/0.3565, allocations: 0.6423 MB / 0.992 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.3567, allocations: 213 kB / 0.9922 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.3568, allocations: 16 kB / 0.9922 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3569, allocations: 333.9 kB / 0.9926 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.3585, allocations: 0.5836 MB / 0.9931 GB, free: 424 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/0.3602, allocations: 0.7926 MB / 0.9939 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/0.3618, allocations: 0.5965 MB / 0.9945 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.3618, allocations: 0 / 0.9945 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003833/0.3657, allocations: 1.511 MB / 0.996 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.3657, allocations: 8.062 kB / 0.996 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.3657, allocations: 8 kB / 0.996 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/0.3658, allocations: 8 kB / 0.996 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.367, allocations: 263.7 kB / 0.9962 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/0.3671, allocations: 19.86 kB / 0.9962 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.3688, allocations: 234.9 kB / 0.9965 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.644e-05/0.3689, allocations: 35.98 kB / 0.9965 GB, free: 12.86 MB / 0.6511 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.y,$PRE.onOff.pulseStart,onOff.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007276/0.3696, allocations: 361.5 kB / 0.9969 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.3698, allocations: 150.2 kB / 0.997 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003804/0.3736, allocations: 1.469 MB / 0.9984 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.3737, allocations: 8 kB / 0.9984 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.3737, allocations: 0 / 0.9984 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003366/0.3771, allocations: 1.337 MB / 0.9997 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006212/0.3833, allocations: 3.015 MB / 1.003 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.3833, allocations: 8 kB / 1.003 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/0.3845, allocations: 227.9 kB / 1.003 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.3845, allocations: 4 kB / 1.003 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.315e-05/0.3846, allocations: 23.98 kB / 1.003 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-05/0.3846, allocations: 7.984 kB / 1.003 GB, free: 6.125 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.3846, allocations: 7.938 kB / 1.003 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005476/0.3901, allocations: 2.32 MB / 1.005 GB, free: 3.754 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000835/0.391, allocations: 378.8 kB / 1.006 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.3912, allocations: 16 kB / 1.006 GB, free: 3.348 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.3925, allocations: 151.9 kB / 1.006 GB, free: 3.199 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.3926, allocations: 52.44 kB / 1.006 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.097e-05/0.3927, allocations: 35.95 kB / 1.006 GB, free: 3.109 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001388/0.3941, allocations: 0.9631 MB / 1.007 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3941, allocations: 0 / 1.007 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001283/0.3954, allocations: 455.3 kB / 1.007 GB, free: 1.703 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008216/0.3962, allocations: 426.6 kB / 1.008 GB, free: 1.285 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003659/0.3999, allocations: 1.344 MB / 1.009 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.3999, allocations: 0 / 1.009 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001793/0.4017, allocations: 0.6871 MB / 1.01 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003688/0.4054, allocations: 0.7272 MB / 1.01 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005228/0.4106, allocations: 3.165 MB / 1.013 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008003/0.4115, allocations: 1.217 MB / 1.015 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005856/0.4121, allocations: 135.3 kB / 1.015 GB, free: 9.938 MB / 0.6667 GB Notification: Performance of SimCode: time 8.91e-07/0.4121, allocations: 0 / 1.015 GB, free: 9.938 MB / 0.6667 GB Notification: Performance of Templates: time 0.04318/0.4553, allocations: 25.84 MB / 1.04 GB, free: 240 kB / 0.6824 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)