Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_HeatExchangers_RadiantSlab_Examples_EmbeddedPipeExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample,fileNamePrefix="IDEAS_dev_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.007063/0.007063, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7757/0.7757, allocations: 135.2 MB / 151 MB, free: 13.81 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.481/1.481, allocations: 223.2 MB / 406.8 MB, free: 3.156 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.001068/0.001068, allocations: 100.8 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003637, allocations: 16 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4472, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.15/1.597, allocations: 412.2 MB / 1.052 GB, free: 252.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/1.597, allocations: 103.1 kB / 1.052 GB, free: 252.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.155/2.752, allocations: 393.9 MB / 1.437 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.954e-06/2.752, allocations: 0 / 1.437 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001285/2.752, allocations: 35.94 kB / 1.437 GB, free: 144.7 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.004113/2.756, allocations: 1.865 MB / 1.439 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/2.757, allocations: 15.28 kB / 1.439 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002072/2.757, allocations: 142 kB / 1.439 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004447/2.757, allocations: 161.1 kB / 1.439 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02192/2.779, allocations: 10.61 MB / 1.449 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.838e-05/2.779, allocations: 66 kB / 1.449 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/2.779, allocations: 95.92 kB / 1.449 GB, free: 132 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/2.781, allocations: 1.149 MB / 1.451 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/2.781, allocations: 7.859 kB / 1.451 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/2.781, allocations: 38.89 kB / 1.451 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.625e-05/2.781, allocations: 34 kB / 1.451 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/2.783, allocations: 0.9091 MB / 1.452 GB, free: 129.8 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.00539/2.788, allocations: 5.18 MB / 1.457 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/2.79, allocations: 0.7858 MB / 1.457 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009549/2.791, allocations: 1.427 MB / 1.459 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006726/2.791, allocations: 434.8 kB / 1.459 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 3.627e-06/2.791, allocations: 112 / 1.459 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.002701/2.794, allocations: 1.373 MB / 1.461 GB, free: 120 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/2.794, allocations: 63.97 kB / 1.461 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/2.795, allocations: 0.9138 MB / 1.462 GB, free: 119 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.531e-05/2.795, allocations: 37.7 kB / 1.462 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004293/2.796, allocations: 0.5564 MB / 1.462 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/2.796, allocations: 212.9 kB / 1.462 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/2.796, allocations: 16 kB / 1.462 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.09e-05/2.796, allocations: 334 kB / 1.463 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004907/2.796, allocations: 309.4 kB / 1.463 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000584/2.797, allocations: 498.3 kB / 1.463 GB, free: 117 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006094/2.798, allocations: 414.3 kB / 1.464 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/2.798, allocations: 4 kB / 1.464 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001758/2.799, allocations: 1.047 MB / 1.465 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004821/2.8, allocations: 1.695 MB / 1.466 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/2.8, allocations: 6.938 kB / 1.466 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004651/2.8, allocations: 125.6 kB / 1.467 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/2.801, allocations: 159.8 kB / 1.467 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002533/2.804, allocations: 3.266 MB / 1.47 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/2.805, allocations: 131.1 kB / 1.47 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-05/2.805, allocations: 28 kB / 1.47 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/2.805, allocations: 4 kB / 1.47 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001672/2.807, allocations: 0.9379 MB / 1.471 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/2.807, allocations: 7.938 kB / 1.471 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003717/2.807, allocations: 125.5 kB / 1.471 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005985/2.808, allocations: 163.8 kB / 1.471 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/2.81, allocations: 3.248 MB / 1.474 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/2.812, allocations: 119.4 kB / 1.475 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.939e-05/2.812, allocations: 28 kB / 1.475 GB, free: 104.8 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.001109/2.813, allocations: 0.5005 MB / 1.475 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/2.813, allocations: 114.6 kB / 1.475 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/2.815, allocations: 1.061 MB / 1.476 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/2.815, allocations: 8 kB / 1.476 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/2.815, allocations: 0 / 1.476 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001303/2.816, allocations: 0.8992 MB / 1.477 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003482/2.82, allocations: 2.205 MB / 1.479 GB, free: 99.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/2.82, allocations: 0 / 1.479 GB, free: 99.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005299/2.82, allocations: 120 kB / 1.479 GB, free: 99.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003213/2.821, allocations: 121.6 kB / 1.48 GB, free: 99.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.601e-05/2.821, allocations: 15.98 kB / 1.48 GB, free: 99.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/2.823, allocations: 3.033 MB / 1.482 GB, free: 96.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/2.823, allocations: 3.938 kB / 1.482 GB, free: 96.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/2.825, allocations: 1.501 MB / 1.484 GB, free: 94.75 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006655/2.826, allocations: 299.5 kB / 1.484 GB, free: 94.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/2.826, allocations: 12 kB / 1.484 GB, free: 94.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000743/2.827, allocations: 99.56 kB / 1.484 GB, free: 94.34 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/2.827, allocations: 56.42 kB / 1.484 GB, free: 94.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.228e-05/2.827, allocations: 31.97 kB / 1.484 GB, free: 94.25 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009267/2.828, allocations: 0.7294 MB / 1.485 GB, free: 93.51 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.41e-07/2.828, allocations: 0 / 1.485 GB, free: 93.51 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002076/2.83, allocations: 0.6887 MB / 1.486 GB, free: 92.82 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.003162/2.833, allocations: 2.677 MB / 1.488 GB, free: 90.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002459/2.835, allocations: 1.787 MB / 1.49 GB, free: 88.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/2.835, allocations: 0 / 1.49 GB, free: 88.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007382/2.836, allocations: 0.6333 MB / 1.491 GB, free: 87.64 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/2.839, allocations: 0.5211 MB / 1.491 GB, free: 87.15 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/2.851, allocations: 10.4 MB / 1.501 GB, free: 76.44 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006492/2.851, allocations: 1.328 MB / 1.503 GB, free: 75.09 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001379/2.853, allocations: 409.8 kB / 1.503 GB, free: 74.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005153/2.853, allocations: 463.3 kB / 1.504 GB, free: 74.25 MB / 0.6823 GB Notification: Performance of SimCode: time 1.035e-05/2.853, allocations: 4 kB / 1.504 GB, free: 74.25 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05346/2.907, allocations: 37.23 MB / 1.54 GB, free: 37.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/2.907, allocations: 260.3 kB / 1.54 GB, free: 37.19 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.249/6.156, allocations: 0 / 1.54 GB, free: 37.19 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_RadiantSlab_Examples_EmbeddedPipeExample_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_RadiantSlab_Examples_EmbeddedPipeExample.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe 2>&1)