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.001455/0.001455, allocations: 173.2 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.7785/0.7785, allocations: 133.6 MB / 141.6 MB, free: 2.863 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.603/1.603, allocations: 221.5 MB / 395.5 MB, free: 10.8 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.0008976/0.0008976, allocations: 107.5 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.264e-05/2.266e-05, allocations: 4 kB / 0.5536 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.588/0.588, allocations: 82.3 MB / 0.6339 GB, free: 40.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.018/1.607, allocations: 411.5 MB / 1.036 GB, free: 7.023 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/1.607, allocations: 99.81 kB / 1.036 GB, free: 6.973 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.886/3.493, allocations: 390.7 MB / 1.417 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.006e-06/3.493, allocations: 3.891 kB / 1.417 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001337/3.493, allocations: 41.81 kB / 1.417 GB, free: 170.3 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.00301/3.496, allocations: 1.524 MB / 1.419 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/3.496, allocations: 15.31 kB / 1.419 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004895/3.497, allocations: 156.3 kB / 1.419 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02265/3.52, allocations: 10.51 MB / 1.429 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.386e-05/3.52, allocations: 31.11 kB / 1.429 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/3.52, allocations: 54.48 kB / 1.429 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001295/3.521, allocations: 0.7612 MB / 1.43 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/3.523, allocations: 0.9721 MB / 1.431 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/3.523, allocations: 5.266 kB / 1.431 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.019e-05/3.523, allocations: 2.281 kB / 1.431 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.48e-05/3.523, allocations: 45.27 kB / 1.431 GB, free: 165.9 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.00567/3.528, allocations: 5.004 MB / 1.436 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/3.53, allocations: 0.6679 MB / 1.437 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003592/3.53, allocations: 309 kB / 1.437 GB, free: 162 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009999/3.531, allocations: 1.425 MB / 1.438 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005121/3.531, allocations: 375.7 kB / 1.439 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 3.767e-06/3.532, allocations: 0 / 1.439 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.001707/3.533, allocations: 0.7716 MB / 1.439 GB, free: 160 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/3.533, allocations: 63.5 kB / 1.44 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009635/3.534, allocations: 0.8259 MB / 1.44 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.526e-05/3.534, allocations: 29.33 kB / 1.44 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004182/3.535, allocations: 0.5625 MB / 1.441 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/3.535, allocations: 206.4 kB / 1.441 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/3.535, allocations: 0 / 1.441 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.912e-05/3.535, allocations: 335.9 kB / 1.441 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/3.535, allocations: 245.2 kB / 1.442 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000403/3.536, allocations: 442.4 kB / 1.442 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007235/3.537, allocations: 365.8 kB / 1.442 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/3.537, allocations: 7.672 kB / 1.442 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001636/3.538, allocations: 0.917 MB / 1.443 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003818/3.539, allocations: 1.69 MB / 1.445 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/3.539, allocations: 7.906 kB / 1.445 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004534/3.539, allocations: 121.6 kB / 1.445 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/3.54, allocations: 167.1 kB / 1.445 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/3.542, allocations: 3.068 MB / 1.448 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/3.543, allocations: 107.1 kB / 1.448 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.244e-05/3.543, allocations: 31.17 kB / 1.448 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/3.543, allocations: 3.875 kB / 1.448 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001578/3.545, allocations: 0.7923 MB / 1.449 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/3.545, allocations: 3.219 kB / 1.449 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003238/3.545, allocations: 119.5 kB / 1.449 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000573/3.545, allocations: 166.5 kB / 1.449 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/3.548, allocations: 3.068 MB / 1.452 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/3.549, allocations: 105.8 kB / 1.453 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.318e-05/3.549, allocations: 32.84 kB / 1.453 GB, free: 149.7 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 () * 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.0002777/3.549, allocations: 122.9 kB / 1.453 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00154/3.55, allocations: 0.7631 MB / 1.453 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/3.551, allocations: 107.6 kB / 1.454 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/3.553, allocations: 0.954 MB / 1.455 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/3.553, allocations: 15.77 kB / 1.455 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/3.553, allocations: 0 / 1.455 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001193/3.554, allocations: 0.8094 MB / 1.455 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003324/3.557, allocations: 1.981 MB / 1.457 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/3.557, allocations: 3.969 kB / 1.457 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005139/3.558, allocations: 124.2 kB / 1.457 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003082/3.558, allocations: 110.8 kB / 1.457 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/3.558, allocations: 13.83 kB / 1.457 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/3.56, allocations: 2.849 MB / 1.46 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/3.56, allocations: 0 / 1.46 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/3.562, allocations: 1.357 MB / 1.462 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005818/3.562, allocations: 295.4 kB / 1.462 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/3.563, allocations: 11.94 kB / 1.462 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007254/3.563, allocations: 78.08 kB / 1.462 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/3.563, allocations: 58.44 kB / 1.462 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.692e-05/3.564, allocations: 27.98 kB / 1.462 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000834/3.564, allocations: 0.6466 MB / 1.463 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/3.564, allocations: 0 / 1.463 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002116/3.567, allocations: 0.6663 MB / 1.463 GB, free: 140.9 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) * 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.003255/3.57, allocations: 2.508 MB / 1.466 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002185/3.572, allocations: 1.604 MB / 1.467 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/3.572, allocations: 0 / 1.467 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005762/3.573, allocations: 0.5522 MB / 1.468 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/3.575, allocations: 0.4928 MB / 1.468 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/3.579, allocations: 2.303 MB / 1.471 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006817/3.58, allocations: 1.333 MB / 1.472 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001801/3.582, allocations: 0.604 MB / 1.473 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005104/3.583, allocations: 447.3 kB / 1.473 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.492e-06/3.583, allocations: 0 / 1.473 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07977/3.662, allocations: 34.56 MB / 1.507 GB, free: 97.46 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003421/3.663, allocations: 182.8 kB / 1.507 GB, free: 97.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.251/6.914, allocations: 6.781 kB / 1.507 GB, free: 97.27 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)