Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.785/2.785, allocations: 287.5 MB / 302.4 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001469/0.001469, allocations: 186.3 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.126/2.126, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009475/0.0009475, allocations: 88.05 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007536/0.0007538, allocations: 12.97 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2866, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 1.184/1.471, allocations: 231.9 MB / 1.205 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.03561/1.506, allocations: 16.81 MB / 1.221 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00341/1.51, allocations: 66.16 kB / 1.221 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00405/1.514, allocations: 0.7347 MB / 1.222 GB, free: 176 kB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01262/1.526, allocations: 2.803 MB / 1.225 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.006389/1.533, allocations: 1.362 MB / 1.226 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01132/1.544, allocations: 5.788 MB / 1.232 GB, free: 8.5 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003616/1.548, allocations: 1.297 MB / 1.233 GB, free: 7.184 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00653/1.554, allocations: 1.758 MB / 1.235 GB, free: 5.418 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00409/1.559, allocations: 1.396 MB / 1.236 GB, free: 4.016 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0006446/1.559, allocations: 68 kB / 1.236 GB, free: 3.949 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007107/1.566, allocations: 1.547 MB / 1.238 GB, free: 2.398 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.00139/1.568, allocations: 466.2 kB / 1.238 GB, free: 1.941 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001177/1.569, allocations: 436.6 kB / 1.239 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.006509/1.576, allocations: 2.587 MB / 1.241 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.576, allocations: 0 / 1.241 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.046e-06/1.576, allocations: 0 / 1.241 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.319e-05/1.576, allocations: 0 / 1.241 GB, free: 14.92 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.006712/1.583, allocations: 2.125 MB / 1.243 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/1.583, allocations: 8.031 kB / 1.243 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002744/1.585, allocations: 381.9 kB / 1.244 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004179/1.59, allocations: 1.352 MB / 1.245 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/1.59, allocations: 102.7 kB / 1.245 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003376/1.59, allocations: 143.9 kB / 1.245 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00439/1.594, allocations: 1.507 MB / 1.247 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.355e-05/1.595, allocations: 0 / 1.247 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002047/1.595, allocations: 60 kB / 1.247 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/1.595, allocations: 62.53 kB / 1.247 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00393/1.599, allocations: 1.154 MB / 1.248 GB, free: 7.852 MB / 0.7761 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.01368/1.613, allocations: 7.181 MB / 1.255 GB, free: 104 kB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002278/1.615, allocations: 0.829 MB / 1.256 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/1.616, allocations: 446.6 kB / 1.256 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001374/1.618, allocations: 0.7357 MB / 1.257 GB, free: 13.92 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.923e-05/1.618, allocations: 39.22 kB / 1.257 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=74): time 4.809e-06/1.618, allocations: 0 / 1.257 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of matching and sorting (n=74): time 0.01274/1.63, allocations: 2.118 MB / 1.259 GB, free: 11.68 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/1.631, allocations: 67.95 kB / 1.259 GB, free: 11.61 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/1.633, allocations: 1.297 MB / 1.26 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002076/1.633, allocations: 41.7 kB / 1.26 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009457/1.634, allocations: 0.7938 MB / 1.261 GB, free: 9.445 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000391/1.635, allocations: 256.3 kB / 1.261 GB, free: 9.191 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.158e-05/1.635, allocations: 16 kB / 1.261 GB, free: 9.176 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001749/1.635, allocations: 345.9 kB / 1.262 GB, free: 8.832 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/1.636, allocations: 329.8 kB / 1.262 GB, free: 8.512 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/1.638, allocations: 0.5669 MB / 1.262 GB, free: 7.848 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/1.639, allocations: 422.8 kB / 1.263 GB, free: 7.438 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.639, allocations: 0 / 1.263 GB, free: 7.438 MB / 0.7917 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004359/1.643, allocations: 1.263 MB / 1.264 GB, free: 6.16 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002183/1.644, allocations: 238.2 kB / 1.264 GB, free: 5.859 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/1.644, allocations: 4 kB / 1.264 GB, free: 5.855 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003304/1.647, allocations: 414.1 kB / 1.265 GB, free: 5.441 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/1.648, allocations: 159.7 kB / 1.265 GB, free: 5.285 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002586/1.651, allocations: 2.056 MB / 1.267 GB, free: 3.152 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/1.653, allocations: 191.7 kB / 1.267 GB, free: 2.965 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/1.653, allocations: 43.98 kB / 1.267 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/1.653, allocations: 4 kB / 1.267 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003341/1.657, allocations: 1.049 MB / 1.268 GB, free: 1.859 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/1.657, allocations: 8 kB / 1.268 GB, free: 1.852 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002579/1.659, allocations: 374.5 kB / 1.268 GB, free: 1.477 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/1.66, allocations: 159.7 kB / 1.269 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005274/1.666, allocations: 3.85 MB / 1.272 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/1.668, allocations: 183.1 kB / 1.273 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/1.668, allocations: 36 kB / 1.273 GB, free: 12.95 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (79): * Single equations (assignments): 75 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001131/1.669, allocations: 472.8 kB / 1.273 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003928/1.67, allocations: 154.1 kB / 1.273 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004714/1.674, allocations: 1.205 MB / 1.274 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/1.674, allocations: 8 kB / 1.274 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/1.674, allocations: 0 / 1.274 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004142/1.679, allocations: 1.302 MB / 1.276 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007606/1.686, allocations: 2.766 MB / 1.278 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/1.686, allocations: 7.938 kB / 1.278 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008961/1.687, allocations: 107.8 kB / 1.278 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002525/1.69, allocations: 370.5 kB / 1.279 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-05/1.69, allocations: 16 kB / 1.279 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002435/1.692, allocations: 2.036 MB / 1.281 GB, free: 4.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/1.692, allocations: 7.938 kB / 1.281 GB, free: 4.223 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003407/1.696, allocations: 1.214 MB / 1.282 GB, free: 2.953 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/1.697, allocations: 335 kB / 1.282 GB, free: 2.605 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002729/1.697, allocations: 35.88 kB / 1.282 GB, free: 2.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/1.699, allocations: 115.7 kB / 1.282 GB, free: 2.457 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/1.699, allocations: 44.64 kB / 1.283 GB, free: 2.414 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/1.699, allocations: 31.98 kB / 1.283 GB, free: 2.383 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001934/1.701, allocations: 0.87 MB / 1.283 GB, free: 1.516 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.11e-07/1.701, allocations: 0 / 1.283 GB, free: 1.516 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003961/1.705, allocations: 0.9116 MB / 1.284 GB, free: 0.6016 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 20,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001084/1.706, allocations: 362.8 kB / 1.285 GB, free: 260 kB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.005555/1.712, allocations: 1.669 MB / 1.286 GB, free: 14.56 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.712, allocations: 4.125 kB / 1.286 GB, free: 14.55 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001803/1.714, allocations: 482.1 kB / 1.287 GB, free: 14.09 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007104/1.721, allocations: 0.7798 MB / 1.288 GB, free: 13.31 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007242/1.728, allocations: 3.258 MB / 1.291 GB, free: 9.992 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/1.73, allocations: 1.34 MB / 1.292 GB, free: 8.621 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002353/1.732, allocations: 321.1 kB / 1.292 GB, free: 8.309 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003847/1.732, allocations: 99.36 kB / 1.292 GB, free: 8.211 MB / 0.823 GB Notification: Performance of SimCode: time 9.21e-07/1.732, allocations: 0 / 1.292 GB, free: 8.211 MB / 0.823 GB Notification: Performance of Templates: time 0.08524/1.818, allocations: 30.2 MB / 1.322 GB, free: 10.3 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)