Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001458/0.001458, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001681/0.001681, allocations: 195.9 kB / 16.14 MB, free: 6.688 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.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.788/2.788, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 61.08 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.419, allocations: 159.9 MB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05615/0.4752, allocations: 53.14 MB / 1.119 GB, free: 5.594 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01864/0.4939, allocations: 11.56 MB / 1.131 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004615/0.4985, allocations: 55.69 kB / 1.131 GB, free: 9.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003913/0.5026, allocations: 0.6295 MB / 1.131 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007986/0.5106, allocations: 1.991 MB / 1.133 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004279/0.5149, allocations: 1.255 MB / 1.135 GB, free: 6.086 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006854/0.5218, allocations: 5.041 MB / 1.139 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002448/0.5243, allocations: 1.091 MB / 1.141 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003387/0.5277, allocations: 1.194 MB / 1.142 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002215/0.5299, allocations: 1.097 MB / 1.143 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004391/0.5304, allocations: 68 kB / 1.143 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003128/0.5335, allocations: 0.9509 MB / 1.144 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007662/0.5343, allocations: 374.6 kB / 1.144 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001885/0.5362, allocations: 0.7887 MB / 1.145 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005699/0.5419, allocations: 2.504 MB / 1.147 GB, free: 8.922 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.542, allocations: 0 / 1.147 GB, free: 8.922 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.873e-06/0.542, allocations: 0 / 1.147 GB, free: 8.922 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001002/0.5421, allocations: 0 / 1.147 GB, free: 8.922 MB / 0.9044 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.005869/0.548, allocations: 2.022 MB / 1.149 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.548, allocations: 8.031 kB / 1.149 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003998/0.552, allocations: 0.5725 MB / 1.15 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003422/0.5555, allocations: 1.368 MB / 1.151 GB, free: 4.836 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002589/0.5558, allocations: 115.7 kB / 1.151 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003146/0.5561, allocations: 99.98 kB / 1.151 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003964/0.5601, allocations: 1.354 MB / 1.153 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/0.5601, allocations: 4 kB / 1.153 GB, free: 3.227 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.5603, allocations: 40 kB / 1.153 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/0.5603, allocations: 27.94 kB / 1.153 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004271/0.5646, allocations: 1.429 MB / 1.154 GB, free: 1.734 MB / 0.9044 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.01098/0.5756, allocations: 5.362 MB / 1.159 GB, free: 12.12 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003233/0.5789, allocations: 1.068 MB / 1.16 GB, free: 11.04 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/0.5806, allocations: 0.6027 MB / 1.161 GB, free: 10.44 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000962/0.5815, allocations: 1.069 MB / 1.162 GB, free: 9.129 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001911/0.5835, allocations: 0.6821 MB / 1.163 GB, free: 8.438 MB / 0.92 GB Notification: Performance of pre-optimization done (n=60): time 4.769e-06/0.5835, allocations: 3.938 kB / 1.163 GB, free: 8.434 MB / 0.92 GB Notification: Performance of matching and sorting (n=60): time 0.005369/0.5889, allocations: 1.75 MB / 1.164 GB, free: 6.672 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.589, allocations: 63.95 kB / 1.165 GB, free: 6.598 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002921/0.5919, allocations: 1.394 MB / 1.166 GB, free: 5.195 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001505/0.5921, allocations: 37.7 kB / 1.166 GB, free: 5.152 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000737/0.5928, allocations: 0.6502 MB / 1.167 GB, free: 4.492 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000299/0.5931, allocations: 205 kB / 1.167 GB, free: 4.289 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003815/0.5935, allocations: 166.5 kB / 1.167 GB, free: 4.121 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.5937, allocations: 337.9 kB / 1.167 GB, free: 3.785 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.5953, allocations: 0.5484 MB / 1.168 GB, free: 3.238 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/0.5972, allocations: 0.7535 MB / 1.169 GB, free: 2.406 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003234/0.6004, allocations: 1.201 MB / 1.17 GB, free: 1.145 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.6005, allocations: 4 kB / 1.17 GB, free: 1.141 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004172/0.6046, allocations: 1.432 MB / 1.171 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.6047, allocations: 11.94 kB / 1.171 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.6047, allocations: 4 kB / 1.171 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.327e-05/0.6048, allocations: 8 kB / 1.171 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.6061, allocations: 252 kB / 1.171 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-05/0.6061, allocations: 11.94 kB / 1.171 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.6079, allocations: 210.9 kB / 1.172 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.6081, allocations: 39.97 kB / 1.172 GB, free: 15.17 MB / 0.9356 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.0007464/0.6088, allocations: 358.1 kB / 1.172 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004656/0.6093, allocations: 150.2 kB / 1.172 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004065/0.6134, allocations: 1.411 MB / 1.173 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/0.6134, allocations: 7.984 kB / 1.173 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.6134, allocations: 0 / 1.173 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003279/0.6167, allocations: 1.271 MB / 1.175 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006654/0.6234, allocations: 2.957 MB / 1.178 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.6234, allocations: 0 / 1.178 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.6246, allocations: 212 kB / 1.178 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-05/0.6246, allocations: 4 kB / 1.178 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.826e-05/0.6247, allocations: 24.08 kB / 1.178 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/0.6247, allocations: 15.86 kB / 1.178 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6247, allocations: 0 / 1.178 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005583/0.6303, allocations: 2.23 MB / 1.18 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007622/0.6311, allocations: 355 kB / 1.18 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003422/0.6315, allocations: 15.98 kB / 1.18 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/0.633, allocations: 131.8 kB / 1.181 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.6331, allocations: 56.42 kB / 1.181 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.694e-05/0.6332, allocations: 31.97 kB / 1.181 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001765/0.635, allocations: 0.983 MB / 1.182 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.7e-07/0.635, allocations: 4 kB / 1.182 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001559/0.6366, allocations: 451.4 kB / 1.182 GB, free: 4.332 MB / 0.9356 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.00114/0.6377, allocations: 444.6 kB / 1.182 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003776/0.6415, allocations: 1.274 MB / 1.184 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.6415, allocations: 0 / 1.184 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001835/0.6434, allocations: 0.6558 MB / 1.184 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004002/0.6474, allocations: 0.7259 MB / 1.185 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005877/0.6533, allocations: 3.125 MB / 1.188 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.6544, allocations: 1.225 MB / 1.189 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001604/0.656, allocations: 312.7 kB / 1.19 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004898/0.6565, allocations: 127.4 kB / 1.19 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of SimCode: time 7.92e-07/0.6565, allocations: 0 / 1.19 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of Templates: time 0.05284/0.7093, allocations: 28.66 MB / 1.218 GB, free: 32 kB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)