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.001542/0.001542, allocations: 172.5 kB / 7.647 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.8288/0.8288, allocations: 133.6 MB / 141.6 MB, free: 2.93 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.441/1.441, allocations: 221.5 MB / 395.4 MB, free: 10.87 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.0009723/0.0009725, allocations: 105.2 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.294e-05/2.295e-05, allocations: 7.984 kB / 0.5535 GB, free: 8.992 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4676/0.4676, allocations: 82.3 MB / 0.6339 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8183/1.286, allocations: 376.3 MB / 1.001 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/1.286, allocations: 87.08 kB / 1.001 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.733/3.02, allocations: 354 MB / 1.347 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.393e-06/3.02, allocations: 3.812 kB / 1.347 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001823/3.02, allocations: 39.69 kB / 1.347 GB, free: 147.4 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.007558/3.027, allocations: 1.862 MB / 1.349 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001075/3.027, allocations: 9.062 kB / 1.349 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002272/3.03, allocations: 276.7 kB / 1.349 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01607/3.046, allocations: 4.416 MB / 1.354 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/3.046, allocations: 48.08 kB / 1.354 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005252/3.047, allocations: 89.38 kB / 1.354 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002911/3.05, allocations: 1.392 MB / 1.355 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002949/3.052, allocations: 1.535 MB / 1.357 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-05/3.053, allocations: 11.78 kB / 1.357 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/3.053, allocations: 0 / 1.357 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.986e-05/3.053, allocations: 47.75 kB / 1.357 GB, free: 146 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.01216/3.065, allocations: 6.176 MB / 1.363 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002927/3.068, allocations: 1.952 MB / 1.365 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/3.069, allocations: 0.949 MB / 1.366 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/3.07, allocations: 1.429 MB / 1.367 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/3.07, allocations: 57.33 kB / 1.367 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=136): time 4.048e-06/3.07, allocations: 0 / 1.367 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136): time 0.003169/3.073, allocations: 1.533 MB / 1.369 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/3.074, allocations: 90.2 kB / 1.369 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/3.075, allocations: 0.903 MB / 1.369 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/3.075, allocations: 32.92 kB / 1.37 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004134/3.076, allocations: 0.6342 MB / 1.37 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004231/3.076, allocations: 476.8 kB / 1.371 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/3.076, allocations: 0 / 1.371 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001218/3.076, allocations: 357.8 kB / 1.371 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007353/3.077, allocations: 0.585 MB / 1.371 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008783/3.078, allocations: 0.8025 MB / 1.372 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/3.079, allocations: 0.8117 MB / 1.373 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/3.079, allocations: 0 / 1.373 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003263/3.082, allocations: 1.818 MB / 1.375 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000439/3.083, allocations: 1.493 MB / 1.376 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/3.083, allocations: 7.578 kB / 1.376 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005976/3.084, allocations: 218 kB / 1.377 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/3.085, allocations: 355 kB / 1.377 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003374/3.088, allocations: 4.281 MB / 1.381 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/3.09, allocations: 176.6 kB / 1.381 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/3.09, allocations: 52.02 kB / 1.381 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/3.09, allocations: 4.812 kB / 1.381 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002945/3.093, allocations: 1.654 MB / 1.383 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/3.093, allocations: 3.875 kB / 1.383 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005428/3.094, allocations: 218.1 kB / 1.383 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/3.095, allocations: 354 kB / 1.383 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003294/3.098, allocations: 4.294 MB / 1.388 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/3.1, allocations: 174.9 kB / 1.388 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/3.1, allocations: 47.17 kB / 1.388 GB, free: 132.1 MB / 0.6823 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.0004243/3.1, allocations: 141.1 kB / 1.388 GB, free: 132 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002822/3.103, allocations: 1.536 MB / 1.389 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/3.104, allocations: 131.5 kB / 1.39 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/3.107, allocations: 1.747 MB / 1.391 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/3.107, allocations: 14.75 kB / 1.391 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/3.107, allocations: 3.719 kB / 1.391 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/3.107, allocations: 9.703 kB / 1.391 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00557/3.112, allocations: 3.565 MB / 1.395 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.188e-06/3.112, allocations: 3.938 kB / 1.395 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/3.114, allocations: 329.5 kB / 1.395 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004938/3.114, allocations: 201.1 kB / 1.395 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.982e-05/3.114, allocations: 33.09 kB / 1.395 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003111/3.117, allocations: 4.144 MB / 1.399 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/3.117, allocations: 0 / 1.399 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003829/3.121, allocations: 2.677 MB / 1.402 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000921/3.122, allocations: 412.2 kB / 1.402 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/3.122, allocations: 17.91 kB / 1.402 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/3.123, allocations: 106.9 kB / 1.403 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/3.124, allocations: 92.33 kB / 1.403 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/3.124, allocations: 40.11 kB / 1.403 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009497/3.125, allocations: 0.706 MB / 1.403 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/3.125, allocations: 0 / 1.403 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003241/3.128, allocations: 0.9642 MB / 1.404 GB, free: 127.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 () * 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.005795/3.134, allocations: 3.957 MB / 1.408 GB, free: 126 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005172/3.139, allocations: 2.841 MB / 1.411 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/3.139, allocations: 0 / 1.411 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00151/3.141, allocations: 1.003 MB / 1.412 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003007/3.144, allocations: 362.1 kB / 1.412 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008605/3.152, allocations: 4.481 MB / 1.417 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/3.153, allocations: 1.603 MB / 1.418 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002553/3.156, allocations: 0.8566 MB / 1.419 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006944/3.157, allocations: 0.5669 MB / 1.42 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of SimCode: time 7.72e-07/3.157, allocations: 0 / 1.42 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07878/3.235, allocations: 40.52 MB / 1.459 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/3.236, allocations: 165.3 kB / 1.459 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.615/6.851, allocations: 0 / 1.459 GB, free: 121.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)