Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.669/1.669, 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.0009648/0.0009649, allocations: 180.2 kB / 378.7 MB, free: 1.035 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.539/1.539, allocations: 205.4 MB / 0.6383 GB, free: 8.227 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.0009082/0.0009079, allocations: 91.25 kB / 0.7527 GB, free: 62.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003848, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.255, allocations: 116.4 MB / 0.9905 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.265/5.52, allocations: 2.343 GB / 3.334 GB, free: 237.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/5.52, allocations: 100.6 kB / 3.334 GB, free: 237.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.896/9.416, allocations: 1.105 GB / 4.438 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.094e-06/9.416, allocations: 0 / 4.438 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002438/9.416, allocations: 57.06 kB / 4.438 GB, free: 106.5 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.006678/9.423, allocations: 2.404 MB / 4.441 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/9.423, allocations: 11.16 kB / 4.441 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/9.425, allocations: 361.7 kB / 4.441 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003709/9.429, allocations: 1.663 MB / 4.443 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.384e-05/9.429, allocations: 114.6 kB / 4.443 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003093/9.429, allocations: 144 kB / 4.443 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002752/9.432, allocations: 1.479 MB / 4.444 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.053e-05/9.432, allocations: 11.12 kB / 4.445 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/9.432, allocations: 55.16 kB / 4.445 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.8e-05/9.432, allocations: 54.05 kB / 4.445 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/9.434, allocations: 1.128 MB / 4.446 GB, free: 104.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 preOpt removeSimpleEquations (simulation): time 0.007324/9.442, allocations: 7.164 MB / 4.453 GB, free: 100.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/9.443, allocations: 0.8581 MB / 4.454 GB, free: 100.6 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005908/9.444, allocations: 451.9 kB / 4.454 GB, free: 100.6 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006322/9.444, allocations: 0.7171 MB / 4.455 GB, free: 99.86 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/9.444, allocations: 41.72 kB / 4.455 GB, free: 99.82 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=77): time 2.995e-06/9.444, allocations: 1.125 kB / 4.455 GB, free: 99.82 MB / 0.9636 GB Notification: Performance of matching and sorting (n=77): time 0.006458/9.451, allocations: 2.363 MB / 4.457 GB, free: 99.36 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/9.451, allocations: 63.08 kB / 4.457 GB, free: 99.3 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/9.452, allocations: 1.283 MB / 4.458 GB, free: 99.13 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.212e-05/9.452, allocations: 45.83 kB / 4.458 GB, free: 99.1 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004191/9.453, allocations: 0.7896 MB / 4.459 GB, free: 98.81 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/9.453, allocations: 266.7 kB / 4.459 GB, free: 98.64 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/9.453, allocations: 18.09 kB / 4.459 GB, free: 98.64 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.248e-05/9.453, allocations: 332.9 kB / 4.46 GB, free: 98.33 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005107/9.454, allocations: 330.2 kB / 4.46 GB, free: 98.33 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/9.454, allocations: 0.6036 MB / 4.461 GB, free: 98.01 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/9.455, allocations: 0.8589 MB / 4.461 GB, free: 97.84 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/9.455, allocations: 3.469 kB / 4.461 GB, free: 97.84 MB / 0.9636 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002072/9.457, allocations: 1.257 MB / 4.463 GB, free: 97.67 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.742e-05/9.457, allocations: 221.1 kB / 4.463 GB, free: 97.42 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/9.457, allocations: 3.781 kB / 4.463 GB, free: 97.42 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/9.459, allocations: 443 kB / 4.463 GB, free: 97.39 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005257/9.46, allocations: 155.6 kB / 4.463 GB, free: 97.38 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/9.461, allocations: 2.116 MB / 4.466 GB, free: 95.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/9.462, allocations: 182.4 kB / 4.466 GB, free: 95.75 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.531e-05/9.462, allocations: 37.67 kB / 4.466 GB, free: 95.75 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/9.462, allocations: 6.875 kB / 4.466 GB, free: 95.75 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001632/9.464, allocations: 1.042 MB / 4.467 GB, free: 95.67 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/9.464, allocations: 3.75 kB / 4.467 GB, free: 95.67 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/9.465, allocations: 402 kB / 4.467 GB, free: 95.64 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/9.466, allocations: 146.9 kB / 4.467 GB, free: 95.63 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/9.468, allocations: 3.902 MB / 4.471 GB, free: 92.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/9.47, allocations: 172.8 kB / 4.471 GB, free: 92.37 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.611e-05/9.47, allocations: 35.97 kB / 4.471 GB, free: 92.37 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 {3 23,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0008741/9.471, allocations: 475.3 kB / 4.472 GB, free: 92.17 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/9.471, allocations: 157.8 kB / 4.472 GB, free: 92.09 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00187/9.473, allocations: 1.19 MB / 4.473 GB, free: 91.96 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/9.473, allocations: 10 kB / 4.473 GB, free: 91.96 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/9.473, allocations: 0 / 4.473 GB, free: 91.96 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001465/9.474, allocations: 1.267 MB / 4.474 GB, free: 91.46 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003947/9.478, allocations: 2.768 MB / 4.477 GB, free: 90.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/9.478, allocations: 2.25 kB / 4.477 GB, free: 90.98 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004243/9.479, allocations: 103.2 kB / 4.477 GB, free: 90.97 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/9.48, allocations: 402.4 kB / 4.478 GB, free: 90.94 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/9.48, allocations: 26.38 kB / 4.478 GB, free: 90.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/9.481, allocations: 2.099 MB / 4.48 GB, free: 89.36 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/9.481, allocations: 3.375 kB / 4.48 GB, free: 89.36 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/9.483, allocations: 1.286 MB / 4.481 GB, free: 89 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006132/9.484, allocations: 340.4 kB / 4.481 GB, free: 88.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/9.484, allocations: 19.56 kB / 4.481 GB, free: 88.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009707/9.485, allocations: 124.3 kB / 4.481 GB, free: 88.81 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/9.485, allocations: 56.27 kB / 4.481 GB, free: 88.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.747e-05/9.485, allocations: 29.59 kB / 4.481 GB, free: 88.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001147/9.486, allocations: 0.8681 MB / 4.482 GB, free: 88.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.61e-07/9.486, allocations: 0 / 4.482 GB, free: 88.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003226/9.49, allocations: 1.108 MB / 4.483 GB, free: 88.56 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 {3 23,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003102/9.493, allocations: 2.324 MB / 4.486 GB, free: 87.77 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002779/9.495, allocations: 1.612 MB / 4.487 GB, free: 87.48 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/9.495, allocations: 0 / 4.487 GB, free: 87.48 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000812/9.496, allocations: 483.8 kB / 4.488 GB, free: 87.45 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004145/9.5, allocations: 0.7941 MB / 4.488 GB, free: 87.44 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004277/9.505, allocations: 3.334 MB / 4.492 GB, free: 85.81 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007026/9.505, allocations: 1.346 MB / 4.493 GB, free: 85.07 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001378/9.507, allocations: 331.2 kB / 4.493 GB, free: 85.01 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/9.507, allocations: 98.94 kB / 4.493 GB, free: 85 MB / 0.9636 GB Notification: Performance of SimCode: time 6.31e-07/9.507, allocations: 0 / 4.493 GB, free: 85 MB / 0.9636 GB Notification: Performance of Templates: time 0.07169/9.579, allocations: 55.45 MB / 4.548 GB, free: 79.07 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)