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.006662/0.006662, 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.7415/0.7415, allocations: 135.2 MB / 151 MB, free: 13.83 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.699/1.699, allocations: 223.2 MB / 406.8 MB, free: 3.215 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.001014/0.001014, allocations: 101.4 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003478, allocations: 8 kB / 0.5692 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4064, allocations: 82.31 MB / 0.6496 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.812/1.218, allocations: 386.3 MB / 1.027 GB, free: 3.527 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/1.219, allocations: 129.6 kB / 1.027 GB, free: 3.449 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.758/2.976, allocations: 486.7 MB / 1.502 GB, free: 74.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.803e-06/2.977, allocations: 0 / 1.502 GB, free: 74.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001617/2.977, allocations: 55.98 kB / 1.502 GB, free: 74.75 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.005018/2.982, allocations: 2.272 MB / 1.505 GB, free: 72.42 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/2.982, allocations: 9.281 kB / 1.505 GB, free: 72.41 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002434/2.982, allocations: 160.5 kB / 1.505 GB, free: 72.24 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004516/2.982, allocations: 210.4 kB / 1.505 GB, free: 72.04 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00305/2.986, allocations: 1.727 MB / 1.507 GB, free: 70.26 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.173e-05/2.986, allocations: 82.08 kB / 1.507 GB, free: 70.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/2.986, allocations: 116 kB / 1.507 GB, free: 70.06 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/2.987, allocations: 1.061 MB / 1.508 GB, free: 68.94 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/2.987, allocations: 4 kB / 1.508 GB, free: 68.94 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.762e-05/2.988, allocations: 44 kB / 1.508 GB, free: 68.89 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/2.988, allocations: 31.94 kB / 1.508 GB, free: 68.86 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/2.989, allocations: 0.7926 MB / 1.509 GB, free: 68.06 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.007062/2.996, allocations: 6.481 MB / 1.515 GB, free: 60.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000748/2.997, allocations: 0.5557 MB / 1.516 GB, free: 60.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008444/2.997, allocations: 1.267 MB / 1.517 GB, free: 58.87 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/2.997, allocations: 43.12 kB / 1.517 GB, free: 58.82 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 2.144e-06/2.997, allocations: 0 / 1.517 GB, free: 58.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.001844/2.999, allocations: 1.154 MB / 1.518 GB, free: 57.62 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/2.999, allocations: 85.67 kB / 1.518 GB, free: 57.52 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/3.001, allocations: 1.376 MB / 1.519 GB, free: 56.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.604e-05/3.001, allocations: 37.7 kB / 1.519 GB, free: 56.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004308/3.002, allocations: 0.7208 MB / 1.52 GB, free: 55.37 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/3.002, allocations: 244.5 kB / 1.52 GB, free: 55.12 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/3.002, allocations: 16 kB / 1.52 GB, free: 55.11 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.396e-05/3.002, allocations: 338 kB / 1.521 GB, free: 54.77 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/3.002, allocations: 265.9 kB / 1.521 GB, free: 54.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005245/3.003, allocations: 491 kB / 1.521 GB, free: 53.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004493/3.003, allocations: 361.6 kB / 1.522 GB, free: 53.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/3.003, allocations: 0 / 1.522 GB, free: 53.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001353/3.005, allocations: 0.9892 MB / 1.523 GB, free: 52.61 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002365/3.005, allocations: 1.348 MB / 1.524 GB, free: 51.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/3.005, allocations: 11.94 kB / 1.524 GB, free: 51.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002674/3.005, allocations: 69.44 kB / 1.524 GB, free: 51.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005839/3.006, allocations: 183.7 kB / 1.524 GB, free: 50.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/3.007, allocations: 3.004 MB / 1.527 GB, free: 47.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/3.009, allocations: 139 kB / 1.527 GB, free: 47.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.671e-05/3.009, allocations: 39.98 kB / 1.527 GB, free: 47.44 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.684e-06/3.009, allocations: 4 kB / 1.527 GB, free: 47.43 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001102/3.01, allocations: 0.8138 MB / 1.528 GB, free: 46.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/3.01, allocations: 7.953 kB / 1.528 GB, free: 46.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001164/3.01, allocations: 61.69 kB / 1.528 GB, free: 46.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005623/3.01, allocations: 179.7 kB / 1.528 GB, free: 46.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/3.012, allocations: 2.973 MB / 1.531 GB, free: 43.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/3.013, allocations: 134.9 kB / 1.531 GB, free: 42.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.068e-05/3.013, allocations: 39.98 kB / 1.531 GB, free: 42.95 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 () * Number of clocked 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.0008885/3.014, allocations: 452.8 kB / 1.532 GB, free: 42.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/3.014, allocations: 154.1 kB / 1.532 GB, free: 42.35 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/3.016, allocations: 0.9848 MB / 1.533 GB, free: 41.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/3.016, allocations: 12 kB / 1.533 GB, free: 41.33 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/3.016, allocations: 7.656 kB / 1.533 GB, free: 41.33 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008539/3.017, allocations: 0.7771 MB / 1.534 GB, free: 40.52 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003746/3.021, allocations: 2.643 MB / 1.536 GB, free: 37.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/3.021, allocations: 7.938 kB / 1.536 GB, free: 37.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005141/3.021, allocations: 132.2 kB / 1.537 GB, free: 37.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001912/3.021, allocations: 77.62 kB / 1.537 GB, free: 37.51 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/3.021, allocations: 19.98 kB / 1.537 GB, free: 37.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/3.023, allocations: 2.997 MB / 1.54 GB, free: 34.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/3.023, allocations: 0 / 1.54 GB, free: 34.23 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/3.025, allocations: 1.598 MB / 1.541 GB, free: 32.46 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007302/3.025, allocations: 370.7 kB / 1.541 GB, free: 32.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/3.026, allocations: 23.98 kB / 1.541 GB, free: 32.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007042/3.026, allocations: 55.81 kB / 1.542 GB, free: 32 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/3.026, allocations: 64.31 kB / 1.542 GB, free: 31.94 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-05/3.026, allocations: 31.98 kB / 1.542 GB, free: 31.91 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001473/3.028, allocations: 1.096 MB / 1.543 GB, free: 30.82 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/3.028, allocations: 0 / 1.543 GB, free: 30.82 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003721/3.032, allocations: 1.193 MB / 1.544 GB, free: 29.62 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 () * Number of clocked 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.00458/3.036, allocations: 4.069 MB / 1.548 GB, free: 25.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002185/3.038, allocations: 1.657 MB / 1.549 GB, free: 23.79 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/3.038, allocations: 4.125 kB / 1.549 GB, free: 23.78 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006308/3.039, allocations: 0.5901 MB / 1.55 GB, free: 23.16 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003622/3.043, allocations: 0.8055 MB / 1.551 GB, free: 22.39 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006432/3.049, allocations: 6.787 MB / 1.557 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006437/3.05, allocations: 1.311 MB / 1.559 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00146/3.051, allocations: 369.1 kB / 1.559 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006559/3.052, allocations: 0.6281 MB / 1.56 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of SimCode: time 2.294e-06/3.052, allocations: 0 / 1.56 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5268/3.579, allocations: 56.04 MB / 1.614 GB, free: 109.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/3.579, allocations: 287.6 kB / 1.615 GB, free: 108.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.916/7.495, allocations: 0 / 1.615 GB, free: 108.7 MB / 0.698 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)