Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",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.001136/0.001136, allocations: 175 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.8642/0.8642, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.707/1.707, allocations: 221.3 MB / 400.4 MB, free: 5.793 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.0008724/0.0008725, allocations: 94.3 kB / 483.3 MB, free: 5.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.45e-05/4.452e-05, allocations: 4.562 kB / 0.5602 GB, free: 87.78 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1742, allocations: 82.31 MB / 0.6406 GB, free: 7.691 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.436/1.61, allocations: 386.2 MB / 1.018 GB, free: 234.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/1.61, allocations: 122.7 kB / 1.018 GB, free: 234.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.553/3.163, allocations: 485 MB / 1.492 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.413e-06/3.163, allocations: 0 / 1.492 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003254/3.163, allocations: 43.98 kB / 1.492 GB, free: 14.98 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.006579/3.17, allocations: 1.936 MB / 1.493 GB, free: 13 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/3.17, allocations: 15.98 kB / 1.493 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005855/3.171, allocations: 156.6 kB / 1.494 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/3.172, allocations: 205.7 kB / 1.494 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004928/3.177, allocations: 1.708 MB / 1.495 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/3.177, allocations: 78.08 kB / 1.496 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000387/3.177, allocations: 119.9 kB / 1.496 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002733/3.18, allocations: 1.05 MB / 1.497 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.288e-05/3.18, allocations: 3.938 kB / 1.497 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001567/3.18, allocations: 47.98 kB / 1.497 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/3.18, allocations: 28 kB / 1.497 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/3.182, allocations: 0.7695 MB / 1.498 GB, free: 8.691 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.01021/3.192, allocations: 6.487 MB / 1.504 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/3.193, allocations: 0.5506 MB / 1.504 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004886/3.194, allocations: 335.7 kB / 1.505 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6155/3.809, allocations: 1.264 MB / 1.506 GB, free: 87.24 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.534e-05/3.809, allocations: 43.2 kB / 1.506 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 4.028e-06/3.809, allocations: 0 / 1.506 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.002315/3.812, allocations: 0.7245 MB / 1.507 GB, free: 87.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/3.812, allocations: 84.7 kB / 1.507 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002683/3.814, allocations: 1.355 MB / 1.508 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001228/3.814, allocations: 45.52 kB / 1.508 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006884/3.815, allocations: 0.7136 MB / 1.509 GB, free: 86.69 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002679/3.815, allocations: 248.4 kB / 1.509 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/3.815, allocations: 16.81 kB / 1.509 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001097/3.816, allocations: 339.8 kB / 1.509 GB, free: 86.26 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005378/3.816, allocations: 262.6 kB / 1.51 GB, free: 86.26 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006891/3.817, allocations: 479.9 kB / 1.51 GB, free: 86.05 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00071/3.818, allocations: 342.6 kB / 1.51 GB, free: 86.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/3.818, allocations: 3.281 kB / 1.51 GB, free: 86.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001921/3.82, allocations: 0.9643 MB / 1.511 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003725/3.82, allocations: 1.362 MB / 1.513 GB, free: 84.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/3.82, allocations: 5.312 kB / 1.513 GB, free: 84.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003424/3.82, allocations: 69.59 kB / 1.513 GB, free: 84.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/3.821, allocations: 184.5 kB / 1.513 GB, free: 84.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/3.823, allocations: 2.963 MB / 1.516 GB, free: 81.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/3.824, allocations: 143 kB / 1.516 GB, free: 81.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/3.825, allocations: 37.83 kB / 1.516 GB, free: 81.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/3.825, allocations: 4.25 kB / 1.516 GB, free: 81.77 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001568/3.826, allocations: 0.7961 MB / 1.517 GB, free: 81.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/3.826, allocations: 6.844 kB / 1.517 GB, free: 81.74 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001456/3.826, allocations: 69.72 kB / 1.517 GB, free: 81.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006507/3.827, allocations: 176.6 kB / 1.517 GB, free: 81.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/3.829, allocations: 2.948 MB / 1.52 GB, free: 79.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/3.83, allocations: 134.6 kB / 1.52 GB, free: 79.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.513e-05/3.83, allocations: 39.77 kB / 1.52 GB, free: 79.04 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002657/3.831, allocations: 157 kB / 1.52 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000314/3.831, allocations: 163 kB / 1.52 GB, free: 78.85 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002117/3.833, allocations: 0.9657 MB / 1.521 GB, free: 78.75 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/3.833, allocations: 13.69 kB / 1.521 GB, free: 78.75 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/3.833, allocations: 1.156 kB / 1.521 GB, free: 78.75 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00122/3.834, allocations: 0.7697 MB / 1.522 GB, free: 78.55 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004937/3.839, allocations: 2.641 MB / 1.525 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/3.839, allocations: 7.281 kB / 1.525 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005716/3.84, allocations: 131.7 kB / 1.525 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000228/3.84, allocations: 72.22 kB / 1.525 GB, free: 77.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.192e-05/3.84, allocations: 20.73 kB / 1.525 GB, free: 77.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/3.842, allocations: 2.968 MB / 1.528 GB, free: 75.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.321e-06/3.842, allocations: 3.922 kB / 1.528 GB, free: 75.21 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/3.845, allocations: 1.582 MB / 1.529 GB, free: 74.55 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009402/3.846, allocations: 375.2 kB / 1.53 GB, free: 74.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/3.846, allocations: 23.11 kB / 1.53 GB, free: 74.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007726/3.847, allocations: 58.75 kB / 1.53 GB, free: 74.37 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/3.847, allocations: 59.28 kB / 1.53 GB, free: 74.37 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.021e-05/3.847, allocations: 32.86 kB / 1.53 GB, free: 74.37 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001919/3.849, allocations: 1.074 MB / 1.531 GB, free: 74.25 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/3.849, allocations: 1.969 kB / 1.531 GB, free: 74.25 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004006/3.853, allocations: 1.194 MB / 1.532 GB, free: 74.21 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005979/3.859, allocations: 4.035 MB / 1.536 GB, free: 72.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003267/3.862, allocations: 1.706 MB / 1.538 GB, free: 71.73 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.671e-05/3.862, allocations: 1.344 kB / 1.538 GB, free: 71.73 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008843/3.863, allocations: 0.5764 MB / 1.538 GB, free: 71.51 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005411/3.868, allocations: 0.799 MB / 1.539 GB, free: 71.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/3.879, allocations: 2.81 MB / 1.542 GB, free: 70.77 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002195/3.881, allocations: 1.315 MB / 1.543 GB, free: 70.05 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003826/3.885, allocations: 0.5071 MB / 1.544 GB, free: 70.04 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/3.886, allocations: 0.5963 MB / 1.544 GB, free: 70.03 MB / 0.6823 GB Notification: Performance of SimCode: time 1.453e-06/3.886, allocations: 0 / 1.544 GB, free: 70.03 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1409/4.027, allocations: 59.59 MB / 1.602 GB, free: 67.58 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002454/4.028, allocations: 250.8 kB / 1.603 GB, free: 67.24 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.358/8.386, allocations: 0 / 1.603 GB, free: 67.24 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)