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.482/2.482, allocations: 287.5 MB / 303.2 MB, free: 8.191 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.001353/0.001353, allocations: 177.9 kB / 371.8 MB, free: 10.75 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.008/2.008, allocations: 205.4 MB / 0.6305 GB, free: 10.53 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.0009193/0.0009194, allocations: 81.23 kB / 0.7438 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004799, allocations: 13.5 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2083, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.162/7.371, allocations: 2.342 GB / 3.321 GB, free: 337.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003615/7.371, allocations: 103.4 kB / 3.321 GB, free: 337.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.553/12.92, allocations: 1.105 GB / 4.426 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.444e-06/12.92, allocations: 0 / 4.426 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000298/12.92, allocations: 56.11 kB / 4.426 GB, free: 121.2 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.009843/12.93, allocations: 2.393 MB / 4.428 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/12.93, allocations: 11.81 kB / 4.428 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003216/12.94, allocations: 369.9 kB / 4.429 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006988/12.94, allocations: 1.662 MB / 4.43 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/12.95, allocations: 106.6 kB / 4.43 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005556/12.95, allocations: 141.2 kB / 4.431 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005478/12.95, allocations: 1.483 MB / 4.432 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-05/12.95, allocations: 5.062 kB / 4.432 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002344/12.95, allocations: 63.27 kB / 4.432 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/12.95, allocations: 54.36 kB / 4.432 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00446/12.96, allocations: 1.13 MB / 4.433 GB, free: 119.7 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.01379/12.97, allocations: 7.137 MB / 4.44 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/12.97, allocations: 0.8545 MB / 4.441 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/12.97, allocations: 444.4 kB / 4.441 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/12.97, allocations: 0.7191 MB / 4.442 GB, free: 115 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/12.97, allocations: 47.06 kB / 4.442 GB, free: 115 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=75): time 3.236e-06/12.97, allocations: 0 / 4.442 GB, free: 115 MB / 0.9636 GB Notification: Performance of matching and sorting (n=75): time 0.01204/12.99, allocations: 2.258 MB / 4.444 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/12.99, allocations: 59.88 kB / 4.444 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/12.99, allocations: 1.286 MB / 4.446 GB, free: 114.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002343/12.99, allocations: 45.42 kB / 4.446 GB, free: 114.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006783/12.99, allocations: 0.7921 MB / 4.447 GB, free: 114 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/12.99, allocations: 258.6 kB / 4.447 GB, free: 113.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.426e-05/12.99, allocations: 17.31 kB / 4.447 GB, free: 113.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.16e-05/12.99, allocations: 343.8 kB / 4.447 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009276/12.99, allocations: 313.2 kB / 4.447 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/12.99, allocations: 0.6023 MB / 4.448 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/12.99, allocations: 0.8573 MB / 4.449 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/12.99, allocations: 0 / 4.449 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003832/13, allocations: 1.228 MB / 4.45 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001281/13, allocations: 226.8 kB / 4.45 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/13, allocations: 7.469 kB / 4.45 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003053/13, allocations: 426.9 kB / 4.451 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/13, allocations: 147.4 kB / 4.451 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/13, allocations: 2.078 MB / 4.453 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/13.01, allocations: 177.2 kB / 4.453 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/13.01, allocations: 43.55 kB / 4.453 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/13.01, allocations: 3.688 kB / 4.453 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002956/13.01, allocations: 1.022 MB / 4.454 GB, free: 111 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/13.01, allocations: 9.344 kB / 4.454 GB, free: 111 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002481/13.01, allocations: 385.2 kB / 4.454 GB, free: 111 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/13.01, allocations: 140.8 kB / 4.455 GB, free: 111 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00405/13.02, allocations: 3.863 MB / 4.458 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002438/13.02, allocations: 178.4 kB / 4.459 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/13.02, allocations: 40.25 kB / 4.459 GB, free: 107.8 MB / 0.9636 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 {2 22,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001234/13.02, allocations: 467.2 kB / 4.459 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004809/13.02, allocations: 163.7 kB / 4.459 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/13.03, allocations: 1.166 MB / 4.46 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/13.03, allocations: 9.375 kB / 4.46 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/13.03, allocations: 6.359 kB / 4.46 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002514/13.03, allocations: 1.248 MB / 4.462 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007011/13.04, allocations: 2.739 MB / 4.464 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/13.04, allocations: 2.969 kB / 4.464 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008313/13.04, allocations: 105.1 kB / 4.464 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002453/13.04, allocations: 382.1 kB / 4.465 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/13.04, allocations: 20.59 kB / 4.465 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/13.04, allocations: 2.085 MB / 4.467 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/13.04, allocations: 3.25 kB / 4.467 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003135/13.04, allocations: 1.256 MB / 4.468 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/13.05, allocations: 340.1 kB / 4.468 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002922/13.05, allocations: 16.69 kB / 4.468 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001915/13.05, allocations: 125.1 kB / 4.468 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/13.05, allocations: 56.14 kB / 4.468 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.741e-05/13.05, allocations: 31 kB / 4.468 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001732/13.05, allocations: 0.8667 MB / 4.469 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4.91e-07/13.05, allocations: 0 / 4.469 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005054/13.05, allocations: 1.096 MB / 4.47 GB, free: 104.2 MB / 0.9636 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 {2 22,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004228/13.06, allocations: 2.295 MB / 4.473 GB, free: 103.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00492/13.06, allocations: 1.616 MB / 4.474 GB, free: 103.2 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/13.06, allocations: 0 / 4.474 GB, free: 103.2 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001636/13.07, allocations: 0.4883 MB / 4.475 GB, free: 103.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007638/13.07, allocations: 0.8046 MB / 4.475 GB, free: 103.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006251/13.08, allocations: 3.268 MB / 4.479 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009982/13.08, allocations: 1.346 MB / 4.48 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002277/13.08, allocations: 325.2 kB / 4.48 GB, free: 100.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003578/13.08, allocations: 95.45 kB / 4.48 GB, free: 100.8 MB / 0.9636 GB Notification: Performance of SimCode: time 1.062e-06/13.08, allocations: 0 / 4.48 GB, free: 100.8 MB / 0.9636 GB Notification: Performance of Templates: time 0.1198/13.2, allocations: 54.3 MB / 4.533 GB, free: 98.5 MB / 0.9636 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)