Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.257/1.257, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000939/0.000939, allocations: 179.7 kB / 327.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.4 MB / 0.5785 GB, free: 20.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007564/0.0007564, allocations: 90.34 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003554, allocations: 15.25 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1795, allocations: 106.3 MB / 0.9012 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.454/4.634, allocations: 2.451 GB / 3.352 GB, free: 107 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/4.634, allocations: 105.4 kB / 3.352 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.938/7.572, allocations: 0.9691 GB / 4.322 GB, free: 132 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.473e-06/7.572, allocations: 0 / 4.322 GB, free: 132 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001906/7.572, allocations: 44.89 kB / 4.322 GB, free: 132 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.004857/7.577, allocations: 2.166 MB / 4.324 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/7.577, allocations: 11 kB / 4.324 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/7.579, allocations: 347.9 kB / 4.324 GB, free: 130.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002749/7.582, allocations: 1.616 MB / 4.326 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.053e-05/7.582, allocations: 89.92 kB / 4.326 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/7.582, allocations: 117.8 kB / 4.326 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/7.584, allocations: 1.197 MB / 4.327 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.055e-05/7.584, allocations: 7.531 kB / 4.327 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.724e-05/7.584, allocations: 45.84 kB / 4.327 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.122e-05/7.584, allocations: 39.97 kB / 4.327 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/7.585, allocations: 0.9451 MB / 4.328 GB, free: 127.9 MB / 0.8855 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.005265/7.591, allocations: 5.51 MB / 4.333 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/7.592, allocations: 0.8684 MB / 4.334 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005281/7.592, allocations: 420.1 kB / 4.335 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004488/7.593, allocations: 0.6 MB / 4.335 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/7.593, allocations: 41.38 kB / 4.335 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 2.795e-06/7.593, allocations: 2.375 kB / 4.335 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.002867/7.595, allocations: 1.453 MB / 4.337 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/7.596, allocations: 59.81 kB / 4.337 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/7.597, allocations: 1.182 MB / 4.338 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.029e-05/7.597, allocations: 45.05 kB / 4.338 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/7.597, allocations: 0.6908 MB / 4.339 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/7.597, allocations: 249.3 kB / 4.339 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/7.597, allocations: 12 kB / 4.339 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.202e-05/7.597, allocations: 340.9 kB / 4.339 GB, free: 119 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004224/7.598, allocations: 283.6 kB / 4.339 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/7.598, allocations: 0.5226 MB / 4.34 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009126/7.599, allocations: 0.6953 MB / 4.341 GB, free: 118 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/7.599, allocations: 0 / 4.341 GB, free: 118 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001659/7.601, allocations: 1.005 MB / 4.342 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/7.601, allocations: 164.2 kB / 4.342 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/7.601, allocations: 3.781 kB / 4.342 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006101/7.602, allocations: 156 kB / 4.342 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006548/7.602, allocations: 169.9 kB / 4.342 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000661/7.603, allocations: 1.752 MB / 4.344 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/7.604, allocations: 170.1 kB / 4.344 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.965e-05/7.604, allocations: 28.14 kB / 4.344 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.022e-06/7.604, allocations: 4 kB / 4.344 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001225/7.605, allocations: 0.8012 MB / 4.345 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/7.605, allocations: 5.844 kB / 4.345 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002095/7.606, allocations: 93.94 kB / 4.345 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/7.606, allocations: 147.8 kB / 4.345 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/7.608, allocations: 3.139 MB / 4.348 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/7.609, allocations: 160 kB / 4.348 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/7.609, allocations: 24 kB / 4.348 GB, free: 110.8 MB / 0.8855 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.0006438/7.61, allocations: 439.2 kB / 4.349 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/7.61, allocations: 150.2 kB / 4.349 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/7.611, allocations: 0.9697 MB / 4.35 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/7.611, allocations: 11.98 kB / 4.35 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/7.611, allocations: 0 / 4.35 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001083/7.613, allocations: 1.08 MB / 4.351 GB, free: 108 MB / 0.8855 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.003016/7.616, allocations: 2.439 MB / 4.353 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/7.616, allocations: 0 / 4.353 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006228/7.616, allocations: 164.5 kB / 4.353 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001715/7.616, allocations: 89.47 kB / 4.353 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/7.616, allocations: 22.59 kB / 4.353 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005327/7.617, allocations: 1.74 MB / 4.355 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/7.617, allocations: 0 / 4.355 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/7.619, allocations: 1.496 MB / 4.357 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004484/7.619, allocations: 335 kB / 4.357 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/7.619, allocations: 16.25 kB / 4.357 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008832/7.62, allocations: 131.1 kB / 4.357 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.922e-05/7.62, allocations: 44.5 kB / 4.357 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/7.62, allocations: 27.98 kB / 4.357 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008231/7.621, allocations: 0.8123 MB / 4.358 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/7.621, allocations: 0 / 4.358 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002174/7.623, allocations: 0.9914 MB / 4.359 GB, free: 99.54 MB / 0.8855 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.002054/7.625, allocations: 2.046 MB / 4.361 GB, free: 97.81 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002121/7.628, allocations: 1.406 MB / 4.362 GB, free: 96.38 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/7.628, allocations: 4 kB / 4.362 GB, free: 96.38 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006074/7.628, allocations: 407.7 kB / 4.363 GB, free: 95.98 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003404/7.632, allocations: 0.8007 MB / 4.363 GB, free: 95.21 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003071/7.635, allocations: 3.29 MB / 4.367 GB, free: 91.88 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/7.635, allocations: 1.281 MB / 4.368 GB, free: 90.57 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001165/7.636, allocations: 353.6 kB / 4.368 GB, free: 90.24 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/7.637, allocations: 103.4 kB / 4.368 GB, free: 90.14 MB / 0.8855 GB Notification: Performance of SimCode: time 4.91e-07/7.637, allocations: 8 kB / 4.368 GB, free: 90.13 MB / 0.8855 GB Notification: Performance of Templates: time 0.05318/7.69, allocations: 48.84 MB / 4.416 GB, free: 42.03 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)