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.001493/0.001492, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8528/0.8528, allocations: 133.6 MB / 141.6 MB, free: 2.879 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 221.5 MB / 395.4 MB, free: 10.81 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.0009004/0.0009006, allocations: 97.59 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.726e-05/3.761e-05, allocations: 4 kB / 0.5535 GB, free: 8.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4623/0.4624, allocations: 82.3 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8085/1.271, allocations: 376.3 MB / 1.001 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/1.271, allocations: 95.31 kB / 1.001 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.639/2.91, allocations: 354 MB / 1.347 GB, free: 141.7 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.503e-06/2.91, allocations: 3.25 kB / 1.347 GB, free: 141.7 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002008/2.91, allocations: 39.36 kB / 1.347 GB, free: 141.7 MB / 0.6667 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.004876/2.915, allocations: 1.854 MB / 1.349 GB, free: 140.9 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/2.915, allocations: 13.75 kB / 1.349 GB, free: 140.9 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/2.917, allocations: 279.4 kB / 1.349 GB, free: 140.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01376/2.931, allocations: 4.424 MB / 1.354 GB, free: 140.4 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/2.931, allocations: 43.56 kB / 1.354 GB, free: 140.4 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005904/2.931, allocations: 96.59 kB / 1.354 GB, free: 140.4 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003249/2.935, allocations: 1.387 MB / 1.355 GB, free: 140.4 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003823/2.938, allocations: 1.54 MB / 1.357 GB, free: 140.2 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/2.939, allocations: 7.688 kB / 1.357 GB, free: 140.2 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002431/2.939, allocations: 7.797 kB / 1.357 GB, free: 140.2 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.551e-05/2.939, allocations: 48.16 kB / 1.357 GB, free: 140.2 MB / 0.6667 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.009787/2.949, allocations: 6.179 MB / 1.363 GB, free: 137.6 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00305/2.952, allocations: 1.94 MB / 1.365 GB, free: 137.5 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/2.953, allocations: 0.9539 MB / 1.366 GB, free: 137.5 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/2.954, allocations: 1.434 MB / 1.367 GB, free: 135.9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/2.954, allocations: 46.75 kB / 1.367 GB, free: 135.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=136): time 3.747e-06/2.954, allocations: 1.688 kB / 1.367 GB, free: 135.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=136): time 0.003102/2.957, allocations: 1.538 MB / 1.369 GB, free: 135.7 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/2.957, allocations: 96.14 kB / 1.369 GB, free: 135.6 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/2.959, allocations: 0.9006 MB / 1.369 GB, free: 135.5 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001111/2.959, allocations: 25.7 kB / 1.37 GB, free: 135.4 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004675/2.96, allocations: 0.6345 MB / 1.37 GB, free: 135.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004171/2.96, allocations: 469.7 kB / 1.371 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-05/2.96, allocations: 0 / 1.371 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001249/2.96, allocations: 360.5 kB / 1.371 GB, free: 134.6 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007581/2.961, allocations: 0.5842 MB / 1.372 GB, free: 134.6 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008638/2.962, allocations: 0.7983 MB / 1.372 GB, free: 134.4 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/2.963, allocations: 0.8177 MB / 1.373 GB, free: 134.3 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/2.963, allocations: 0 / 1.373 GB, free: 134.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003207/2.967, allocations: 1.813 MB / 1.375 GB, free: 134.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003182/2.967, allocations: 1.497 MB / 1.376 GB, free: 132.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/2.967, allocations: 3.531 kB / 1.376 GB, free: 132.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005952/2.968, allocations: 222.6 kB / 1.377 GB, free: 132.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/2.969, allocations: 354.2 kB / 1.377 GB, free: 132.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003541/2.972, allocations: 4.284 MB / 1.381 GB, free: 129.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/2.974, allocations: 171.8 kB / 1.381 GB, free: 129.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/2.974, allocations: 52.41 kB / 1.381 GB, free: 129.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/2.974, allocations: 4.688 kB / 1.381 GB, free: 129.4 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003175/2.978, allocations: 1.662 MB / 1.383 GB, free: 129.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/2.978, allocations: 7.859 kB / 1.383 GB, free: 129.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005154/2.978, allocations: 209.7 kB / 1.383 GB, free: 129.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/2.979, allocations: 356.3 kB / 1.383 GB, free: 129.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003443/2.983, allocations: 4.294 MB / 1.388 GB, free: 126.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/2.984, allocations: 169.8 kB / 1.388 GB, free: 126.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001942/2.985, allocations: 50.11 kB / 1.388 GB, free: 126.2 MB / 0.6667 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: embeddedPipe.vol[1].heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real [1] 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 () * 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.000525/2.985, allocations: 128.7 kB / 1.388 GB, free: 126.1 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003431/2.989, allocations: 1.54 MB / 1.389 GB, free: 125.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004726/2.989, allocations: 130.3 kB / 1.39 GB, free: 125.8 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003192/2.992, allocations: 1.749 MB / 1.391 GB, free: 125.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/2.992, allocations: 21.42 kB / 1.391 GB, free: 125.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/2.992, allocations: 0 / 1.391 GB, free: 125.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/2.992, allocations: 7.594 kB / 1.391 GB, free: 125.7 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006253/2.999, allocations: 3.571 MB / 1.395 GB, free: 125.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/2.999, allocations: 0 / 1.395 GB, free: 125.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/3, allocations: 327.9 kB / 1.395 GB, free: 125.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004966/3, allocations: 213.5 kB / 1.395 GB, free: 125.2 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/3.001, allocations: 27.34 kB / 1.395 GB, free: 125.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003008/3.004, allocations: 4.132 MB / 1.399 GB, free: 122.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/3.004, allocations: 7 kB / 1.399 GB, free: 122.1 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00394/3.008, allocations: 2.683 MB / 1.402 GB, free: 121.7 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/3.009, allocations: 410.9 kB / 1.402 GB, free: 121.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003849/3.009, allocations: 18.05 kB / 1.402 GB, free: 121.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/3.01, allocations: 110.7 kB / 1.403 GB, free: 121.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/3.011, allocations: 84.2 kB / 1.403 GB, free: 121.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-05/3.011, allocations: 41.36 kB / 1.403 GB, free: 121.5 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001149/3.012, allocations: 0.7029 MB / 1.403 GB, free: 121.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.3e-07/3.012, allocations: 3.281 kB / 1.403 GB, free: 121.4 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003975/3.016, allocations: 0.9666 MB / 1.404 GB, free: 121.2 MB / 0.6667 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 () * 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.005859/3.022, allocations: 3.956 MB / 1.408 GB, free: 120.1 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004108/3.026, allocations: 2.845 MB / 1.411 GB, free: 119.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/3.026, allocations: 2.938 kB / 1.411 GB, free: 119.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001255/3.027, allocations: 1.001 MB / 1.412 GB, free: 119.4 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/3.029, allocations: 361.6 kB / 1.412 GB, free: 119.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/3.04, allocations: 4.47 MB / 1.417 GB, free: 118 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001697/3.042, allocations: 1.615 MB / 1.418 GB, free: 117.2 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003056/3.045, allocations: 0.8501 MB / 1.419 GB, free: 117.1 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008671/3.046, allocations: 0.5658 MB / 1.42 GB, free: 116.7 MB / 0.6667 GB Notification: Performance of SimCode: time 1.543e-06/3.046, allocations: 0 / 1.42 GB, free: 116.7 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07718/3.123, allocations: 40.53 MB / 1.459 GB, free: 94.12 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/3.123, allocations: 159.5 kB / 1.459 GB, free: 93.93 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.511/6.634, allocations: 3.969 kB / 1.459 GB, free: 93.92 MB / 0.6667 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)