Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 293 MB / 309 MB, free: 4.793 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.001159/0.00116, allocations: 172 kB / 378.7 MB, free: 0.9883 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.51/1.51, allocations: 205.4 MB / 0.6383 GB, free: 9.133 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.0009089/0.0009088, allocations: 91.45 kB / 0.7527 GB, free: 62.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003918, allocations: 16 kB / 0.8768 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2526, allocations: 116.4 MB / 0.9904 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.512/5.764, allocations: 2.335 GB / 3.326 GB, free: 244.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/5.765, allocations: 100.4 kB / 3.326 GB, free: 244.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.307/9.072, allocations: 0.9979 GB / 4.324 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.894e-06/9.072, allocations: 0 / 4.324 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002329/9.072, allocations: 47.47 kB / 4.324 GB, free: 114.6 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.00616/9.078, allocations: 2.16 MB / 4.326 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/9.078, allocations: 9.5 kB / 4.326 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002073/9.08, allocations: 350 kB / 4.326 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003842/9.084, allocations: 1.608 MB / 4.328 GB, free: 113.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.713e-05/9.084, allocations: 89.97 kB / 4.328 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003141/9.085, allocations: 117.1 kB / 4.328 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/9.087, allocations: 1.187 MB / 4.329 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.891e-05/9.087, allocations: 6.5 kB / 4.329 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/9.087, allocations: 45.8 kB / 4.329 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.557e-05/9.087, allocations: 46.88 kB / 4.329 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/9.089, allocations: 0.9376 MB / 4.33 GB, free: 113.2 MB / 0.9636 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.006826/9.096, allocations: 5.495 MB / 4.336 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/9.097, allocations: 0.8742 MB / 4.336 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005554/9.098, allocations: 418.8 kB / 4.337 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004422/9.098, allocations: 0.6048 MB / 4.337 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/9.098, allocations: 49.27 kB / 4.337 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=70): time 2.515e-06/9.098, allocations: 5.562 kB / 4.337 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=70): time 0.003277/9.101, allocations: 1.451 MB / 4.339 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/9.101, allocations: 60.81 kB / 4.339 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/9.103, allocations: 1.175 MB / 4.34 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/9.103, allocations: 47.02 kB / 4.34 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004815/9.104, allocations: 0.6862 MB / 4.341 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000227/9.104, allocations: 249.6 kB / 4.341 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/9.104, allocations: 13.19 kB / 4.341 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.213e-05/9.104, allocations: 334.9 kB / 4.341 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000499/9.105, allocations: 278.3 kB / 4.342 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006872/9.105, allocations: 0.5273 MB / 4.342 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/9.106, allocations: 0.7031 MB / 4.343 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/9.106, allocations: 0 / 4.343 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00227/9.109, allocations: 1.01 MB / 4.344 GB, free: 108 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.085e-05/9.109, allocations: 161.7 kB / 4.344 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/9.109, allocations: 2.156 kB / 4.344 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007069/9.11, allocations: 155.5 kB / 4.344 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007741/9.11, allocations: 165.6 kB / 4.344 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009688/9.111, allocations: 1.758 MB / 4.346 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/9.113, allocations: 167.1 kB / 4.346 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/9.113, allocations: 30.14 kB / 4.346 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/9.113, allocations: 5.094 kB / 4.346 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001558/9.115, allocations: 0.8028 MB / 4.347 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/9.115, allocations: 5.5 kB / 4.347 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003301/9.115, allocations: 90.52 kB / 4.347 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006095/9.116, allocations: 158.8 kB / 4.347 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002576/9.118, allocations: 3.133 MB / 4.35 GB, free: 103.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/9.12, allocations: 155.4 kB / 4.35 GB, free: 103.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.449e-05/9.12, allocations: 32.25 kB / 4.35 GB, free: 103.4 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.00083/9.121, allocations: 436.8 kB / 4.351 GB, free: 103.2 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/9.121, allocations: 146.6 kB / 4.351 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/9.123, allocations: 0.9707 MB / 4.352 GB, free: 103 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/9.123, allocations: 13.08 kB / 4.352 GB, free: 103 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/9.123, allocations: 0 / 4.352 GB, free: 103 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001281/9.124, allocations: 1.087 MB / 4.353 GB, free: 102.6 MB / 0.9636 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 postOpt removeSimpleEquations (simulation): time 0.004548/9.129, allocations: 2.454 MB / 4.355 GB, free: 102.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/9.129, allocations: 0 / 4.355 GB, free: 102.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006984/9.13, allocations: 166.7 kB / 4.356 GB, free: 102.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002027/9.13, allocations: 82.61 kB / 4.356 GB, free: 102.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.183e-05/9.13, allocations: 24.56 kB / 4.356 GB, free: 102.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006991/9.131, allocations: 1.744 MB / 4.357 GB, free: 100.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/9.131, allocations: 3.125 kB / 4.357 GB, free: 100.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/9.133, allocations: 1.489 MB / 4.359 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007923/9.134, allocations: 324.1 kB / 4.359 GB, free: 99.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003161/9.134, allocations: 16.22 kB / 4.359 GB, free: 99.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/9.135, allocations: 125.7 kB / 4.359 GB, free: 99.97 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/9.136, allocations: 47.78 kB / 4.359 GB, free: 99.97 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.896e-05/9.136, allocations: 34.75 kB / 4.359 GB, free: 99.97 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001384/9.137, allocations: 0.808 MB / 4.36 GB, free: 99.86 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.5e-07/9.137, allocations: 0 / 4.36 GB, free: 99.86 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003476/9.14, allocations: 0.9833 MB / 4.361 GB, free: 99.8 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003063/9.144, allocations: 2.054 MB / 4.363 GB, free: 99.21 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002764/9.146, allocations: 1.407 MB / 4.365 GB, free: 98.97 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/9.146, allocations: 1.656 kB / 4.365 GB, free: 98.97 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007641/9.147, allocations: 414.8 kB / 4.365 GB, free: 98.97 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004385/9.152, allocations: 0.7975 MB / 4.366 GB, free: 98.96 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004569/9.156, allocations: 3.271 MB / 4.369 GB, free: 97.48 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/9.157, allocations: 1.283 MB / 4.37 GB, free: 96.76 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001657/9.159, allocations: 350.7 kB / 4.37 GB, free: 96.75 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/9.159, allocations: 100.9 kB / 4.371 GB, free: 96.74 MB / 0.9636 GB Notification: Performance of SimCode: time 3.41e-07/9.159, allocations: 3.5 kB / 4.371 GB, free: 96.74 MB / 0.9636 GB Notification: Performance of Templates: time 0.07756/9.237, allocations: 48.78 MB / 4.418 GB, free: 94.75 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)