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.705/1.705, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001301/0.001301, allocations: 172.9 kB / 361.4 MB, free: 6.828 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.637/1.637, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.0008394/0.0008393, allocations: 96.02 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.026e-05/2.06e-05, allocations: 4 kB / 0.8518 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7524/0.7524, allocations: 115.3 MB / 0.9644 GB, free: 78.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.408/6.16, allocations: 2.341 GB / 3.306 GB, free: 185.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/6.16, allocations: 95.08 kB / 3.306 GB, free: 185.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.144/10.3, allocations: 1.103 GB / 4.408 GB, free: 128 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.322e-06/10.3, allocations: 0 / 4.408 GB, free: 128 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002727/10.3, allocations: 49.25 kB / 4.408 GB, free: 128 MB / 0.948 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.006368/10.31, allocations: 2.103 MB / 4.41 GB, free: 126.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/10.31, allocations: 10.28 kB / 4.41 GB, free: 126.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002411/10.31, allocations: 365.8 kB / 4.411 GB, free: 126.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004161/10.32, allocations: 1.648 MB / 4.412 GB, free: 125.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-05/10.32, allocations: 45.41 kB / 4.412 GB, free: 125.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003452/10.32, allocations: 87.75 kB / 4.413 GB, free: 125.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001915/10.32, allocations: 0.931 MB / 4.413 GB, free: 125.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/10.32, allocations: 1.221 MB / 4.415 GB, free: 124.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/10.32, allocations: 2.156 kB / 4.415 GB, free: 124.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-05/10.32, allocations: 3.625 kB / 4.415 GB, free: 124.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.55e-05/10.32, allocations: 48.39 kB / 4.415 GB, free: 124.9 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.0073/10.33, allocations: 6.878 MB / 4.421 GB, free: 119.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/10.33, allocations: 0.805 MB / 4.422 GB, free: 119.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004406/10.33, allocations: 380.4 kB / 4.423 GB, free: 119.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006836/10.33, allocations: 0.7262 MB / 4.423 GB, free: 118.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/10.33, allocations: 39.09 kB / 4.423 GB, free: 118.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=75): time 3.377e-06/10.33, allocations: 0 / 4.423 GB, free: 118.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=75): time 0.002978/10.33, allocations: 1.153 MB / 4.424 GB, free: 118.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/10.33, allocations: 59.47 kB / 4.424 GB, free: 118 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/10.34, allocations: 0.9341 MB / 4.425 GB, free: 117.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.979e-05/10.34, allocations: 25.7 kB / 4.425 GB, free: 117.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004661/10.34, allocations: 0.8046 MB / 4.426 GB, free: 117 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/10.34, allocations: 252.8 kB / 4.426 GB, free: 116.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/10.34, allocations: 3.281 kB / 4.426 GB, free: 116.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.259e-05/10.34, allocations: 338.8 kB / 4.427 GB, free: 116.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/10.34, allocations: 264.2 kB / 4.427 GB, free: 116.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004953/10.34, allocations: 0.5504 MB / 4.428 GB, free: 115.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007051/10.34, allocations: 437.1 kB / 4.428 GB, free: 115.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/10.34, allocations: 0 / 4.428 GB, free: 115.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002585/10.34, allocations: 1.25 MB / 4.429 GB, free: 115.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003628/10.34, allocations: 1.954 MB / 4.431 GB, free: 113.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/10.34, allocations: 4.875 kB / 4.431 GB, free: 113.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001384/10.34, allocations: 363.4 kB / 4.431 GB, free: 113.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005475/10.34, allocations: 150 kB / 4.432 GB, free: 113.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/10.34, allocations: 2.118 MB / 4.434 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/10.35, allocations: 148.8 kB / 4.434 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.24e-05/10.35, allocations: 38.14 kB / 4.434 GB, free: 111.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/10.35, allocations: 0 / 4.434 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002243/10.35, allocations: 1.036 MB / 4.435 GB, free: 110.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/10.35, allocations: 7.484 kB / 4.435 GB, free: 110.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/10.35, allocations: 363.1 kB / 4.435 GB, free: 110.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/10.35, allocations: 148.9 kB / 4.435 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/10.35, allocations: 3.781 MB / 4.439 GB, free: 107.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/10.35, allocations: 137 kB / 4.439 GB, free: 107.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.166e-05/10.35, allocations: 41.19 kB / 4.439 GB, free: 107.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002458/10.35, allocations: 130.2 kB / 4.439 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/10.35, allocations: 139.9 kB / 4.439 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002775/10.36, allocations: 1.217 MB / 4.441 GB, free: 106.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/10.36, allocations: 7.344 kB / 4.441 GB, free: 106.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/10.36, allocations: 0 / 4.441 GB, free: 106.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002132/10.36, allocations: 1.321 MB / 4.442 GB, free: 105.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004207/10.36, allocations: 2.504 MB / 4.444 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/10.36, allocations: 0 / 4.444 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004446/10.36, allocations: 106.4 kB / 4.444 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/10.37, allocations: 355.1 kB / 4.445 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/10.37, allocations: 10.44 kB / 4.445 GB, free: 104.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/10.37, allocations: 2.096 MB / 4.447 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/10.37, allocations: 0 / 4.447 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/10.37, allocations: 1.315 MB / 4.448 GB, free: 102.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006559/10.37, allocations: 329.5 kB / 4.448 GB, free: 101.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/10.37, allocations: 0 / 4.448 GB, free: 101.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009799/10.37, allocations: 109.8 kB / 4.449 GB, free: 101.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/10.37, allocations: 59.31 kB / 4.449 GB, free: 101.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.028e-05/10.37, allocations: 39.39 kB / 4.449 GB, free: 101.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009466/10.37, allocations: 0.6984 MB / 4.449 GB, free: 101.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.81e-07/10.37, allocations: 2.094 kB / 4.449 GB, free: 101.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003458/10.38, allocations: 1.048 MB / 4.45 GB, free: 101.2 MB / 0.948 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 () * 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 21,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003737/10.38, allocations: 2.52 MB / 4.453 GB, free: 100.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002736/10.38, allocations: 1.453 MB / 4.454 GB, free: 99.62 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/10.38, allocations: 0 / 4.454 GB, free: 99.62 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008067/10.38, allocations: 422.2 kB / 4.455 GB, free: 99.48 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004148/10.39, allocations: 0.7212 MB / 4.455 GB, free: 99.33 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/10.39, allocations: 1.931 MB / 4.457 GB, free: 98.45 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007764/10.39, allocations: 1.386 MB / 4.459 GB, free: 97.67 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001875/10.39, allocations: 410.2 kB / 4.459 GB, free: 97.59 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/10.39, allocations: 66.19 kB / 4.459 GB, free: 97.58 MB / 0.948 GB Notification: Performance of SimCode: time 1.744e-06/10.39, allocations: 0 / 4.459 GB, free: 97.58 MB / 0.948 GB Notification: Performance of Templates: time 0.05969/10.45, allocations: 41.75 MB / 4.5 GB, free: 58.45 MB / 0.948 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)