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.739/1.739, allocations: 288.4 MB / 303.4 MB, free: 8.148 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.001127/0.001128, allocations: 186.2 kB / 372 MB, free: 10.29 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.55/1.55, allocations: 205.4 MB / 0.6307 GB, free: 10.03 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.0008337/0.0008337, allocations: 86.42 kB / 0.7441 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005326/0.0005327, allocations: 12.78 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2127, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.7319/0.9447, allocations: 231.9 MB / 1.206 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02353/0.9683, allocations: 16.81 MB / 1.222 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003304/0.9716, allocations: 68.88 kB / 1.223 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002933/0.9746, allocations: 0.728 MB / 1.223 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.01006/0.9846, allocations: 2.806 MB / 1.226 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.005248/0.9899, allocations: 1.369 MB / 1.227 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.009282/0.9992, allocations: 5.781 MB / 1.233 GB, free: 7.387 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002889/1.002, allocations: 1.301 MB / 1.234 GB, free: 6.066 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005658/1.008, allocations: 1.762 MB / 1.236 GB, free: 4.297 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004236/1.012, allocations: 1.4 MB / 1.237 GB, free: 2.891 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0004712/1.013, allocations: 68 kB / 1.237 GB, free: 2.824 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005864/1.019, allocations: 1.54 MB / 1.239 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0007362/1.019, allocations: 466.2 kB / 1.239 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001206/1.02, allocations: 432.6 kB / 1.24 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0044/1.025, allocations: 2.591 MB / 1.242 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.025, allocations: 0 / 1.242 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.424e-06/1.025, allocations: 0 / 1.242 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.609e-05/1.025, allocations: 0 / 1.242 GB, free: 13.8 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.0042/1.029, allocations: 2.125 MB / 1.244 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/1.029, allocations: 16.02 kB / 1.244 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/1.031, allocations: 377.1 kB / 1.245 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00239/1.033, allocations: 1.348 MB / 1.246 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.154e-05/1.033, allocations: 102.7 kB / 1.246 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/1.034, allocations: 136 kB / 1.246 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002601/1.036, allocations: 1.51 MB / 1.248 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/1.036, allocations: 0 / 1.248 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/1.036, allocations: 56 kB / 1.248 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.402e-05/1.036, allocations: 54.62 kB / 1.248 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/1.039, allocations: 1.158 MB / 1.249 GB, free: 6.742 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.008573/1.047, allocations: 7.188 MB / 1.256 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/1.049, allocations: 0.8293 MB / 1.257 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007375/1.049, allocations: 442.6 kB / 1.257 GB, free: 13.69 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008963/1.05, allocations: 0.7278 MB / 1.258 GB, free: 12.82 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/1.05, allocations: 47.22 kB / 1.258 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=74): time 3.286e-06/1.05, allocations: 7.875 kB / 1.258 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of matching and sorting (n=74): time 0.006686/1.057, allocations: 2.126 MB / 1.26 GB, free: 10.56 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/1.057, allocations: 60.06 kB / 1.26 GB, free: 10.49 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/1.059, allocations: 1.293 MB / 1.261 GB, free: 9.184 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/1.059, allocations: 45.7 kB / 1.261 GB, free: 9.133 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005933/1.06, allocations: 0.7977 MB / 1.262 GB, free: 8.324 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002589/1.06, allocations: 260.3 kB / 1.262 GB, free: 8.066 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/1.06, allocations: 16 kB / 1.262 GB, free: 8.051 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.06, allocations: 334 kB / 1.263 GB, free: 7.719 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006087/1.061, allocations: 337.8 kB / 1.263 GB, free: 7.391 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007569/1.061, allocations: 0.5594 MB / 1.264 GB, free: 6.734 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000702/1.062, allocations: 414.8 kB / 1.264 GB, free: 6.332 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/1.062, allocations: 0 / 1.264 GB, free: 6.332 MB / 0.7917 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002655/1.065, allocations: 1.271 MB / 1.265 GB, free: 5.047 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001586/1.065, allocations: 236.7 kB / 1.266 GB, free: 4.742 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/1.065, allocations: 4 kB / 1.266 GB, free: 4.738 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/1.067, allocations: 421.1 kB / 1.266 GB, free: 4.32 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006075/1.068, allocations: 163.7 kB / 1.266 GB, free: 4.16 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/1.069, allocations: 2.051 MB / 1.268 GB, free: 2.031 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/1.071, allocations: 187 kB / 1.268 GB, free: 1.848 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/1.071, allocations: 35.95 kB / 1.268 GB, free: 1.812 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/1.071, allocations: 8 kB / 1.268 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00212/1.073, allocations: 1.056 MB / 1.269 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/1.073, allocations: 8 kB / 1.269 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001571/1.075, allocations: 377.6 kB / 1.27 GB, free: 368 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006159/1.075, allocations: 163.8 kB / 1.27 GB, free: 204 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004084/1.079, allocations: 3.85 MB / 1.274 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/1.081, allocations: 171.1 kB / 1.274 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/1.082, allocations: 39.98 kB / 1.274 GB, free: 11.84 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.001312/1.083, allocations: 477.7 kB / 1.274 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006211/1.083, allocations: 154.1 kB / 1.274 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003393/1.087, allocations: 1.213 MB / 1.276 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/1.087, allocations: 11.98 kB / 1.276 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/1.087, allocations: 4 kB / 1.276 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002616/1.09, allocations: 1.294 MB / 1.277 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005787/1.095, allocations: 2.766 MB / 1.28 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/1.095, allocations: 11.89 kB / 1.28 GB, free: 5.699 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004662/1.096, allocations: 95.89 kB / 1.28 GB, free: 5.605 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001552/1.097, allocations: 375.5 kB / 1.28 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.305e-05/1.097, allocations: 20 kB / 1.28 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/1.099, allocations: 2.034 MB / 1.282 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/1.099, allocations: 4 kB / 1.282 GB, free: 3.098 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/1.101, allocations: 1.21 MB / 1.283 GB, free: 1.832 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009148/1.102, allocations: 338.9 kB / 1.284 GB, free: 1.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003672/1.103, allocations: 19.95 kB / 1.284 GB, free: 1.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/1.104, allocations: 130 kB / 1.284 GB, free: 1.336 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/1.104, allocations: 52.48 kB / 1.284 GB, free: 1.285 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.588e-05/1.104, allocations: 27.98 kB / 1.284 GB, free: 1.258 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001644/1.106, allocations: 0.87 MB / 1.285 GB, free: 400 kB / 0.8073 GB Notification: Performance of sort global known variables: time 2.51e-07/1.106, allocations: 0 / 1.285 GB, free: 400 kB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003362/1.109, allocations: 0.9038 MB / 1.286 GB, free: 15.48 MB / 0.823 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.0009586/1.11, allocations: 357.3 kB / 1.286 GB, free: 15.14 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003778/1.114, allocations: 1.669 MB / 1.288 GB, free: 13.45 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/1.114, allocations: 4.375 kB / 1.288 GB, free: 13.44 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/1.115, allocations: 482.2 kB / 1.288 GB, free: 12.97 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004525/1.12, allocations: 0.7991 MB / 1.289 GB, free: 12.18 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006002/1.126, allocations: 3.239 MB / 1.292 GB, free: 8.883 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/1.127, allocations: 1.34 MB / 1.293 GB, free: 7.512 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001754/1.129, allocations: 330.6 kB / 1.294 GB, free: 7.191 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/1.129, allocations: 99.42 kB / 1.294 GB, free: 7.094 MB / 0.823 GB Notification: Performance of SimCode: time 1.473e-06/1.129, allocations: 0 / 1.294 GB, free: 7.094 MB / 0.823 GB Notification: Performance of Templates: time 0.0638/1.193, allocations: 30.19 MB / 1.323 GB, free: 9.199 MB / 0.8542 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)