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.641/1.641, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001649/0.001649, allocations: 176.8 kB / 366.7 MB, free: 1.699 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.891/1.891, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.0007862/0.0007862, allocations: 89.22 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.126e-05/2.141e-05, allocations: 8 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6716/0.6717, allocations: 116.3 MB / 0.9733 GB, free: 76.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.384/6.056, allocations: 2.334 GB / 3.308 GB, free: 106.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/6.056, allocations: 96.34 kB / 3.308 GB, free: 106.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.744/9.8, allocations: 0.9966 GB / 4.304 GB, free: 144.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.713e-06/9.8, allocations: 0 / 4.304 GB, free: 144.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002486/9.8, allocations: 50.7 kB / 4.304 GB, free: 144.1 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.005546/9.806, allocations: 1.875 MB / 4.306 GB, free: 143.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/9.806, allocations: 9.031 kB / 4.306 GB, free: 143.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002487/9.808, allocations: 352 kB / 4.307 GB, free: 143 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005459/9.814, allocations: 1.576 MB / 4.308 GB, free: 142.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.924e-05/9.814, allocations: 34.88 kB / 4.308 GB, free: 142.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004599/9.815, allocations: 83.95 kB / 4.308 GB, free: 142.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002092/9.817, allocations: 0.7775 MB / 4.309 GB, free: 142.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/9.819, allocations: 0.9738 MB / 4.31 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.868e-05/9.819, allocations: 0 / 4.31 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/9.819, allocations: 5.969 kB / 4.31 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.563e-05/9.819, allocations: 40.77 kB / 4.31 GB, free: 142.5 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.007132/9.827, allocations: 5.278 MB / 4.315 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009729/9.828, allocations: 0.8106 MB / 4.316 GB, free: 139.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/9.828, allocations: 360.6 kB / 4.316 GB, free: 139.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004856/9.828, allocations: 0.6051 MB / 4.317 GB, free: 138.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/9.828, allocations: 47.75 kB / 4.317 GB, free: 138.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 2.365e-06/9.828, allocations: 0 / 4.317 GB, free: 138.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.002018/9.831, allocations: 0.8119 MB / 4.318 GB, free: 138.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/9.831, allocations: 59.62 kB / 4.318 GB, free: 138.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/9.832, allocations: 0.8679 MB / 4.319 GB, free: 138.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/9.832, allocations: 32.39 kB / 4.319 GB, free: 138.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004591/9.832, allocations: 0.6948 MB / 4.319 GB, free: 138.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/9.833, allocations: 242.1 kB / 4.32 GB, free: 138 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/9.833, allocations: 0 / 4.32 GB, free: 138 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.535e-05/9.833, allocations: 329.3 kB / 4.32 GB, free: 137.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/9.833, allocations: 236.1 kB / 4.32 GB, free: 137.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004589/9.834, allocations: 479.7 kB / 4.321 GB, free: 137.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005265/9.834, allocations: 320.1 kB / 4.321 GB, free: 137.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/9.834, allocations: 6.625 kB / 4.321 GB, free: 137.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001592/9.836, allocations: 0.8911 MB / 4.322 GB, free: 136.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002284/9.836, allocations: 1.065 MB / 4.323 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/9.836, allocations: 6.906 kB / 4.323 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002335/9.836, allocations: 79.53 kB / 4.323 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006973/9.837, allocations: 164 kB / 4.323 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008277/9.838, allocations: 1.786 MB / 4.325 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/9.839, allocations: 136.5 kB / 4.325 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.351e-05/9.839, allocations: 31.02 kB / 4.325 GB, free: 133.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/9.839, allocations: 3.969 kB / 4.325 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001137/9.84, allocations: 0.6688 MB / 4.326 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/9.84, allocations: 3.719 kB / 4.326 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002272/9.841, allocations: 83.41 kB / 4.326 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005689/9.841, allocations: 150.1 kB / 4.326 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/9.843, allocations: 2.961 MB / 4.329 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/9.845, allocations: 134.6 kB / 4.329 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.54e-05/9.845, allocations: 31.06 kB / 4.329 GB, free: 130.7 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.0002209/9.845, allocations: 128.3 kB / 4.329 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002797/9.845, allocations: 136 kB / 4.329 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/9.847, allocations: 0.8325 MB / 4.33 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.679e-06/9.847, allocations: 7.812 kB / 4.33 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/9.847, allocations: 3.75 kB / 4.33 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001011/9.848, allocations: 0.9674 MB / 4.331 GB, free: 129.5 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.003702/9.852, allocations: 2.178 MB / 4.333 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/9.852, allocations: 3.594 kB / 4.333 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006864/9.852, allocations: 159.5 kB / 4.333 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001394/9.852, allocations: 70.38 kB / 4.333 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.236e-05/9.852, allocations: 11.44 kB / 4.333 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006512/9.853, allocations: 1.738 MB / 4.335 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/9.853, allocations: 10.05 kB / 4.335 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/9.855, allocations: 1.444 MB / 4.336 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006081/9.855, allocations: 317.6 kB / 4.337 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/9.856, allocations: 3.25 kB / 4.337 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009507/9.857, allocations: 112.8 kB / 4.337 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.489e-05/9.857, allocations: 47.94 kB / 4.337 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.234e-05/9.857, allocations: 30.47 kB / 4.337 GB, free: 125.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007952/9.858, allocations: 0.6708 MB / 4.338 GB, free: 125.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.3e-07/9.858, allocations: 2.656 kB / 4.338 GB, free: 125.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002575/9.86, allocations: 0.9267 MB / 4.338 GB, free: 125.1 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.002732/9.863, allocations: 2.226 MB / 4.341 GB, free: 124.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001937/9.865, allocations: 1.266 MB / 4.342 GB, free: 123.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/9.865, allocations: 3.938 kB / 4.342 GB, free: 123.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005411/9.865, allocations: 357.2 kB / 4.342 GB, free: 123.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003467/9.869, allocations: 0.7436 MB / 4.343 GB, free: 123.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003428/9.872, allocations: 2.048 MB / 4.345 GB, free: 122.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00087/9.873, allocations: 1.317 MB / 4.346 GB, free: 122 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001872/9.875, allocations: 436.9 kB / 4.347 GB, free: 121.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/9.875, allocations: 75.38 kB / 4.347 GB, free: 121.9 MB / 0.948 GB Notification: Performance of SimCode: time 5.61e-07/9.875, allocations: 0 / 4.347 GB, free: 121.9 MB / 0.948 GB Notification: Performance of Templates: time 0.05349/9.929, allocations: 37.2 MB / 4.383 GB, free: 104.6 MB / 0.948 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)