Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.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.EmbeddedPipeDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp") translateModel(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007299/0.007299, allocations: 170.4 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7427/0.7427, allocations: 135.2 MB / 151.1 MB, free: 13.82 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.428/1.428, allocations: 223.2 MB / 406.9 MB, free: 3.227 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.0009373/0.0009373, allocations: 100.2 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003242, allocations: 11.94 kB / 0.5691 GB, free: 14.2 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3719, allocations: 82.3 MB / 0.6495 GB, free: 36.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7673/1.139, allocations: 400 MB / 1.04 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/1.14, allocations: 97.58 kB / 1.04 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.755/2.894, allocations: 0.5145 GB / 1.555 GB, free: 21.71 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.994e-06/2.894, allocations: 3.938 kB / 1.555 GB, free: 21.71 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002146/2.895, allocations: 59.98 kB / 1.555 GB, free: 21.65 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: 459 * Number of variables: 459 Notification: Performance of Generate backend data structure: time 0.008067/2.903, allocations: 3.248 MB / 1.558 GB, free: 18.33 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/2.903, allocations: 12.03 kB / 1.558 GB, free: 18.32 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/2.905, allocations: 460.3 kB / 1.558 GB, free: 17.87 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01569/2.921, allocations: 5.642 MB / 1.564 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/2.921, allocations: 143.6 kB / 1.564 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003393/2.921, allocations: 195.9 kB / 1.564 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003455/2.925, allocations: 2.304 MB / 1.566 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-05/2.925, allocations: 11.91 kB / 1.566 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000171/2.925, allocations: 72 kB / 1.566 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.76e-05/2.925, allocations: 67.48 kB / 1.567 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003015/2.928, allocations: 2.004 MB / 1.568 GB, free: 7.301 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.4124/3.34, allocations: 8.757 MB / 1.577 GB, free: 92.11 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005963/3.346, allocations: 2.511 MB / 1.579 GB, free: 92.06 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 evalFunc (simulation): time 0.007806/3.354, allocations: 4.183 MB / 1.584 GB, free: 90.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001683/3.356, allocations: 1.085 MB / 1.585 GB, free: 90.22 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001055/3.357, allocations: 145.2 kB / 1.585 GB, free: 90.22 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=168): time 5.651e-06/3.357, allocations: 4.297 kB / 1.585 GB, free: 90.22 MB / 0.6823 GB Notification: Performance of matching and sorting (n=168): time 0.006883/3.364, allocations: 3.27 MB / 1.588 GB, free: 89.84 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/3.364, allocations: 128.2 kB / 1.588 GB, free: 89.71 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/3.366, allocations: 1.547 MB / 1.59 GB, free: 89.57 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001594/3.367, allocations: 62.11 kB / 1.59 GB, free: 89.54 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008035/3.367, allocations: 0.9421 MB / 1.591 GB, free: 89.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004678/3.368, allocations: 0.588 MB / 1.591 GB, free: 89 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.879e-05/3.368, allocations: 39.69 kB / 1.591 GB, free: 89 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001263/3.368, allocations: 377.8 kB / 1.592 GB, free: 88.69 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/3.369, allocations: 0.8175 MB / 1.592 GB, free: 88.69 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/3.371, allocations: 1.193 MB / 1.594 GB, free: 88.31 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/3.372, allocations: 1.06 MB / 1.595 GB, free: 88.26 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/3.372, allocations: 5.375 kB / 1.595 GB, free: 88.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.004516/3.377, allocations: 2.597 MB / 1.597 GB, free: 88.01 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005758/3.377, allocations: 3.109 MB / 1.6 GB, free: 84.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/3.377, allocations: 7.781 kB / 1.6 GB, free: 84.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009748/3.378, allocations: 266.8 kB / 1.6 GB, free: 84.74 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/3.38, allocations: 469 kB / 1.601 GB, free: 84.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00371/3.384, allocations: 4.539 MB / 1.605 GB, free: 81.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/3.386, allocations: 197.2 kB / 1.605 GB, free: 81.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/3.386, allocations: 77.52 kB / 1.606 GB, free: 81.51 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/3.386, allocations: 3.969 kB / 1.606 GB, free: 81.51 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003815/3.39, allocations: 2.383 MB / 1.608 GB, free: 81.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/3.39, allocations: 10.69 kB / 1.608 GB, free: 81.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006453/3.391, allocations: 268.5 kB / 1.608 GB, free: 81.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/3.392, allocations: 459 kB / 1.609 GB, free: 81.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003442/3.396, allocations: 4.539 MB / 1.613 GB, free: 78.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/3.398, allocations: 198.4 kB / 1.613 GB, free: 78.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/3.398, allocations: 69.02 kB / 1.613 GB, free: 78.14 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 206 * Array equations: 1 * Algorithm blocks: 1 * 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 6,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001578/3.4, allocations: 0.7581 MB / 1.614 GB, free: 77.96 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003907/3.4, allocations: 203 kB / 1.614 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004316/3.404, allocations: 2.381 MB / 1.617 GB, free: 77.71 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/3.404, allocations: 23.78 kB / 1.617 GB, free: 77.71 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/3.404, allocations: 5.641 kB / 1.617 GB, free: 77.71 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003304/3.408, allocations: 2.176 MB / 1.619 GB, free: 77.29 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 postOpt removeSimpleEquations (simulation): time 0.008844/3.417, allocations: 4.825 MB / 1.623 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/3.417, allocations: 0 / 1.623 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/3.418, allocations: 396.7 kB / 1.624 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006265/3.419, allocations: 236.1 kB / 1.624 GB, free: 76.71 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/3.419, allocations: 54.66 kB / 1.624 GB, free: 76.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002977/3.422, allocations: 4.354 MB / 1.628 GB, free: 73.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/3.422, allocations: 0 / 1.628 GB, free: 73.52 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005139/3.427, allocations: 3.46 MB / 1.632 GB, free: 73.12 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/3.428, allocations: 0.4893 MB / 1.632 GB, free: 72.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002604/3.429, allocations: 47.45 kB / 1.632 GB, free: 72.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/3.43, allocations: 167.2 kB / 1.632 GB, free: 72.91 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/3.43, allocations: 115.1 kB / 1.632 GB, free: 72.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/3.43, allocations: 57.77 kB / 1.633 GB, free: 72.91 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00162/3.432, allocations: 1.213 MB / 1.634 GB, free: 72.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/3.432, allocations: 0 / 1.634 GB, free: 72.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003901/3.436, allocations: 1.465 MB / 1.635 GB, free: 72.73 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 24 (pump.filter.s[1],pump.filter.s[2],embeddedPipe.vol[1].dynBal.U,firstOrder1.y,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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (160): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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 6,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001875/3.438, allocations: 1.107 MB / 1.636 GB, free: 72.55 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006094/3.444, allocations: 3.876 MB / 1.64 GB, free: 71.92 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/3.444, allocations: 0 / 1.64 GB, free: 71.92 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001707/3.446, allocations: 1.264 MB / 1.641 GB, free: 71.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003317/3.449, allocations: 0.7286 MB / 1.642 GB, free: 71.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008782/3.458, allocations: 6.912 MB / 1.649 GB, free: 69.38 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/3.459, allocations: 1.935 MB / 1.651 GB, free: 68.64 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002801/3.462, allocations: 0.8773 MB / 1.651 GB, free: 68.62 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004597/3.462, allocations: 166.5 kB / 1.652 GB, free: 68.61 MB / 0.6823 GB Notification: Performance of SimCode: time 1.142e-06/3.462, allocations: 0 / 1.652 GB, free: 68.61 MB / 0.6823 GB Notification: Performance of Templates: time 0.07215/3.534, allocations: 44.4 MB / 1.695 GB, free: 66.18 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.pipe 2>&1)