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.00165/0.00165, allocations: 174.8 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.7364/0.7364, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.439/1.439, allocations: 221.3 MB / 400.4 MB, free: 5.84 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.001174/0.001174, allocations: 91.77 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.808e-05/3.828e-05, allocations: 3.969 kB / 0.5601 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1835, allocations: 82.3 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.334/1.517, allocations: 376.9 MB / 1.009 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/1.518, allocations: 91.48 kB / 1.009 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.184/2.702, allocations: 356.2 MB / 1.357 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.964e-06/2.702, allocations: 0 / 1.357 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002087/2.702, allocations: 38.89 kB / 1.357 GB, free: 140.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.005001/2.707, allocations: 1.873 MB / 1.358 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/2.707, allocations: 8.031 kB / 1.358 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006389/2.708, allocations: 210.9 kB / 1.359 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/2.709, allocations: 281.5 kB / 1.359 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/2.723, allocations: 4.41 MB / 1.363 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/2.723, allocations: 106.8 kB / 1.363 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005548/2.723, allocations: 147.9 kB / 1.363 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003715/2.727, allocations: 1.743 MB / 1.365 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-05/2.727, allocations: 15.83 kB / 1.365 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/2.727, allocations: 56 kB / 1.365 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.667e-05/2.727, allocations: 50.66 kB / 1.365 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002482/2.73, allocations: 1.482 MB / 1.367 GB, free: 129.7 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.007922/2.738, allocations: 6.269 MB / 1.373 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002821/2.741, allocations: 2.007 MB / 1.375 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/2.742, allocations: 0.9976 MB / 1.376 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/2.743, allocations: 1.433 MB / 1.377 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/2.743, allocations: 47.88 kB / 1.377 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 3.577e-06/2.743, allocations: 4 kB / 1.377 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.002426/2.745, allocations: 1.575 MB / 1.379 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/2.745, allocations: 94.41 kB / 1.379 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/2.747, allocations: 0.9736 MB / 1.38 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.707e-05/2.747, allocations: 49.7 kB / 1.38 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/2.747, allocations: 0.6332 MB / 1.38 GB, free: 115 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003186/2.748, allocations: 498.1 kB / 1.381 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/2.748, allocations: 24 kB / 1.381 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.29e-05/2.748, allocations: 361.9 kB / 1.381 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007623/2.748, allocations: 0.6169 MB / 1.382 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008803/2.749, allocations: 0.8326 MB / 1.383 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009734/2.75, allocations: 0.7817 MB / 1.383 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/2.75, allocations: 0 / 1.383 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.002671/2.753, allocations: 1.872 MB / 1.385 GB, free: 110 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002873/2.753, allocations: 1.493 MB / 1.387 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/2.753, allocations: 4 kB / 1.387 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006372/2.754, allocations: 222.4 kB / 1.387 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/2.755, allocations: 351.5 kB / 1.387 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003259/2.758, allocations: 4.428 MB / 1.392 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/2.76, allocations: 214.7 kB / 1.392 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/2.76, allocations: 51.98 kB / 1.392 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/2.76, allocations: 12.89 kB / 1.392 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002366/2.763, allocations: 1.727 MB / 1.394 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/2.763, allocations: 7.984 kB / 1.394 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005379/2.763, allocations: 225.2 kB / 1.394 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/2.764, allocations: 351.5 kB / 1.394 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003009/2.767, allocations: 4.44 MB / 1.398 GB, free: 95.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/2.769, allocations: 210.8 kB / 1.399 GB, free: 95.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/2.769, allocations: 51.98 kB / 1.399 GB, free: 95.52 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 () * 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.0002886/2.769, allocations: 172.7 kB / 1.399 GB, free: 95.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003413/2.769, allocations: 138.4 kB / 1.399 GB, free: 95.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/2.772, allocations: 1.898 MB / 1.401 GB, free: 93.29 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/2.772, allocations: 15.98 kB / 1.401 GB, free: 93.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/2.772, allocations: 4 kB / 1.401 GB, free: 93.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/2.772, allocations: 3.984 kB / 1.401 GB, free: 93.27 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005338/2.778, allocations: 3.82 MB / 1.405 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/2.778, allocations: 0 / 1.405 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/2.779, allocations: 327.6 kB / 1.405 GB, free: 89.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005225/2.78, allocations: 214 kB / 1.405 GB, free: 88.85 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/2.78, allocations: 47.92 kB / 1.405 GB, free: 88.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002884/2.783, allocations: 4.282 MB / 1.409 GB, free: 84.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/2.783, allocations: 0 / 1.409 GB, free: 84.24 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003389/2.786, allocations: 2.743 MB / 1.412 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009512/2.787, allocations: 414.8 kB / 1.412 GB, free: 81.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003532/2.787, allocations: 39.98 kB / 1.412 GB, free: 80.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/2.789, allocations: 131.6 kB / 1.413 GB, free: 80.86 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/2.789, allocations: 89.11 kB / 1.413 GB, free: 80.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-05/2.789, allocations: 43.98 kB / 1.413 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001141/2.79, allocations: 0.7856 MB / 1.414 GB, free: 79.93 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/2.79, allocations: 0 / 1.414 GB, free: 79.93 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003142/2.793, allocations: 1.033 MB / 1.415 GB, free: 78.89 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 () * 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.004819/2.798, allocations: 4.043 MB / 1.418 GB, free: 74.89 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003831/2.802, allocations: 2.964 MB / 1.421 GB, free: 71.87 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/2.802, allocations: 4 kB / 1.421 GB, free: 71.87 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/2.803, allocations: 1.059 MB / 1.422 GB, free: 70.79 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/2.805, allocations: 412 kB / 1.423 GB, free: 70.39 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008416/2.814, allocations: 4.59 MB / 1.427 GB, free: 65.74 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/2.815, allocations: 1.617 MB / 1.429 GB, free: 64.09 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002887/2.818, allocations: 0.8477 MB / 1.43 GB, free: 63.24 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000872/2.819, allocations: 0.5735 MB / 1.43 GB, free: 62.66 MB / 0.6823 GB Notification: Performance of SimCode: time 1.863e-06/2.819, allocations: 0 / 1.43 GB, free: 62.66 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07333/2.892, allocations: 45.91 MB / 1.475 GB, free: 17.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/2.892, allocations: 221.2 kB / 1.475 GB, free: 16.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.604/6.496, allocations: 0 / 1.475 GB, free: 16.91 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)