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.002005/0.002005, 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.7655/0.7655, allocations: 133.4 MB / 146.7 MB, free: 10.76 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.506/1.506, 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.0009174/0.0009173, allocations: 91.64 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.149e-05/4.152e-05, allocations: 4.156 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1671, allocations: 82.31 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.269/1.436, allocations: 376.9 MB / 1.009 GB, free: 244.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/1.436, allocations: 91.69 kB / 1.009 GB, free: 244.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.169/2.606, allocations: 356.2 MB / 1.357 GB, free: 147 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.332e-06/2.606, allocations: 2.969 kB / 1.357 GB, free: 147 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001867/2.606, allocations: 46.5 kB / 1.357 GB, free: 147 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.00487/2.611, allocations: 1.864 MB / 1.358 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/2.611, allocations: 7.188 kB / 1.358 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005596/2.612, allocations: 211.5 kB / 1.359 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/2.613, allocations: 278 kB / 1.359 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01326/2.626, allocations: 4.423 MB / 1.363 GB, free: 143 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/2.626, allocations: 108.5 kB / 1.363 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005718/2.627, allocations: 144.8 kB / 1.363 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004106/2.631, allocations: 1.746 MB / 1.365 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.092e-05/2.631, allocations: 15.66 kB / 1.365 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/2.631, allocations: 59.06 kB / 1.365 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-05/2.631, allocations: 48.84 kB / 1.365 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002605/2.634, allocations: 1.475 MB / 1.367 GB, free: 141.1 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.008599/2.642, allocations: 6.256 MB / 1.373 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00289/2.645, allocations: 2.014 MB / 1.375 GB, free: 135 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/2.646, allocations: 0.9999 MB / 1.376 GB, free: 134 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/2.648, allocations: 1.441 MB / 1.377 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/2.648, allocations: 47.88 kB / 1.377 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 3.126e-06/2.648, allocations: 0 / 1.377 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.002538/2.65, allocations: 1.573 MB / 1.379 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/2.65, allocations: 94.42 kB / 1.379 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/2.652, allocations: 0.9775 MB / 1.38 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.7e-05/2.652, allocations: 49.7 kB / 1.38 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003618/2.652, allocations: 0.6273 MB / 1.38 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003364/2.653, allocations: 0.497 MB / 1.381 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/2.653, allocations: 24 kB / 1.381 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.729e-05/2.653, allocations: 361.9 kB / 1.381 GB, free: 128 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007495/2.653, allocations: 0.6091 MB / 1.382 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008968/2.654, allocations: 0.8327 MB / 1.383 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009492/2.655, allocations: 0.7817 MB / 1.383 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/2.655, allocations: 4 kB / 1.383 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.002618/2.658, allocations: 1.872 MB / 1.385 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003142/2.658, allocations: 1.493 MB / 1.387 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/2.658, allocations: 4 kB / 1.387 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006394/2.659, allocations: 229.1 kB / 1.387 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/2.66, allocations: 355.5 kB / 1.387 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003388/2.663, allocations: 4.423 MB / 1.392 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/2.665, allocations: 214.7 kB / 1.392 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/2.665, allocations: 47.98 kB / 1.392 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/2.665, allocations: 7.953 kB / 1.392 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002362/2.667, allocations: 1.735 MB / 1.394 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/2.667, allocations: 4 kB / 1.394 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005599/2.668, allocations: 225.5 kB / 1.394 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/2.669, allocations: 355.5 kB / 1.394 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003095/2.672, allocations: 4.418 MB / 1.398 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/2.674, allocations: 226.4 kB / 1.399 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/2.674, allocations: 51.98 kB / 1.399 GB, free: 109.3 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.0003045/2.674, allocations: 176.7 kB / 1.399 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003866/2.675, allocations: 130.4 kB / 1.399 GB, free: 109 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002847/2.677, allocations: 1.902 MB / 1.401 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/2.677, allocations: 16 kB / 1.401 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/2.677, allocations: 0 / 1.401 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/2.677, allocations: 7.969 kB / 1.401 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005485/2.683, allocations: 3.812 MB / 1.405 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/2.683, allocations: 4.094 kB / 1.405 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/2.684, allocations: 319.6 kB / 1.405 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005148/2.685, allocations: 213.6 kB / 1.405 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/2.685, allocations: 51.92 kB / 1.405 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002789/2.688, allocations: 4.281 MB / 1.409 GB, free: 98.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/2.688, allocations: 0 / 1.409 GB, free: 98.07 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003245/2.691, allocations: 2.749 MB / 1.412 GB, free: 95.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009618/2.692, allocations: 410.9 kB / 1.412 GB, free: 94.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004258/2.692, allocations: 43.98 kB / 1.412 GB, free: 94.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/2.694, allocations: 135.6 kB / 1.413 GB, free: 94.68 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/2.694, allocations: 81.19 kB / 1.413 GB, free: 94.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.741e-05/2.694, allocations: 47.92 kB / 1.413 GB, free: 94.55 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001186/2.695, allocations: 0.7817 MB / 1.414 GB, free: 93.75 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/2.695, allocations: 0 / 1.414 GB, free: 93.75 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003158/2.698, allocations: 1.025 MB / 1.415 GB, free: 92.73 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.004734/2.703, allocations: 4.061 MB / 1.418 GB, free: 88.72 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003798/2.707, allocations: 2.969 MB / 1.421 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/2.707, allocations: 0 / 1.421 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/2.708, allocations: 1.055 MB / 1.422 GB, free: 84.62 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/2.71, allocations: 410.7 kB / 1.423 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007535/2.718, allocations: 4.595 MB / 1.427 GB, free: 79.65 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/2.719, allocations: 1.602 MB / 1.429 GB, free: 78.02 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002442/2.721, allocations: 0.8599 MB / 1.43 GB, free: 77.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006801/2.722, allocations: 0.5774 MB / 1.43 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of SimCode: time 1.182e-06/2.722, allocations: 0 / 1.43 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07861/2.801, allocations: 45.9 MB / 1.475 GB, free: 31.17 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/2.801, allocations: 210.5 kB / 1.475 GB, free: 30.95 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.954/6.754, allocations: 4 kB / 1.475 GB, free: 30.94 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)