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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_EmbeddedPipeDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_EmbeddedPipeDp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 174.6 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.7493/0.7493, 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.536/1.536, allocations: 221.3 MB / 400.4 MB, free: 5.824 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.0008818/0.0008817, allocations: 99.83 kB / 483.3 MB, free: 5.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.474e-05/3.491e-05, allocations: 7.703 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1482, allocations: 82.3 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.32/1.468, allocations: 399.9 MB / 1.031 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/1.469, allocations: 90.52 kB / 1.031 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.08/3.549, allocations: 0.5126 GB / 1.544 GB, free: 98.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.898e-06/3.549, allocations: 3.891 kB / 1.544 GB, free: 98.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003846/3.55, allocations: 62.22 kB / 1.544 GB, free: 98.59 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.008675/3.558, allocations: 2.547 MB / 1.546 GB, free: 97.65 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.659e-05/3.558, allocations: 13.56 kB / 1.546 GB, free: 97.65 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001239/3.56, allocations: 261.3 kB / 1.547 GB, free: 97.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002941/3.563, allocations: 464.6 kB / 1.547 GB, free: 97.46 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01678/3.579, allocations: 5.574 MB / 1.552 GB, free: 96.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/3.58, allocations: 150.2 kB / 1.553 GB, free: 96.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007936/3.58, allocations: 194.7 kB / 1.553 GB, free: 96.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00548/3.586, allocations: 2.23 MB / 1.555 GB, free: 96.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001185/3.586, allocations: 12.52 kB / 1.555 GB, free: 96.67 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000329/3.586, allocations: 78.02 kB / 1.555 GB, free: 96.67 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.178e-05/3.587, allocations: 64.91 kB / 1.555 GB, free: 96.66 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003229/3.59, allocations: 1.883 MB / 1.557 GB, free: 96.65 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.01382/3.604, allocations: 8.759 MB / 1.565 GB, free: 93.82 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003727/3.607, allocations: 2.402 MB / 1.568 GB, free: 93.75 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/3.609, allocations: 1.17 MB / 1.569 GB, free: 93.72 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 evalFunc (simulation): time 0.006643/3.615, allocations: 4.192 MB / 1.573 GB, free: 91.91 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001484/3.617, allocations: 1.04 MB / 1.574 GB, free: 91.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0011/3.618, allocations: 143.7 kB / 1.574 GB, free: 91.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=168): time 1.092e-05/3.618, allocations: 0 / 1.574 GB, free: 91.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=168): time 0.003869/3.622, allocations: 1.961 MB / 1.576 GB, free: 91.54 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/3.622, allocations: 119.9 kB / 1.576 GB, free: 91.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002894/3.625, allocations: 1.53 MB / 1.578 GB, free: 91.25 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001527/3.625, allocations: 56.64 kB / 1.578 GB, free: 91.21 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008927/3.626, allocations: 0.9481 MB / 1.579 GB, free: 90.88 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005163/3.627, allocations: 0.5876 MB / 1.579 GB, free: 90.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/3.627, allocations: 36.12 kB / 1.579 GB, free: 90.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001676/3.627, allocations: 378.2 kB / 1.58 GB, free: 90.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/3.628, allocations: 0.7645 MB / 1.58 GB, free: 90.19 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/3.629, allocations: 1.14 MB / 1.582 GB, free: 89.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/3.631, allocations: 1.012 MB / 1.583 GB, free: 89.76 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/3.631, allocations: 3.25 kB / 1.583 GB, free: 89.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.00434/3.635, allocations: 2.482 MB / 1.585 GB, free: 89.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007215/3.636, allocations: 3.117 MB / 1.588 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/3.636, allocations: 15.95 kB / 1.588 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007478/3.637, allocations: 259.6 kB / 1.588 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/3.638, allocations: 469.2 kB / 1.589 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00373/3.642, allocations: 4.475 MB / 1.593 GB, free: 83.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/3.644, allocations: 196.8 kB / 1.593 GB, free: 83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002137/3.644, allocations: 76.64 kB / 1.593 GB, free: 83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/3.644, allocations: 3.875 kB / 1.593 GB, free: 83 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003777/3.648, allocations: 2.273 MB / 1.596 GB, free: 82.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/3.648, allocations: 12.5 kB / 1.596 GB, free: 82.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006295/3.649, allocations: 257.3 kB / 1.596 GB, free: 82.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/3.65, allocations: 462.7 kB / 1.596 GB, free: 82.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003489/3.654, allocations: 4.475 MB / 1.601 GB, free: 79.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/3.656, allocations: 200.9 kB / 1.601 GB, free: 79.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/3.656, allocations: 73.42 kB / 1.601 GB, free: 79.61 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 () * 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.0004667/3.657, allocations: 212.3 kB / 1.601 GB, free: 79.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004962/3.657, allocations: 203.8 kB / 1.601 GB, free: 79.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004631/3.662, allocations: 2.274 MB / 1.604 GB, free: 79.25 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/3.662, allocations: 20.94 kB / 1.604 GB, free: 79.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/3.662, allocations: 0 / 1.604 GB, free: 79.25 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003028/3.665, allocations: 2.072 MB / 1.606 GB, free: 78.83 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 postOpt removeSimpleEquations (simulation): time 0.008921/3.674, allocations: 4.722 MB / 1.61 GB, free: 78.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/3.674, allocations: 0 / 1.61 GB, free: 78.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/3.676, allocations: 396.1 kB / 1.611 GB, free: 78.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006239/3.676, allocations: 233.2 kB / 1.611 GB, free: 78.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001637/3.676, allocations: 56.7 kB / 1.611 GB, free: 78.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003172/3.68, allocations: 4.276 MB / 1.615 GB, free: 75.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/3.68, allocations: 3.469 kB / 1.615 GB, free: 75.05 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005049/3.685, allocations: 3.304 MB / 1.618 GB, free: 74.65 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001867/3.687, allocations: 0.4966 MB / 1.619 GB, free: 74.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000799/3.687, allocations: 44.72 kB / 1.619 GB, free: 74.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002189/3.69, allocations: 162.1 kB / 1.619 GB, free: 74.43 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002851/3.69, allocations: 116.6 kB / 1.619 GB, free: 74.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/3.69, allocations: 55.75 kB / 1.619 GB, free: 74.43 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003115/3.693, allocations: 1.2 MB / 1.62 GB, free: 74.31 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.3e-07/3.693, allocations: 0 / 1.62 GB, free: 74.31 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006073/3.699, allocations: 1.459 MB / 1.622 GB, free: 74.09 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) * 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.007694/3.707, allocations: 4.997 MB / 1.627 GB, free: 72.86 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00538/3.712, allocations: 3.776 MB / 1.63 GB, free: 72.21 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/3.712, allocations: 0 / 1.63 GB, free: 72.21 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00158/3.714, allocations: 1.217 MB / 1.631 GB, free: 71.98 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003678/3.718, allocations: 0.7236 MB / 1.632 GB, free: 71.97 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/3.728, allocations: 5.856 MB / 1.638 GB, free: 70.57 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/3.729, allocations: 1.941 MB / 1.64 GB, free: 69.79 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003473/3.733, allocations: 1.142 MB / 1.641 GB, free: 69.69 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/3.734, allocations: 0.8701 MB / 1.642 GB, free: 69.68 MB / 0.6823 GB Notification: Performance of SimCode: time 1.022e-06/3.734, allocations: 0 / 1.642 GB, free: 69.68 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1203/3.854, allocations: 70.49 MB / 1.711 GB, free: 43.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/3.854, allocations: 219.7 kB / 1.711 GB, free: 42.97 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.667/8.521, allocations: 0 / 1.711 GB, free: 42.97 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_EmbeddedPipeDp_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_EmbeddedPipeDp.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.pipe 2>&1)