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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_EmbeddedPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe,fileNamePrefix="IDEAS_dev_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.01103/0.01103, allocations: 172.4 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.8178/0.8178, 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.574/1.574, allocations: 223.2 MB / 406.8 MB, free: 3.246 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.00104/0.00104, allocations: 89.19 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004348/0.0004347, allocations: 8 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4051, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.817/1.222, allocations: 377 MB / 1.018 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/1.223, allocations: 94.33 kB / 1.018 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.655/2.878, allocations: 357.5 MB / 1.367 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.192e-06/2.878, allocations: 0 / 1.367 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.777e-05/2.878, allocations: 35.91 kB / 1.367 GB, free: 150.1 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.004563/2.882, allocations: 2.305 MB / 1.369 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/2.882, allocations: 9.375 kB / 1.369 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002244/2.883, allocations: 217.2 kB / 1.369 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005991/2.883, allocations: 281.3 kB / 1.37 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01072/2.894, allocations: 4.458 MB / 1.374 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.467e-05/2.894, allocations: 112 kB / 1.374 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/2.894, allocations: 150.1 kB / 1.374 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/2.896, allocations: 1.781 MB / 1.376 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.463e-05/2.896, allocations: 23.11 kB / 1.376 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/2.897, allocations: 58.47 kB / 1.376 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.374e-05/2.897, allocations: 49.62 kB / 1.376 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/2.899, allocations: 1.551 MB / 1.378 GB, free: 148.5 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.006259/2.905, allocations: 6.267 MB / 1.384 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/2.908, allocations: 2.069 MB / 1.386 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000923/2.909, allocations: 1.43 MB / 1.387 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/2.909, allocations: 52.36 kB / 1.387 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 2.595e-06/2.909, allocations: 0 / 1.387 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.003844/2.912, allocations: 2.661 MB / 1.39 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/2.912, allocations: 97.05 kB / 1.39 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/2.914, allocations: 0.9886 MB / 1.391 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.125e-05/2.914, allocations: 51.39 kB / 1.391 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/2.914, allocations: 0.6263 MB / 1.392 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/2.914, allocations: 0.4903 MB / 1.392 GB, free: 143 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/2.914, allocations: 26.06 kB / 1.392 GB, free: 143 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.012e-05/2.914, allocations: 360.2 kB / 1.392 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007814/2.915, allocations: 0.6466 MB / 1.393 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000875/2.916, allocations: 0.8712 MB / 1.394 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009233/2.917, allocations: 0.8217 MB / 1.395 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/2.917, allocations: 3.172 kB / 1.395 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.002377/2.919, allocations: 1.938 MB / 1.397 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002415/2.92, allocations: 1.498 MB / 1.398 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/2.92, allocations: 3.906 kB / 1.398 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005858/2.92, allocations: 219.6 kB / 1.398 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/2.921, allocations: 355.7 kB / 1.399 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/2.924, allocations: 4.477 MB / 1.403 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/2.925, allocations: 213.2 kB / 1.403 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.602e-05/2.925, allocations: 52.12 kB / 1.403 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/2.925, allocations: 3.5 kB / 1.403 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002274/2.928, allocations: 1.806 MB / 1.405 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/2.928, allocations: 6.125 kB / 1.405 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006127/2.928, allocations: 227.2 kB / 1.405 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/2.93, allocations: 350.9 kB / 1.406 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003435/2.933, allocations: 4.473 MB / 1.41 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/2.934, allocations: 221.1 kB / 1.41 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/2.935, allocations: 50.31 kB / 1.41 GB, free: 134.1 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.0008989/2.935, allocations: 0.6022 MB / 1.411 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/2.936, allocations: 132.1 kB / 1.411 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003362/2.939, allocations: 1.972 MB / 1.413 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/2.939, allocations: 17.52 kB / 1.413 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/2.939, allocations: 3.625 kB / 1.413 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/2.939, allocations: 3.891 kB / 1.413 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006248/2.945, allocations: 3.876 MB / 1.417 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/2.945, allocations: 3.562 kB / 1.417 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/2.947, allocations: 331.2 kB / 1.417 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000582/2.947, allocations: 206.1 kB / 1.417 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/2.948, allocations: 53.16 kB / 1.417 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00289/2.95, allocations: 4.343 MB / 1.421 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/2.951, allocations: 0.6562 kB / 1.421 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003445/2.954, allocations: 2.845 MB / 1.424 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008386/2.955, allocations: 409.3 kB / 1.425 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/2.955, allocations: 42.28 kB / 1.425 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008792/2.956, allocations: 127.2 kB / 1.425 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/2.956, allocations: 91.94 kB / 1.425 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.613e-05/2.956, allocations: 37.05 kB / 1.425 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009454/2.957, allocations: 0.8031 MB / 1.426 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/2.957, allocations: 3.75 kB / 1.426 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002714/2.96, allocations: 1.031 MB / 1.427 GB, free: 128.1 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.004567/2.964, allocations: 4.151 MB / 1.431 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003659/2.968, allocations: 3.04 MB / 1.434 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/2.968, allocations: 0 / 1.434 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/2.969, 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.001778/2.971, allocations: 419.6 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.01434/2.985, allocations: 14.43 MB / 1.449 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008426/2.986, allocations: 1.603 MB / 1.451 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00161/2.988, allocations: 0.6905 MB / 1.451 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006407/2.989, allocations: 0.5896 MB / 1.452 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of SimCode: time 7.81e-07/2.989, allocations: 0 / 1.452 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5043/3.493, allocations: 43.78 MB / 1.495 GB, free: 80.78 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/3.493, allocations: 241.9 kB / 1.495 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.47/6.963, allocations: 4 kB / 1.495 GB, free: 80.5 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_EmbeddedPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_EmbeddedPipe.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe 2>&1)