Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.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.RadiantSlab.Examples.EmbeddedPipeExample,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_RadiantSlab_Examples_EmbeddedPipeExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_RadiantSlab_Examples_EmbeddedPipeExample",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.008778/0.008778, allocations: 169.5 kB / 15.11 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.8389/0.8389, allocations: 135.2 MB / 151 MB, free: 13.8 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.658/1.658, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.001056/0.001056, allocations: 104.8 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003966, allocations: 16 kB / 0.5692 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5229/0.5234, allocations: 82.3 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.35/1.873, allocations: 412.2 MB / 1.052 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003687/1.874, allocations: 102.9 kB / 1.052 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.156/3.029, allocations: 393.9 MB / 1.437 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.825e-06/3.029, allocations: 0 / 1.437 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001497/3.029, allocations: 39.95 kB / 1.437 GB, free: 134.2 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004474/3.034, allocations: 1.866 MB / 1.439 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/3.034, allocations: 8.031 kB / 1.439 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001857/3.034, allocations: 143.2 kB / 1.439 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004167/3.035, allocations: 158.2 kB / 1.439 GB, free: 132 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02327/3.058, allocations: 10.63 MB / 1.449 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.775e-05/3.058, allocations: 66 kB / 1.449 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/3.058, allocations: 88 kB / 1.449 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/3.06, allocations: 1.139 MB / 1.451 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/3.06, allocations: 19.8 kB / 1.451 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.93e-05/3.06, allocations: 32 kB / 1.451 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.894e-05/3.06, allocations: 41.98 kB / 1.451 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/3.062, allocations: 0.9055 MB / 1.452 GB, free: 119.3 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.005762/3.067, allocations: 5.176 MB / 1.457 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/3.069, allocations: 0.7839 MB / 1.457 GB, free: 113 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/3.07, allocations: 1.433 MB / 1.459 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006809/3.071, allocations: 434.9 kB / 1.459 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 2.585e-06/3.071, allocations: 0 / 1.459 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.00275/3.073, allocations: 1.369 MB / 1.461 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/3.073, allocations: 59.97 kB / 1.461 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/3.075, allocations: 0.9178 MB / 1.462 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.661e-05/3.075, allocations: 45.64 kB / 1.462 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004042/3.075, allocations: 0.5619 MB / 1.462 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/3.075, allocations: 204.9 kB / 1.462 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/3.075, allocations: 20 kB / 1.462 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.87e-05/3.075, allocations: 329.9 kB / 1.463 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004938/3.076, allocations: 309.4 kB / 1.463 GB, free: 107 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000571/3.076, allocations: 498.4 kB / 1.463 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005909/3.077, allocations: 414.2 kB / 1.464 GB, free: 106 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/3.077, allocations: 4 kB / 1.464 GB, free: 106 MB / 0.6823 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001742/3.079, allocations: 1.051 MB / 1.465 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004278/3.079, allocations: 1.687 MB / 1.466 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/3.079, allocations: 4 kB / 1.466 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000456/3.08, allocations: 125.6 kB / 1.467 GB, free: 103 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006056/3.08, allocations: 167.8 kB / 1.467 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/3.083, allocations: 3.254 MB / 1.47 GB, free: 99.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009603/3.084, allocations: 131.3 kB / 1.47 GB, free: 99.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-05/3.084, allocations: 31.98 kB / 1.47 GB, free: 99.11 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/3.084, allocations: 4 kB / 1.47 GB, free: 99.11 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001624/3.086, allocations: 0.9295 MB / 1.471 GB, free: 98.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/3.086, allocations: 4.562 kB / 1.471 GB, free: 98.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003609/3.086, allocations: 129.6 kB / 1.471 GB, free: 98.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005816/3.087, allocations: 163.8 kB / 1.471 GB, free: 97.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/3.089, allocations: 3.261 MB / 1.474 GB, free: 94.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/3.09, allocations: 115.4 kB / 1.475 GB, free: 94.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-05/3.09, allocations: 31.98 kB / 1.475 GB, free: 94.19 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001103/3.091, allocations: 0.4934 MB / 1.475 GB, free: 93.68 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/3.092, allocations: 114.6 kB / 1.475 GB, free: 93.57 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/3.094, allocations: 1.055 MB / 1.476 GB, free: 92.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/3.094, allocations: 7.984 kB / 1.476 GB, free: 92.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/3.094, allocations: 7.938 kB / 1.476 GB, free: 92.49 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001469/3.095, allocations: 0.9031 MB / 1.477 GB, free: 91.55 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004233/3.099, allocations: 2.2 MB / 1.479 GB, free: 89.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/3.099, allocations: 0 / 1.479 GB, free: 89.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005877/3.1, allocations: 127.8 kB / 1.479 GB, free: 89.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003629/3.1, allocations: 105.7 kB / 1.48 GB, free: 89.05 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-05/3.1, allocations: 23.98 kB / 1.48 GB, free: 89.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002636/3.103, allocations: 3.031 MB / 1.482 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/3.103, allocations: 32 / 1.482 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002837/3.106, allocations: 1.509 MB / 1.484 GB, free: 84.17 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009421/3.107, allocations: 299.5 kB / 1.484 GB, free: 83.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/3.107, allocations: 12 kB / 1.484 GB, free: 83.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008347/3.108, allocations: 95.81 kB / 1.484 GB, free: 83.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/3.108, allocations: 52.36 kB / 1.484 GB, free: 83.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.811e-05/3.108, allocations: 35.97 kB / 1.484 GB, free: 83.67 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001264/3.109, allocations: 0.7255 MB / 1.485 GB, free: 82.93 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.4e-07/3.109, allocations: 3.938 kB / 1.485 GB, free: 82.93 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002461/3.112, allocations: 0.705 MB / 1.486 GB, free: 82.23 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (embeddedPipe.vol[1].dynBal.U,embeddedPipe.vol[2].dynBal.U,senTem.T) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003422/3.115, allocations: 2.669 MB / 1.488 GB, free: 79.57 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002466/3.118, allocations: 1.775 MB / 1.49 GB, free: 77.71 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/3.118, allocations: 4.375 kB / 1.49 GB, free: 77.71 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00075/3.119, allocations: 0.6292 MB / 1.491 GB, free: 77.06 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/3.121, allocations: 0.5284 MB / 1.491 GB, free: 76.54 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/3.132, allocations: 10.4 MB / 1.501 GB, free: 65.82 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000682/3.133, allocations: 1.332 MB / 1.503 GB, free: 64.46 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001385/3.134, allocations: 418.3 kB / 1.503 GB, free: 64.06 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005098/3.135, allocations: 463.3 kB / 1.504 GB, free: 63.61 MB / 0.6823 GB Notification: Performance of SimCode: time 1.042e-06/3.135, allocations: 4 kB / 1.504 GB, free: 63.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05437/3.189, allocations: 37.21 MB / 1.54 GB, free: 26.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/3.189, allocations: 258.4 kB / 1.54 GB, free: 26.47 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.269/6.458, allocations: 0 / 1.54 GB, free: 26.47 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_RadiantSlab_Examples_EmbeddedPipeExample_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_RadiantSlab_Examples_EmbeddedPipeExample.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe 2>&1)