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.008959/0.008959, allocations: 173 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7771/0.7771, allocations: 135.2 MB / 151.1 MB, free: 13.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.461/1.461, allocations: 223.2 MB / 406.9 MB, free: 3.203 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009822/0.0009823, allocations: 101.7 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.000344, allocations: 11.94 kB / 0.5691 GB, free: 14.15 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5104/0.5108, allocations: 82.32 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.832/1.343, allocations: 377 MB / 1.018 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/1.343, allocations: 94.67 kB / 1.018 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.553/2.896, allocations: 357.5 MB / 1.367 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.753e-06/2.896, allocations: 3.844 kB / 1.367 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001208/2.896, allocations: 42.69 kB / 1.367 GB, free: 150.3 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.005692/2.902, allocations: 2.3 MB / 1.369 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/2.902, allocations: 10.69 kB / 1.369 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00084/2.903, allocations: 278.6 kB / 1.369 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01267/2.916, allocations: 4.469 MB / 1.374 GB, free: 149 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.311e-05/2.916, allocations: 109.8 kB / 1.374 GB, free: 149 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002756/2.916, allocations: 150.2 kB / 1.374 GB, free: 149 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/2.919, allocations: 1.784 MB / 1.376 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.854e-05/2.919, allocations: 14.19 kB / 1.376 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/2.919, allocations: 58.77 kB / 1.376 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.9e-05/2.919, allocations: 56.75 kB / 1.376 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/2.921, allocations: 1.556 MB / 1.377 GB, free: 148.7 MB / 0.6823 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.007548/2.929, allocations: 6.267 MB / 1.384 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002905/2.932, allocations: 2.077 MB / 1.386 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009696/2.933, allocations: 1.427 MB / 1.387 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/2.933, allocations: 45.66 kB / 1.387 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 3.757e-06/2.933, allocations: 3.906 kB / 1.387 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.004472/2.937, allocations: 2.658 MB / 1.39 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/2.937, allocations: 95.3 kB / 1.39 GB, free: 144 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/2.939, allocations: 0.9853 MB / 1.391 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/2.939, allocations: 53.3 kB / 1.391 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000399/2.94, allocations: 0.6314 MB / 1.391 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003719/2.94, allocations: 495.8 kB / 1.392 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.845e-05/2.94, allocations: 27.38 kB / 1.392 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001037/2.94, allocations: 359.7 kB / 1.392 GB, free: 143 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008567/2.941, allocations: 0.6446 MB / 1.393 GB, free: 143 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/2.942, allocations: 0.8756 MB / 1.394 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/2.943, allocations: 0.8121 MB / 1.394 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/2.943, allocations: 0 / 1.394 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003089/2.946, allocations: 1.944 MB / 1.396 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004091/2.947, allocations: 1.494 MB / 1.398 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/2.947, allocations: 7.188 kB / 1.398 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007043/2.947, allocations: 224.3 kB / 1.398 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/2.948, allocations: 350.1 kB / 1.398 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003384/2.952, allocations: 4.484 MB / 1.403 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/2.953, allocations: 211.5 kB / 1.403 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/2.953, allocations: 51.5 kB / 1.403 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/2.953, allocations: 6 kB / 1.403 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002494/2.956, allocations: 1.803 MB / 1.405 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/2.956, allocations: 7.094 kB / 1.405 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005224/2.956, allocations: 223.2 kB / 1.405 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/2.958, allocations: 355 kB / 1.405 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003105/2.961, allocations: 4.488 MB / 1.41 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/2.962, allocations: 200.1 kB / 1.41 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/2.962, allocations: 57 kB / 1.41 GB, free: 134.4 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 () * Number of clocked 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.001032/2.963, allocations: 0.6024 MB / 1.411 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003731/2.964, allocations: 136.5 kB / 1.411 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002984/2.967, allocations: 1.974 MB / 1.413 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/2.967, allocations: 17.81 kB / 1.413 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/2.967, allocations: 0 / 1.413 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/2.967, allocations: 3.797 kB / 1.413 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005911/2.973, allocations: 3.882 MB / 1.416 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/2.973, allocations: 0 / 1.416 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/2.974, allocations: 332.2 kB / 1.417 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005514/2.975, allocations: 209.5 kB / 1.417 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/2.975, allocations: 47.45 kB / 1.417 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003106/2.978, allocations: 4.331 MB / 1.421 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/2.978, allocations: 3.703 kB / 1.421 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003838/2.982, allocations: 2.852 MB / 1.424 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/2.983, allocations: 412.2 kB / 1.424 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003438/2.983, allocations: 39.48 kB / 1.424 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/2.984, allocations: 135.1 kB / 1.425 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/2.984, allocations: 87.72 kB / 1.425 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.66e-05/2.985, allocations: 46.98 kB / 1.425 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001342/2.986, allocations: 0.796 MB / 1.425 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/2.986, allocations: 0 / 1.425 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003342/2.989, allocations: 1.034 MB / 1.426 GB, free: 128.5 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 () * Number of clocked 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.00151/2.991, allocations: 0.6409 MB / 1.427 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004565/2.995, allocations: 3.043 MB / 1.43 GB, free: 127 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/2.995, allocations: 0 / 1.43 GB, free: 127 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001431/2.997, allocations: 1.091 MB / 1.431 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/2.999, allocations: 413.3 kB / 1.431 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008172/3.007, allocations: 5.378 MB / 1.437 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/3.009, allocations: 1.612 MB / 1.438 GB, free: 123 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002112/3.011, allocations: 0.6827 MB / 1.439 GB, free: 123 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004079/3.011, allocations: 112.4 kB / 1.439 GB, free: 123 MB / 0.6823 GB Notification: Performance of SimCode: time 1.844e-06/3.011, allocations: 0 / 1.439 GB, free: 123 MB / 0.6823 GB Notification: Performance of Templates: time 0.04563/3.057, allocations: 28.31 MB / 1.467 GB, free: 109.4 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)