Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.628/1.628, allocations: 288.4 MB / 304.3 MB, free: 8.09 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.001075/0.001075, allocations: 180.4 kB / 373 MB, free: 10.14 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.506/1.506, allocations: 205.4 MB / 0.6317 GB, free: 9.883 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008078/0.0008077, allocations: 99.09 kB / 0.745 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003743, allocations: 13.66 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1925, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.912/6.104, allocations: 2.342 GB / 3.323 GB, free: 339.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/6.105, allocations: 103.1 kB / 3.323 GB, free: 339.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.572/9.676, allocations: 1.105 GB / 4.428 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.408e-06/9.676, allocations: 6.047 kB / 4.428 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002503/9.676, allocations: 50.78 kB / 4.428 GB, free: 124.6 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.01032/9.687, allocations: 2.396 MB / 4.43 GB, free: 123.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/9.687, allocations: 9.312 kB / 4.43 GB, free: 123.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003372/9.69, allocations: 376.4 kB / 4.43 GB, free: 123.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005245/9.695, allocations: 1.658 MB / 4.432 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/9.696, allocations: 104.9 kB / 4.432 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000267/9.696, allocations: 144.3 kB / 4.432 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003107/9.699, allocations: 1.484 MB / 4.434 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/9.699, allocations: 8.469 kB / 4.434 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/9.699, allocations: 56.66 kB / 4.434 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-05/9.699, allocations: 58 kB / 4.434 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/9.702, allocations: 1.127 MB / 4.435 GB, free: 123.1 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.01071/9.712, allocations: 7.161 MB / 4.442 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/9.714, allocations: 0.86 MB / 4.443 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007655/9.715, allocations: 451.2 kB / 4.443 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000813/9.715, allocations: 0.7151 MB / 4.444 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/9.716, allocations: 45.72 kB / 4.444 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=77): time 4.97e-06/9.716, allocations: 6.859 kB / 4.444 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=77): time 0.00822/9.724, allocations: 2.352 MB / 4.446 GB, free: 118 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/9.724, allocations: 62.91 kB / 4.446 GB, free: 118 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002401/9.726, allocations: 1.283 MB / 4.448 GB, free: 117.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001509/9.726, allocations: 44.98 kB / 4.448 GB, free: 117.8 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005905/9.727, allocations: 0.797 MB / 4.448 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/9.727, allocations: 267.6 kB / 4.449 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/9.727, allocations: 14.25 kB / 4.449 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.719e-05/9.727, allocations: 337.7 kB / 4.449 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/9.728, allocations: 324.5 kB / 4.449 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007044/9.729, allocations: 0.608 MB / 4.45 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/9.73, allocations: 0.863 MB / 4.451 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/9.73, allocations: 3.719 kB / 4.451 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002425/9.732, allocations: 1.247 MB / 4.452 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/9.733, allocations: 232.5 kB / 4.452 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/9.733, allocations: 6.547 kB / 4.452 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001868/9.734, allocations: 442.2 kB / 4.453 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005739/9.735, allocations: 150 kB / 4.453 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/9.736, allocations: 2.114 MB / 4.455 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/9.738, allocations: 182.2 kB / 4.455 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.194e-05/9.738, allocations: 39.95 kB / 4.455 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/9.738, allocations: 2.875 kB / 4.455 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001874/9.74, allocations: 1.042 MB / 4.456 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/9.74, allocations: 3.438 kB / 4.456 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/9.742, allocations: 399.1 kB / 4.456 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005657/9.742, allocations: 144.6 kB / 4.457 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003014/9.745, allocations: 3.898 MB / 4.46 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/9.747, allocations: 177.6 kB / 4.461 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/9.747, allocations: 33.94 kB / 4.461 GB, free: 111.3 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 23,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001139/9.748, allocations: 471.4 kB / 4.461 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/9.749, allocations: 161.2 kB / 4.461 GB, free: 111 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002068/9.751, allocations: 1.185 MB / 4.462 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/9.751, allocations: 10.81 kB / 4.462 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/9.751, allocations: 3.797 kB / 4.462 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001491/9.752, allocations: 1.274 MB / 4.464 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004748/9.757, allocations: 2.772 MB / 4.466 GB, free: 110 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/9.757, allocations: 0 / 4.466 GB, free: 110 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004551/9.758, allocations: 105.5 kB / 4.466 GB, free: 110 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001475/9.759, allocations: 393.6 kB / 4.467 GB, free: 110 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-05/9.759, allocations: 17.59 kB / 4.467 GB, free: 110 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/9.761, allocations: 2.105 MB / 4.469 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/9.761, allocations: 10.84 kB / 4.469 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/9.763, allocations: 1.286 MB / 4.47 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008246/9.763, allocations: 348.8 kB / 4.47 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/9.764, allocations: 15.62 kB / 4.47 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/9.765, allocations: 121.1 kB / 4.471 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/9.765, allocations: 53.61 kB / 4.471 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.53e-05/9.765, allocations: 32.84 kB / 4.471 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001204/9.766, allocations: 0.8727 MB / 4.472 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.2e-07/9.766, allocations: 2.75 kB / 4.472 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003577/9.77, allocations: 1.097 MB / 4.473 GB, free: 107.7 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 23,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003371/9.773, allocations: 2.321 MB / 4.475 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002907/9.776, allocations: 1.609 MB / 4.476 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/9.776, allocations: 1.5 kB / 4.476 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008388/9.777, allocations: 487.1 kB / 4.477 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004751/9.782, allocations: 0.8103 MB / 4.478 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004551/9.786, allocations: 3.334 MB / 4.481 GB, free: 105 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007677/9.787, allocations: 1.343 MB / 4.482 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001466/9.788, allocations: 325.5 kB / 4.483 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/9.789, allocations: 104.3 kB / 4.483 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of SimCode: time 7.91e-07/9.789, allocations: 0 / 4.483 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of Templates: time 0.07672/9.865, allocations: 55.45 MB / 4.537 GB, free: 102 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)