Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe") translateModel(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001193, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7375/0.7375, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 221.3 MB / 400.4 MB, free: 5.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009429/0.000943, allocations: 93.95 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.923e-05/3.925e-05, allocations: 3.125 kB / 0.56 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.171, allocations: 82.3 MB / 0.6404 GB, free: 7.84 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.323/1.494, allocations: 376.9 MB / 1.009 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/1.494, allocations: 91.97 kB / 1.009 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.119/2.614, allocations: 356.2 MB / 1.356 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.883e-06/2.614, allocations: 0 / 1.356 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002009/2.614, allocations: 48.05 kB / 1.356 GB, free: 140.6 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 353 * Number of variables: 353 Notification: Performance of Generate backend data structure: time 0.004845/2.619, allocations: 1.858 MB / 1.358 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/2.619, allocations: 15.97 kB / 1.358 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/2.62, allocations: 277.5 kB / 1.359 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/2.633, allocations: 4.413 MB / 1.363 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/2.633, allocations: 102.8 kB / 1.363 GB, free: 134 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005262/2.634, allocations: 151.9 kB / 1.363 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003491/2.637, allocations: 1.736 MB / 1.365 GB, free: 132 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.812e-05/2.637, allocations: 11.52 kB / 1.365 GB, free: 132 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/2.637, allocations: 60 kB / 1.365 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-05/2.637, allocations: 58.58 kB / 1.365 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/2.64, allocations: 1.482 MB / 1.366 GB, free: 130.4 MB / 0.6823 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.008777/2.649, allocations: 6.255 MB / 1.373 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002957/2.652, allocations: 2.022 MB / 1.374 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/2.653, allocations: 0.9921 MB / 1.375 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/2.654, allocations: 1.436 MB / 1.377 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/2.654, allocations: 43.88 kB / 1.377 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 3.397e-06/2.654, allocations: 8 kB / 1.377 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.002864/2.657, allocations: 1.569 MB / 1.378 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/2.657, allocations: 90.42 kB / 1.379 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/2.659, allocations: 0.9736 MB / 1.379 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001278/2.659, allocations: 53.7 kB / 1.38 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000433/2.659, allocations: 0.6365 MB / 1.38 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003639/2.66, allocations: 493.9 kB / 1.381 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.484e-05/2.66, allocations: 28 kB / 1.381 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001437/2.66, allocations: 357.9 kB / 1.381 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007858/2.661, allocations: 0.613 MB / 1.382 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/2.662, allocations: 0.8365 MB / 1.382 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/2.663, allocations: 0.7817 MB / 1.383 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/2.663, allocations: 0 / 1.383 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.00305/2.666, allocations: 1.869 MB / 1.385 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000379/2.666, allocations: 1.506 MB / 1.386 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/2.666, allocations: 11.97 kB / 1.386 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006954/2.667, allocations: 215.8 kB / 1.387 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/2.668, allocations: 351.5 kB / 1.387 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003655/2.672, allocations: 4.435 MB / 1.391 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/2.673, allocations: 210.7 kB / 1.392 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/2.674, allocations: 55.98 kB / 1.392 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/2.674, allocations: 4 kB / 1.392 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002674/2.676, allocations: 1.731 MB / 1.393 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/2.676, allocations: 4 kB / 1.393 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005703/2.677, allocations: 222.8 kB / 1.394 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/2.678, allocations: 351.5 kB / 1.394 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003438/2.682, allocations: 4.441 MB / 1.398 GB, free: 96.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/2.683, allocations: 206.8 kB / 1.398 GB, free: 96.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/2.684, allocations: 47.98 kB / 1.398 GB, free: 96.22 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 154 * 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: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {1 2,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005198/2.684, allocations: 184.7 kB / 1.399 GB, free: 96.03 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006153/2.685, allocations: 134.4 kB / 1.399 GB, free: 95.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003906/2.689, allocations: 1.901 MB / 1.401 GB, free: 93.98 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.968e-05/2.689, allocations: 12 kB / 1.401 GB, free: 93.97 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/2.689, allocations: 4 kB / 1.401 GB, free: 93.97 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.09e-05/2.689, allocations: 7.969 kB / 1.401 GB, free: 93.96 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008836/2.698, allocations: 3.811 MB / 1.404 GB, free: 90.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/2.698, allocations: 8.062 kB / 1.404 GB, free: 90.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/2.699, allocations: 323.6 kB / 1.405 GB, free: 89.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006472/2.7, allocations: 213.6 kB / 1.405 GB, free: 89.55 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001405/2.7, allocations: 47.92 kB / 1.405 GB, free: 89.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003088/2.703, allocations: 4.282 MB / 1.409 GB, free: 84.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/2.703, allocations: 0 / 1.409 GB, free: 84.94 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003786/2.707, allocations: 2.739 MB / 1.412 GB, free: 82.15 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/2.708, allocations: 410.9 kB / 1.412 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003555/2.708, allocations: 43.97 kB / 1.412 GB, free: 81.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/2.71, allocations: 123.7 kB / 1.412 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/2.71, allocations: 89.12 kB / 1.412 GB, free: 81.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.154e-05/2.71, allocations: 48.05 kB / 1.412 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001218/2.711, allocations: 0.7856 MB / 1.413 GB, free: 80.64 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/2.711, allocations: 4 kB / 1.413 GB, free: 80.63 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003672/2.715, allocations: 1.033 MB / 1.414 GB, free: 79.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (nakedTabs.C1[1].T,nakedTabs.C1[2].T,nakedTabs.C1[3].T,nakedTabs.C1[4].T,nakedTabs.C1[5].T,nakedTabs.C1[6].T,nakedTabs.C1[7].T,nakedTabs.C1[8].T,nakedTabs.C1[9].T,nakedTabs.C1[10].T,nakedTabs.C2[1].T,nakedTabs.C2[2].T,nakedTabs.C2[3].T,nakedTabs.C2[4].T,nakedTabs.C2[5].T,nakedTabs.C2[6].T,nakedTabs.C2[7].T,nakedTabs.C2[8].T,nakedTabs.C2[9].T,nakedTabs.C2[10].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {1 2,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001583/2.717, allocations: 0.6517 MB / 1.415 GB, free: 79.04 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004119/2.721, allocations: 2.957 MB / 1.418 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/2.721, allocations: 8.125 kB / 1.418 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001224/2.722, allocations: 1.047 MB / 1.419 GB, free: 74.95 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/2.724, allocations: 406.9 kB / 1.419 GB, free: 74.55 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006642/2.731, allocations: 4.016 MB / 1.423 GB, free: 70.51 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/2.732, allocations: 1.609 MB / 1.425 GB, free: 68.87 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002904/2.735, allocations: 0.856 MB / 1.425 GB, free: 68.01 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003859/2.736, allocations: 91.42 kB / 1.426 GB, free: 67.92 MB / 0.6823 GB Notification: Performance of SimCode: time 1.573e-06/2.736, allocations: 0 / 1.426 GB, free: 67.92 MB / 0.6823 GB Notification: Performance of Templates: time 0.04643/2.782, allocations: 30.89 MB / 1.456 GB, free: 37.31 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe 2>&1)