Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.726/1.726, allocations: 288.4 MB / 303.7 MB, free: 8.848 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.0009891/0.0009892, allocations: 179.9 kB / 372.3 MB, free: 6.434 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.4 MB / 0.631 GB, free: 14.5 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007813/0.0007813, allocations: 91.09 kB / 0.7444 GB, free: 63.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004084, allocations: 15.98 kB / 0.8675 GB, free: 0.7344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2638, allocations: 115.3 MB / 0.9801 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.7273/0.9912, allocations: 231.9 MB / 1.207 GB, free: 5.586 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.03623/1.028, allocations: 16.8 MB / 1.223 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004226/1.032, allocations: 67.69 kB / 1.223 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.004032/1.036, allocations: 0.795 MB / 1.224 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.01261/1.049, allocations: 3.272 MB / 1.227 GB, free: 7.375 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00562/1.054, allocations: 1.381 MB / 1.228 GB, free: 6.719 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.01066/1.065, allocations: 5.822 MB / 1.234 GB, free: 4.363 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003544/1.068, allocations: 1.483 MB / 1.236 GB, free: 3.73 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006272/1.075, allocations: 1.812 MB / 1.237 GB, free: 2.996 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004943/1.08, allocations: 1.413 MB / 1.239 GB, free: 2.434 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.000615/1.08, allocations: 69.47 kB / 1.239 GB, free: 2.434 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008801/1.089, allocations: 2.636 MB / 1.241 GB, free: 1.523 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001431/1.091, allocations: 461.8 kB / 1.242 GB, free: 1.348 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002537/1.093, allocations: 0.9488 MB / 1.243 GB, free: 0.8086 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.006492/1.1, allocations: 2.714 MB / 1.245 GB, free: 184 kB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/1.1, allocations: 0 / 1.245 GB, free: 184 kB / 0.8073 GB Notification: Performance of FrontEnd: time 3.276e-06/1.1, allocations: 1.438 kB / 1.245 GB, free: 184 kB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001065/1.1, allocations: 0 / 1.245 GB, free: 184 kB / 0.8073 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.006608/1.107, allocations: 2.095 MB / 1.247 GB, free: 14.87 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/1.107, allocations: 9.719 kB / 1.247 GB, free: 14.87 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002394/1.109, allocations: 376 kB / 1.248 GB, free: 14.73 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003787/1.113, allocations: 1.413 MB / 1.249 GB, free: 13.89 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/1.113, allocations: 106.1 kB / 1.249 GB, free: 13.84 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002316/1.113, allocations: 141.2 kB / 1.249 GB, free: 13.79 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003594/1.117, allocations: 1.504 MB / 1.251 GB, free: 13.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/1.117, allocations: 5.125 kB / 1.251 GB, free: 13.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/1.117, allocations: 57.94 kB / 1.251 GB, free: 13.05 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.334e-05/1.117, allocations: 53.05 kB / 1.251 GB, free: 13.05 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/1.12, allocations: 1.149 MB / 1.252 GB, free: 12.64 MB / 0.823 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.01028/1.13, allocations: 7.195 MB / 1.259 GB, free: 7.227 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/1.131, allocations: 0.8393 MB / 1.26 GB, free: 6.816 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007179/1.132, allocations: 444.2 kB / 1.26 GB, free: 6.664 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009486/1.133, allocations: 0.7321 MB / 1.261 GB, free: 5.895 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/1.133, allocations: 48.31 kB / 1.261 GB, free: 5.844 MB / 0.823 GB Notification: Performance of pre-optimization done (n=74): time 2.785e-06/1.133, allocations: 0 / 1.261 GB, free: 5.844 MB / 0.823 GB Notification: Performance of matching and sorting (n=74): time 0.006787/1.14, allocations: 2.138 MB / 1.263 GB, free: 4.98 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/1.14, allocations: 63.97 kB / 1.263 GB, free: 4.914 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002094/1.142, allocations: 1.287 MB / 1.265 GB, free: 4.41 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/1.142, allocations: 43.7 kB / 1.265 GB, free: 4.367 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006489/1.143, allocations: 0.7988 MB / 1.265 GB, free: 3.742 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003135/1.143, allocations: 252.3 kB / 1.266 GB, free: 3.543 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/1.143, allocations: 20.78 kB / 1.266 GB, free: 3.527 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.144, allocations: 338.7 kB / 1.266 GB, free: 3.211 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006156/1.144, allocations: 330.4 kB / 1.266 GB, free: 3.062 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008052/1.145, allocations: 0.5683 MB / 1.267 GB, free: 2.613 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/1.146, allocations: 0.8746 MB / 1.268 GB, free: 2.055 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.146, allocations: 3 kB / 1.268 GB, free: 2.055 MB / 0.823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002717/1.149, allocations: 1.274 MB / 1.269 GB, free: 1.398 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001701/1.149, allocations: 232.4 kB / 1.269 GB, free: 1.109 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/1.149, allocations: 5 kB / 1.269 GB, free: 1.109 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001923/1.151, allocations: 421.4 kB / 1.27 GB, free: 0.918 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/1.152, allocations: 159.3 kB / 1.27 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/1.154, allocations: 2.056 MB / 1.272 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/1.155, allocations: 183.3 kB / 1.272 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/1.156, allocations: 41.73 kB / 1.272 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/1.156, allocations: 2.844 kB / 1.272 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002013/1.158, allocations: 1.056 MB / 1.273 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/1.158, allocations: 9.281 kB / 1.273 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/1.159, allocations: 374.1 kB / 1.273 GB, free: 14.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006026/1.16, allocations: 155 kB / 1.273 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003754/1.164, allocations: 3.866 MB / 1.277 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/1.165, allocations: 171.2 kB / 1.277 GB, free: 9.922 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-05/1.166, allocations: 38.16 kB / 1.277 GB, free: 9.887 MB / 0.8386 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.001199/1.167, allocations: 464.8 kB / 1.278 GB, free: 9.422 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003704/1.167, allocations: 158.1 kB / 1.278 GB, free: 9.266 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/1.17, allocations: 1.206 MB / 1.279 GB, free: 8.043 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/1.17, allocations: 9.312 kB / 1.279 GB, free: 8.035 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/1.17, allocations: 12 kB / 1.279 GB, free: 8.023 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002348/1.172, allocations: 1.302 MB / 1.28 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005484/1.178, allocations: 2.762 MB / 1.283 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.178, allocations: 0 / 1.283 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004685/1.178, allocations: 108.2 kB / 1.283 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001583/1.18, allocations: 366.2 kB / 1.284 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-05/1.18, allocations: 23.94 kB / 1.284 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/1.182, allocations: 2.031 MB / 1.286 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.182, allocations: 0 / 1.286 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/1.184, allocations: 1.225 MB / 1.287 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009998/1.185, allocations: 342.9 kB / 1.287 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/1.185, allocations: 12 kB / 1.287 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/1.186, allocations: 120.3 kB / 1.287 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/1.186, allocations: 56.36 kB / 1.287 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.555e-05/1.186, allocations: 35.98 kB / 1.287 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001354/1.188, allocations: 0.8661 MB / 1.288 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.9e-07/1.188, allocations: 0 / 1.288 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003055/1.191, allocations: 0.9116 MB / 1.289 GB, free: 13.53 MB / 0.8542 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.0009575/1.192, allocations: 381 kB / 1.289 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003469/1.195, allocations: 1.668 MB / 1.291 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/1.195, allocations: 4 kB / 1.291 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009932/1.196, allocations: 470.8 kB / 1.292 GB, free: 11 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00449/1.201, allocations: 0.7879 MB / 1.292 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005192/1.206, allocations: 3.236 MB / 1.296 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009908/1.207, allocations: 1.34 MB / 1.297 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001706/1.209, allocations: 331.2 kB / 1.297 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/1.209, allocations: 91.44 kB / 1.297 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of SimCode: time 8.72e-07/1.209, allocations: 4 kB / 1.297 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of Templates: time 0.05842/1.267, allocations: 30.67 MB / 1.327 GB, free: 6.758 MB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)