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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.729/1.729, allocations: 289.7 MB / 302.3 MB, free: 2.086 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.001183/0.001183, allocations: 182.5 kB / 371.6 MB, free: 3.379 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.789/1.789, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.000937/0.0009367, allocations: 94.38 kB / 0.745 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.551e-05/4.559e-05, allocations: 4 kB / 0.8662 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2963, allocations: 116.3 MB / 0.9798 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.855/7.152, allocations: 2.335 GB / 3.315 GB, free: 266.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/7.152, allocations: 94.86 kB / 3.315 GB, free: 266.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.125/11.28, allocations: 1.005 GB / 4.32 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.235e-06/11.28, allocations: 0 / 4.32 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002011/11.28, allocations: 44.78 kB / 4.32 GB, free: 115.9 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.006092/11.28, allocations: 1.884 MB / 4.322 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/11.28, allocations: 7.312 kB / 4.322 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002288/11.29, allocations: 341.8 kB / 4.323 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004042/11.29, allocations: 1.586 MB / 4.324 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.499e-05/11.29, allocations: 91.25 kB / 4.324 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/11.29, allocations: 117 kB / 4.324 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/11.29, allocations: 1.134 MB / 4.326 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/11.29, allocations: 3.844 kB / 4.326 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/11.29, allocations: 42.31 kB / 4.326 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.286e-05/11.29, allocations: 43.48 kB / 4.326 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/11.29, allocations: 0.8483 MB / 4.326 GB, free: 114.7 MB / 0.9636 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.008086/11.3, allocations: 5.515 MB / 4.332 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/11.3, allocations: 0.8276 MB / 4.333 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004735/11.3, allocations: 374.7 kB / 4.333 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005655/11.3, allocations: 0.6122 MB / 4.334 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/11.3, allocations: 43.97 kB / 4.334 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=70): time 3.676e-06/11.3, allocations: 0 / 4.334 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=70): time 0.001946/11.31, allocations: 0.8167 MB / 4.334 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/11.31, allocations: 63.44 kB / 4.334 GB, free: 111 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/11.31, allocations: 1.029 MB / 4.335 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/11.31, allocations: 50.36 kB / 4.336 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005447/11.31, allocations: 0.6826 MB / 4.336 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/11.31, allocations: 255.1 kB / 4.336 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/11.31, allocations: 10.5 kB / 4.336 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.578e-05/11.31, allocations: 334.3 kB / 4.337 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/11.31, allocations: 238.5 kB / 4.337 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/11.31, allocations: 492.2 kB / 4.337 GB, free: 110 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000482/11.31, allocations: 322.1 kB / 4.338 GB, free: 110 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/11.31, allocations: 0 / 4.338 GB, free: 110 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001674/11.31, allocations: 0.9047 MB / 4.339 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002508/11.31, allocations: 0.9026 MB / 4.34 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/11.31, allocations: 0 / 4.34 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003533/11.31, allocations: 105.6 kB / 4.34 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007446/11.31, allocations: 161.2 kB / 4.34 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000985/11.31, allocations: 1.756 MB / 4.342 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/11.32, allocations: 170.7 kB / 4.342 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-05/11.32, allocations: 33.95 kB / 4.342 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/11.32, allocations: 6.5 kB / 4.342 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001255/11.32, allocations: 0.7291 MB / 4.342 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/11.32, allocations: 6 kB / 4.342 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000235/11.32, allocations: 91.64 kB / 4.343 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005648/11.32, allocations: 152.1 kB / 4.343 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/11.32, allocations: 3.123 MB / 4.346 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/11.32, allocations: 160.9 kB / 4.346 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/11.32, allocations: 34.25 kB / 4.346 GB, free: 104.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 () * 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.0004273/11.32, allocations: 149.7 kB / 4.346 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006457/11.32, allocations: 140 kB / 4.346 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/11.33, allocations: 0.9018 MB / 4.347 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/11.33, allocations: 9.641 kB / 4.347 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/11.33, allocations: 0 / 4.347 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001279/11.33, allocations: 1.018 MB / 4.348 GB, free: 103.7 MB / 0.9636 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 postOpt removeSimpleEquations (simulation): time 0.005682/11.33, allocations: 2.38 MB / 4.35 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/11.33, allocations: 3.031 kB / 4.35 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009957/11.33, allocations: 161.8 kB / 4.351 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002963/11.33, allocations: 83.08 kB / 4.351 GB, free: 103.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.018e-05/11.33, allocations: 21.19 kB / 4.351 GB, free: 103.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008755/11.34, allocations: 1.735 MB / 4.352 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/11.34, allocations: 6.094 kB / 4.352 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002505/11.34, allocations: 1.503 MB / 4.354 GB, free: 101.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/11.34, allocations: 327.7 kB / 4.354 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005284/11.34, allocations: 15.91 kB / 4.354 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001663/11.34, allocations: 125.9 kB / 4.354 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/11.34, allocations: 53.58 kB / 4.354 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.595e-05/11.34, allocations: 26.28 kB / 4.354 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001776/11.34, allocations: 0.8121 MB / 4.355 GB, free: 100.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.31e-07/11.34, allocations: 0 / 4.355 GB, free: 100.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004774/11.35, allocations: 0.9906 MB / 4.356 GB, free: 100.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 () * 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.004578/11.35, allocations: 2.034 MB / 4.358 GB, free: 100.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003298/11.36, allocations: 1.332 MB / 4.359 GB, free: 99.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/11.36, allocations: 0 / 4.359 GB, free: 99.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008116/11.36, allocations: 379 kB / 4.36 GB, free: 99.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005909/11.36, allocations: 0.8064 MB / 4.361 GB, free: 99.88 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007658/11.37, allocations: 2.108 MB / 4.363 GB, free: 99.25 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001857/11.37, allocations: 1.317 MB / 4.364 GB, free: 98.54 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003744/11.38, allocations: 463.9 kB / 4.364 GB, free: 98.52 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/11.38, allocations: 74.91 kB / 4.364 GB, free: 98.51 MB / 0.9636 GB Notification: Performance of SimCode: time 3.456e-06/11.38, allocations: 0 / 4.364 GB, free: 98.51 MB / 0.9636 GB Notification: Performance of Templates: time 0.09848/11.48, allocations: 55.59 MB / 4.419 GB, free: 96.5 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)