Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.274/1.274, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009697/0.0009697, allocations: 172.9 kB / 327.6 MB, free: 2.137 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.4 MB / 0.5785 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007205/0.0007205, allocations: 91.48 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003426, allocations: 13.34 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1776, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.121/4.298, allocations: 2.459 GB / 3.36 GB, free: 97.04 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/4.299, allocations: 101.9 kB / 3.36 GB, free: 96.94 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.017/7.315, allocations: 1.074 GB / 4.434 GB, free: 21.71 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.064e-06/7.315, allocations: 0 / 4.434 GB, free: 21.71 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002413/7.316, allocations: 59.27 kB / 4.434 GB, free: 21.66 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.006367/7.322, allocations: 2.397 MB / 4.436 GB, free: 19.23 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/7.322, allocations: 12.03 kB / 4.436 GB, free: 19.21 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/7.324, allocations: 370.1 kB / 4.437 GB, free: 18.85 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003704/7.328, allocations: 1.662 MB / 4.438 GB, free: 17.14 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-05/7.328, allocations: 116 kB / 4.438 GB, free: 17.02 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003005/7.328, allocations: 140 kB / 4.439 GB, free: 16.89 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002656/7.331, allocations: 1.491 MB / 4.44 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/7.331, allocations: 3.938 kB / 4.44 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/7.331, allocations: 56 kB / 4.44 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.742e-05/7.331, allocations: 58.66 kB / 4.44 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002001/7.333, allocations: 1.132 MB / 4.441 GB, free: 14.07 MB / 0.8855 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.007629/7.341, allocations: 7.174 MB / 4.448 GB, free: 6.352 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/7.342, allocations: 0.8528 MB / 4.449 GB, free: 5.465 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005707/7.343, allocations: 444 kB / 4.45 GB, free: 5.031 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006322/7.343, allocations: 0.7162 MB / 4.45 GB, free: 4.168 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/7.343, allocations: 47.16 kB / 4.45 GB, free: 4.113 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=77): time 2.825e-06/7.343, allocations: 0 / 4.45 GB, free: 4.113 MB / 0.8855 GB Notification: Performance of matching and sorting (n=77): time 0.00626/7.35, allocations: 2.352 MB / 4.453 GB, free: 1.688 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/7.35, allocations: 60.06 kB / 4.453 GB, free: 1.617 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/7.351, allocations: 1.29 MB / 4.454 GB, free: 324 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.724e-05/7.351, allocations: 45.7 kB / 4.454 GB, free: 272 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005811/7.352, allocations: 0.7979 MB / 4.455 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/7.352, allocations: 264.1 kB / 4.455 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/7.352, allocations: 16 kB / 4.455 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001148/7.352, allocations: 337.9 kB / 4.455 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005816/7.353, allocations: 321.8 kB / 4.456 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007988/7.354, allocations: 0.6118 MB / 4.456 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/7.355, allocations: 0.8573 MB / 4.457 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/7.355, allocations: 4 kB / 4.457 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002464/7.358, allocations: 1.247 MB / 4.458 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001494/7.358, allocations: 222.6 kB / 4.459 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/7.358, allocations: 4 kB / 4.459 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/7.36, allocations: 438.1 kB / 4.459 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/7.36, allocations: 143.8 kB / 4.459 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/7.362, allocations: 2.115 MB / 4.461 GB, free: 8.551 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/7.363, allocations: 187 kB / 4.461 GB, free: 8.367 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-05/7.363, allocations: 39.98 kB / 4.461 GB, free: 8.328 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/7.363, allocations: 7.938 kB / 4.461 GB, free: 8.32 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001776/7.365, allocations: 1.037 MB / 4.462 GB, free: 7.273 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/7.365, allocations: 4 kB / 4.462 GB, free: 7.27 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/7.366, allocations: 414.9 kB / 4.463 GB, free: 6.855 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/7.367, allocations: 147.8 kB / 4.463 GB, free: 6.711 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003098/7.37, allocations: 3.898 MB / 4.467 GB, free: 2.516 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/7.372, allocations: 179.2 kB / 4.467 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.96e-05/7.372, allocations: 36 kB / 4.467 GB, free: 2.305 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * 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 {3 23,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0008931/7.373, allocations: 472.6 kB / 4.467 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003171/7.373, allocations: 158.1 kB / 4.468 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/7.375, allocations: 1.187 MB / 4.469 GB, free: 480 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/7.375, allocations: 15.92 kB / 4.469 GB, free: 464 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/7.375, allocations: 0 / 4.469 GB, free: 464 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001602/7.377, allocations: 1.269 MB / 4.47 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004643/7.381, allocations: 2.765 MB / 4.473 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/7.381, allocations: 0 / 4.473 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004385/7.382, allocations: 108.2 kB / 4.473 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001427/7.383, allocations: 390.2 kB / 4.473 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.416e-05/7.383, allocations: 23.98 kB / 4.473 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/7.385, allocations: 2.106 MB / 4.475 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/7.385, allocations: 4 kB / 4.475 GB, free: 9.52 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/7.387, allocations: 1.28 MB / 4.476 GB, free: 8.18 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008664/7.388, allocations: 350.8 kB / 4.477 GB, free: 7.816 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003183/7.388, allocations: 16 kB / 4.477 GB, free: 7.801 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/7.389, allocations: 123.7 kB / 4.477 GB, free: 7.68 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/7.389, allocations: 62.22 kB / 4.477 GB, free: 7.621 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/7.389, allocations: 35.98 kB / 4.477 GB, free: 7.586 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001459/7.391, allocations: 0.8703 MB / 4.478 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.21e-07/7.391, allocations: 0 / 4.478 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003731/7.395, allocations: 1.109 MB / 4.479 GB, free: 5.609 MB / 0.9167 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 (48): * Single equations (assignments): 43 * 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 {3 23,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003564/7.398, allocations: 2.318 MB / 4.481 GB, free: 3.176 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003021/7.401, allocations: 1.591 MB / 4.483 GB, free: 1.559 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/7.401, allocations: 0 / 4.483 GB, free: 1.559 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008975/7.402, allocations: 493.1 kB / 4.483 GB, free: 1.082 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004469/7.407, allocations: 0.8066 MB / 4.484 GB, free: 288 kB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4649/7.872, allocations: 3.35 MB / 4.487 GB, free: 131.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007282/7.872, allocations: 1.343 MB / 4.489 GB, free: 130.4 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001498/7.874, allocations: 326.3 kB / 4.489 GB, free: 130.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/7.874, allocations: 94.11 kB / 4.489 GB, free: 130.4 MB / 0.9167 GB Notification: Performance of SimCode: time 8.11e-07/7.874, allocations: 0 / 4.489 GB, free: 130.4 MB / 0.9167 GB Notification: Performance of Templates: time 0.07766/7.952, allocations: 55.52 MB / 4.543 GB, free: 129.4 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)