Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_EmbeddedPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_EmbeddedPipe",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.008191/0.008191, allocations: 170.4 kB / 15.11 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.7577/0.7577, allocations: 135.2 MB / 151 MB, free: 13.83 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.548/1.548, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.0009981/0.0009981, allocations: 99.3 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003575, allocations: 8 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8156/1.216, allocations: 377 MB / 1.018 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/1.216, allocations: 96.83 kB / 1.018 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.518/2.734, allocations: 357.5 MB / 1.367 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.064e-06/2.735, allocations: 0 / 1.367 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001167/2.735, allocations: 37.52 kB / 1.367 GB, free: 150.2 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.005798/2.74, allocations: 2.309 MB / 1.369 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/2.741, allocations: 14.42 kB / 1.369 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004002/2.741, allocations: 206.9 kB / 1.369 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008241/2.742, allocations: 280.2 kB / 1.37 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01284/2.755, allocations: 4.464 MB / 1.374 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.91e-05/2.755, allocations: 108.4 kB / 1.374 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002587/2.755, allocations: 147.6 kB / 1.374 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002752/2.758, allocations: 1.786 MB / 1.376 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.622e-05/2.758, allocations: 11.77 kB / 1.376 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/2.758, allocations: 54.62 kB / 1.376 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.684e-05/2.758, allocations: 49.53 kB / 1.376 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/2.76, allocations: 1.559 MB / 1.378 GB, free: 148.6 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.008048/2.768, allocations: 6.265 MB / 1.384 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00286/2.771, allocations: 2.072 MB / 1.386 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/2.772, allocations: 1.433 MB / 1.387 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/2.772, allocations: 49.09 kB / 1.387 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 3.788e-06/2.772, allocations: 0 / 1.387 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.004331/2.777, allocations: 2.664 MB / 1.39 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/2.777, allocations: 100.3 kB / 1.39 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/2.778, allocations: 0.9846 MB / 1.391 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.93e-05/2.778, allocations: 52.95 kB / 1.391 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003619/2.779, allocations: 0.6333 MB / 1.392 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003317/2.779, allocations: 488.4 kB / 1.392 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/2.779, allocations: 27.41 kB / 1.392 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.42e-05/2.779, allocations: 358.5 kB / 1.392 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008381/2.78, allocations: 0.6467 MB / 1.393 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009819/2.781, allocations: 0.8769 MB / 1.394 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/2.782, allocations: 0.8143 MB / 1.395 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/2.782, allocations: 0 / 1.395 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.002811/2.785, allocations: 1.945 MB / 1.397 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002968/2.785, allocations: 1.495 MB / 1.398 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/2.785, allocations: 3.719 kB / 1.398 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000629/2.786, allocations: 227.8 kB / 1.398 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/2.787, allocations: 351.9 kB / 1.399 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003308/2.79, allocations: 4.483 MB / 1.403 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/2.792, allocations: 210.5 kB / 1.403 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/2.792, allocations: 51.81 kB / 1.403 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/2.792, allocations: 3.969 kB / 1.403 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002576/2.794, allocations: 1.801 MB / 1.405 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/2.794, allocations: 3.906 kB / 1.405 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005654/2.795, allocations: 230.3 kB / 1.405 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/2.796, allocations: 358.2 kB / 1.406 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003185/2.799, allocations: 4.484 MB / 1.41 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/2.801, allocations: 209.6 kB / 1.41 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/2.801, allocations: 54.41 kB / 1.41 GB, free: 134.2 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.001119/2.802, allocations: 0.5983 MB / 1.411 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002934/2.802, allocations: 134.9 kB / 1.411 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/2.805, allocations: 1.965 MB / 1.413 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/2.805, allocations: 14.16 kB / 1.413 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/2.805, allocations: 0 / 1.413 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/2.805, allocations: 14.02 kB / 1.413 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005951/2.811, allocations: 3.875 MB / 1.417 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/2.811, allocations: 0 / 1.417 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/2.813, allocations: 323.1 kB / 1.417 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005599/2.813, allocations: 218.9 kB / 1.417 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/2.813, allocations: 44.86 kB / 1.417 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003228/2.817, allocations: 4.34 MB / 1.421 GB, free: 130 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/2.817, allocations: 7.031 kB / 1.421 GB, free: 130 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004096/2.821, allocations: 2.845 MB / 1.424 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/2.822, allocations: 409.5 kB / 1.425 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003902/2.822, allocations: 38.84 kB / 1.425 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/2.824, allocations: 130.8 kB / 1.425 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/2.824, allocations: 95.81 kB / 1.425 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-05/2.824, allocations: 40 kB / 1.425 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001424/2.825, allocations: 0.7989 MB / 1.426 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.5e-07/2.825, allocations: 2.531 kB / 1.426 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003858/2.829, allocations: 1.027 MB / 1.427 GB, free: 128.2 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.005912/2.835, allocations: 4.155 MB / 1.431 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004957/2.84, allocations: 3.038 MB / 1.434 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/2.84, allocations: 0 / 1.434 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/2.842, allocations: 1.09 MB / 1.435 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/2.844, allocations: 420.4 kB / 1.435 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02121/2.865, allocations: 14.42 MB / 1.449 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001475/2.867, allocations: 1.612 MB / 1.451 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002263/2.869, allocations: 0.6921 MB / 1.451 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009379/2.87, allocations: 0.5867 MB / 1.452 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.753e-06/2.87, allocations: 0 / 1.452 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07059/2.941, allocations: 43.76 MB / 1.495 GB, free: 80.63 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/2.941, allocations: 249.2 kB / 1.495 GB, free: 80.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.459/6.4, allocations: 0 / 1.495 GB, free: 80.38 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Examples_EmbeddedPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Examples_EmbeddedPipe.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe 2>&1)