Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.838/1.838, 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.001132/0.001132, allocations: 184.8 kB / 361.4 MB, free: 6.832 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.704/1.704, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008661/0.0008662, allocations: 94.3 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.921e-05/1.922e-05, allocations: 4 kB / 0.8517 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6617/0.6617, allocations: 115.3 MB / 0.9644 GB, free: 78.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.64/6.302, allocations: 2.333 GB / 3.298 GB, free: 193.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/6.303, allocations: 95.94 kB / 3.298 GB, free: 193.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.709/10.01, allocations: 0.9966 GB / 4.295 GB, free: 135.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.843e-06/10.01, allocations: 3.188 kB / 4.295 GB, free: 135.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001586/10.01, allocations: 47.06 kB / 4.295 GB, free: 135.6 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004521/10.02, allocations: 1.879 MB / 4.296 GB, free: 134.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/10.02, allocations: 8.969 kB / 4.296 GB, free: 134.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/10.02, allocations: 349.7 kB / 4.297 GB, free: 134.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003493/10.02, allocations: 1.582 MB / 4.298 GB, free: 134.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.701e-05/10.02, allocations: 34.88 kB / 4.298 GB, free: 134.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/10.02, allocations: 73.83 kB / 4.298 GB, free: 134.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001593/10.02, allocations: 0.7839 MB / 4.299 GB, free: 134.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/10.03, allocations: 0.9777 MB / 4.3 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.222e-05/10.03, allocations: 0.9062 kB / 4.3 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-05/10.03, allocations: 1 kB / 4.3 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.173e-05/10.03, allocations: 40.7 kB / 4.3 GB, free: 134.2 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.007154/10.03, allocations: 5.283 MB / 4.305 GB, free: 131.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/10.03, allocations: 0.8047 MB / 4.306 GB, free: 131.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004322/10.03, allocations: 364.5 kB / 4.306 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005281/10.04, allocations: 0.6062 MB / 4.307 GB, free: 130.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/10.04, allocations: 42.69 kB / 4.307 GB, free: 130.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 2.745e-06/10.04, allocations: 3.125 kB / 4.307 GB, free: 130.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001947/10.04, allocations: 0.8186 MB / 4.308 GB, free: 130.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/10.04, allocations: 62.62 kB / 4.308 GB, free: 130.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/10.04, allocations: 0.8676 MB / 4.309 GB, free: 130.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.055e-05/10.04, allocations: 25.7 kB / 4.309 GB, free: 130.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004285/10.04, allocations: 0.6977 MB / 4.31 GB, free: 130.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/10.04, allocations: 235.6 kB / 4.31 GB, free: 130 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/10.04, allocations: 3.344 kB / 4.31 GB, free: 130 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.098e-05/10.04, allocations: 339.6 kB / 4.31 GB, free: 129.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/10.04, allocations: 231.1 kB / 4.31 GB, free: 129.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004342/10.04, allocations: 471.8 kB / 4.311 GB, free: 129.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005007/10.04, allocations: 326.7 kB / 4.311 GB, free: 129.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/10.04, allocations: 0 / 4.311 GB, free: 129.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001496/10.04, allocations: 0.8751 MB / 4.312 GB, free: 129.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002136/10.04, allocations: 1.084 MB / 4.313 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/10.04, allocations: 3.969 kB / 4.313 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002318/10.04, allocations: 86.62 kB / 4.313 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000677/10.04, allocations: 155.6 kB / 4.313 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008214/10.04, allocations: 1.781 MB / 4.315 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/10.05, allocations: 133 kB / 4.315 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-05/10.05, allocations: 36.58 kB / 4.315 GB, free: 126.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/10.05, allocations: 3.688 kB / 4.315 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001132/10.05, allocations: 0.6719 MB / 4.316 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/10.05, allocations: 6.141 kB / 4.316 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002304/10.05, allocations: 88.48 kB / 4.316 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005439/10.05, allocations: 144.3 kB / 4.316 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/10.05, allocations: 2.964 MB / 4.319 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/10.05, allocations: 129.4 kB / 4.319 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.24e-05/10.05, allocations: 37 kB / 4.319 GB, free: 123.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0002318/10.05, allocations: 119.8 kB / 4.319 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/10.05, allocations: 138 kB / 4.319 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/10.05, allocations: 0.8349 MB / 4.32 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/10.05, allocations: 9.812 kB / 4.32 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/10.05, allocations: 0 / 4.32 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001106/10.05, allocations: 0.9688 MB / 4.321 GB, free: 123.2 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 postOpt removeSimpleEquations (simulation): time 0.003687/10.06, allocations: 2.187 MB / 4.323 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/10.06, allocations: 3.969 kB / 4.323 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006883/10.06, allocations: 157.3 kB / 4.323 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001831/10.06, allocations: 74.94 kB / 4.323 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.243e-05/10.06, allocations: 11.09 kB / 4.323 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008668/10.06, allocations: 1.742 MB / 4.325 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/10.06, allocations: 3.406 kB / 4.325 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/10.06, allocations: 1.441 MB / 4.327 GB, free: 120.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007385/10.06, allocations: 314.5 kB / 4.327 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/10.06, allocations: 13.05 kB / 4.327 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009839/10.06, allocations: 107.3 kB / 4.327 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/10.06, allocations: 54.25 kB / 4.327 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.444e-05/10.06, allocations: 27.34 kB / 4.327 GB, free: 120.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008735/10.06, allocations: 0.6667 MB / 4.328 GB, free: 120.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/10.06, allocations: 0 / 4.328 GB, free: 120.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002808/10.07, allocations: 0.923 MB / 4.329 GB, free: 120.2 MB / 0.948 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.00301/10.07, allocations: 2.237 MB / 4.331 GB, free: 119.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002114/10.07, allocations: 1.26 MB / 4.332 GB, free: 119.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/10.07, allocations: 3.312 kB / 4.332 GB, free: 119.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005511/10.07, allocations: 363.5 kB / 4.332 GB, free: 119.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/10.08, allocations: 0.7403 MB / 4.333 GB, free: 119.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/10.08, allocations: 2.052 MB / 4.335 GB, free: 118.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006956/10.08, allocations: 1.32 MB / 4.336 GB, free: 118 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001727/10.08, allocations: 433.6 kB / 4.337 GB, free: 117.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/10.08, allocations: 72.59 kB / 4.337 GB, free: 117.9 MB / 0.948 GB Notification: Performance of SimCode: time 2.494e-06/10.08, allocations: 3.75 kB / 4.337 GB, free: 117.9 MB / 0.948 GB Notification: Performance of Templates: time 0.05609/10.14, allocations: 37.2 MB / 4.373 GB, free: 115.6 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)