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.656/1.656, allocations: 292.6 MB / 307.5 MB, free: 5.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.00122/0.00122, allocations: 183.9 kB / 377.1 MB, free: 1.516 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.633/1.633, allocations: 205.4 MB / 0.6367 GB, free: 8.594 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.0009821/0.0009821, allocations: 96.75 kB / 0.751 GB, free: 62.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003678, allocations: 12 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2967, allocations: 116.3 MB / 0.9884 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.174/6.471, allocations: 2.335 GB / 3.324 GB, free: 208.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003955/6.471, allocations: 102.2 kB / 3.324 GB, free: 208.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.949/10.42, allocations: 1.007 GB / 4.331 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.863e-06/10.42, allocations: 0 / 4.331 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002537/10.42, allocations: 51.81 kB / 4.331 GB, free: 114.7 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.007213/10.43, allocations: 2.176 MB / 4.333 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/10.43, allocations: 7.938 kB / 4.333 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002353/10.43, allocations: 349.8 kB / 4.333 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00458/10.43, allocations: 1.596 MB / 4.335 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/10.43, allocations: 88.28 kB / 4.335 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003797/10.43, allocations: 119.5 kB / 4.335 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00275/10.44, allocations: 1.179 MB / 4.336 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.01e-05/10.44, allocations: 2.625 kB / 4.336 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/10.44, allocations: 46.62 kB / 4.336 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.331e-05/10.44, allocations: 46.92 kB / 4.336 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/10.44, allocations: 0.9316 MB / 4.337 GB, free: 113.2 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.008078/10.45, allocations: 5.517 MB / 4.343 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/10.45, allocations: 0.8719 MB / 4.343 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000527/10.45, allocations: 0.6071 MB / 4.344 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/10.45, allocations: 50.05 kB / 4.344 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=70): time 2.895e-06/10.45, allocations: 0 / 4.344 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=70): time 0.003155/10.45, allocations: 1.396 MB / 4.346 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/10.45, allocations: 60.97 kB / 4.346 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/10.45, allocations: 1.044 MB / 4.347 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/10.45, allocations: 45.52 kB / 4.347 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004772/10.46, allocations: 0.6838 MB / 4.347 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/10.46, allocations: 250.9 kB / 4.348 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/10.46, allocations: 13.66 kB / 4.348 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.594e-05/10.46, allocations: 335.1 kB / 4.348 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/10.46, allocations: 278.2 kB / 4.348 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007085/10.46, allocations: 0.519 MB / 4.349 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006355/10.46, allocations: 360.2 kB / 4.349 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/10.46, allocations: 0 / 4.349 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001892/10.46, allocations: 0.9773 MB / 4.35 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002304/10.46, allocations: 0.9042 MB / 4.351 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/10.46, allocations: 3.094 kB / 4.351 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003468/10.46, allocations: 100.5 kB / 4.351 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007641/10.46, allocations: 155.9 kB / 4.351 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009866/10.46, allocations: 1.764 MB / 4.353 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/10.46, allocations: 172.1 kB / 4.353 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/10.46, allocations: 31.89 kB / 4.353 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/10.46, allocations: 5.344 kB / 4.353 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0016/10.47, allocations: 0.8067 MB / 4.354 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/10.47, allocations: 5.469 kB / 4.354 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002565/10.47, allocations: 89.06 kB / 4.354 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005766/10.47, allocations: 153 kB / 4.354 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/10.47, allocations: 3.147 MB / 4.357 GB, free: 102.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/10.47, allocations: 160.7 kB / 4.357 GB, free: 102.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/10.47, allocations: 28.69 kB / 4.357 GB, free: 102.7 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 () * Number of clocked 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.001067/10.47, allocations: 437 kB / 4.358 GB, free: 102.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004447/10.47, allocations: 145.6 kB / 4.358 GB, free: 102.4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002222/10.47, allocations: 0.9734 MB / 4.359 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/10.47, allocations: 14.12 kB / 4.359 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/10.47, allocations: 0 / 4.359 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001513/10.48, allocations: 1.082 MB / 4.36 GB, free: 101.8 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 postOpt removeSimpleEquations (simulation): time 0.005287/10.48, allocations: 2.46 MB / 4.362 GB, free: 101.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/10.48, allocations: 0 / 4.362 GB, free: 101.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007634/10.48, allocations: 158.1 kB / 4.362 GB, free: 101.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002244/10.48, allocations: 93.55 kB / 4.362 GB, free: 101.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.168e-05/10.48, allocations: 16.27 kB / 4.362 GB, free: 101.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007158/10.48, allocations: 1.738 MB / 4.364 GB, free: 99.73 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/10.48, allocations: 2.859 kB / 4.364 GB, free: 99.73 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002533/10.49, allocations: 1.616 MB / 4.366 GB, free: 99.21 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/10.49, allocations: 332.8 kB / 4.366 GB, free: 99.04 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003614/10.49, allocations: 29.91 kB / 4.366 GB, free: 99.03 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/10.49, allocations: 117 kB / 4.366 GB, free: 99.02 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/10.49, allocations: 51.38 kB / 4.366 GB, free: 99.02 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.018e-05/10.49, allocations: 34.11 kB / 4.366 GB, free: 99.02 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001659/10.49, allocations: 0.8185 MB / 4.367 GB, free: 98.91 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.1e-07/10.49, allocations: 1 kB / 4.367 GB, free: 98.91 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004616/10.5, allocations: 0.9855 MB / 4.368 GB, free: 98.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 () * Number of clocked 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.004022/10.5, allocations: 2.029 MB / 4.37 GB, free: 98.21 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002839/10.5, allocations: 1.4 MB / 4.371 GB, free: 97.97 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/10.5, allocations: 0 / 4.371 GB, free: 97.97 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007747/10.5, allocations: 423.5 kB / 4.372 GB, free: 97.96 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004222/10.51, allocations: 0.8041 MB / 4.373 GB, free: 97.94 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005959/10.51, allocations: 3.266 MB / 4.376 GB, free: 96.46 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001454/10.51, allocations: 1.314 MB / 4.377 GB, free: 95.74 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002183/10.52, allocations: 352.8 kB / 4.377 GB, free: 95.72 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004814/10.52, allocations: 102 kB / 4.378 GB, free: 95.71 MB / 0.9636 GB Notification: Performance of SimCode: time 7.92e-07/10.52, allocations: 3 kB / 4.378 GB, free: 95.71 MB / 0.9636 GB Notification: Performance of Templates: time 0.08758/10.6, allocations: 48.35 MB / 4.425 GB, free: 93.04 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)