Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_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_dev_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.001051/0.001051, allocations: 173.9 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.7314/0.7314, 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.445/1.445, allocations: 221.3 MB / 400.4 MB, free: 5.84 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.001036/0.001036, allocations: 86.91 kB / 483.3 MB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.077e-05/5.088e-05, allocations: 4.031 kB / 0.5602 GB, free: 87.78 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1852, allocations: 82.31 MB / 0.6406 GB, free: 7.676 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.465/1.65, allocations: 386.2 MB / 1.018 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/1.651, allocations: 126.4 kB / 1.018 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.514/3.165, allocations: 485 MB / 1.492 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.354e-06/3.165, allocations: 0 / 1.492 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004066/3.166, allocations: 43.98 kB / 1.492 GB, free: 14.81 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.006441/3.172, allocations: 1.942 MB / 1.493 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.125e-05/3.172, allocations: 15.92 kB / 1.493 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005841/3.173, allocations: 160.5 kB / 1.494 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/3.174, allocations: 201.7 kB / 1.494 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004831/3.179, allocations: 1.708 MB / 1.495 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/3.179, allocations: 86.08 kB / 1.496 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004121/3.179, allocations: 111.9 kB / 1.496 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/3.182, allocations: 1.054 MB / 1.497 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.549e-05/3.182, allocations: 3.984 kB / 1.497 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/3.182, allocations: 44 kB / 1.497 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/3.182, allocations: 24 kB / 1.497 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/3.184, allocations: 0.7733 MB / 1.498 GB, free: 8.512 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.009473/3.193, allocations: 6.491 MB / 1.504 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008401/3.194, allocations: 0.5381 MB / 1.504 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004385/3.195, allocations: 339.7 kB / 1.505 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6426/3.837, allocations: 1.263 MB / 1.506 GB, free: 86.48 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.184e-05/3.837, allocations: 40.17 kB / 1.506 GB, free: 86.44 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 5.199e-06/3.837, allocations: 0 / 1.506 GB, free: 86.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.002993/3.84, allocations: 0.7176 MB / 1.507 GB, free: 86.38 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/3.84, allocations: 91.83 kB / 1.507 GB, free: 86.29 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004442/3.845, allocations: 1.357 MB / 1.508 GB, free: 86.13 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001665/3.845, allocations: 41.7 kB / 1.508 GB, free: 86.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009482/3.846, allocations: 0.7189 MB / 1.509 GB, free: 85.93 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000339/3.846, allocations: 245.5 kB / 1.509 GB, free: 85.81 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.366e-05/3.846, allocations: 18.88 kB / 1.509 GB, free: 85.81 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001127/3.847, allocations: 338.5 kB / 1.509 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006158/3.847, allocations: 263.9 kB / 1.51 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007059/3.848, allocations: 478.3 kB / 1.51 GB, free: 85.29 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006419/3.849, allocations: 347.8 kB / 1.51 GB, free: 85.29 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/3.849, allocations: 1.625 kB / 1.51 GB, free: 85.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002354/3.851, allocations: 0.9664 MB / 1.511 GB, free: 85.14 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003402/3.851, allocations: 1.351 MB / 1.513 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/3.851, allocations: 6.359 kB / 1.513 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003329/3.852, allocations: 77.33 kB / 1.513 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000714/3.852, allocations: 177.6 kB / 1.513 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/3.855, allocations: 2.971 MB / 1.516 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/3.857, allocations: 146.8 kB / 1.516 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/3.857, allocations: 38.59 kB / 1.516 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/3.857, allocations: 8.453 kB / 1.516 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001797/3.859, allocations: 0.797 MB / 1.517 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/3.859, allocations: 5.625 kB / 1.517 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001818/3.859, allocations: 67.33 kB / 1.517 GB, free: 80.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006749/3.86, allocations: 175.5 kB / 1.517 GB, free: 80.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/3.862, allocations: 2.952 MB / 1.52 GB, free: 78.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/3.863, allocations: 133.5 kB / 1.52 GB, free: 78.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/3.863, allocations: 40.67 kB / 1.52 GB, free: 78.28 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.0003655/3.864, allocations: 155.4 kB / 1.52 GB, free: 78.17 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000747/3.865, allocations: 161.9 kB / 1.52 GB, free: 78.09 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002993/3.868, allocations: 0.9596 MB / 1.521 GB, free: 77.99 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/3.868, allocations: 13.25 kB / 1.521 GB, free: 77.99 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/3.868, allocations: 1.625 kB / 1.521 GB, free: 77.99 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00144/3.869, allocations: 0.7709 MB / 1.522 GB, free: 77.79 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007341/3.877, allocations: 2.644 MB / 1.525 GB, free: 77.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/3.877, allocations: 5.781 kB / 1.525 GB, free: 77.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006122/3.877, allocations: 132.2 kB / 1.525 GB, free: 77.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000286/3.877, allocations: 75.23 kB / 1.525 GB, free: 77.12 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.041e-05/3.878, allocations: 22.17 kB / 1.525 GB, free: 77.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002348/3.88, allocations: 2.966 MB / 1.528 GB, free: 74.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/3.88, allocations: 5.156 kB / 1.528 GB, free: 74.46 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003295/3.883, allocations: 1.583 MB / 1.529 GB, free: 73.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/3.885, allocations: 375.6 kB / 1.53 GB, free: 73.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007546/3.886, allocations: 21.34 kB / 1.53 GB, free: 73.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/3.887, allocations: 60.14 kB / 1.53 GB, free: 73.61 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/3.887, allocations: 57.88 kB / 1.53 GB, free: 73.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/3.887, allocations: 33.06 kB / 1.53 GB, free: 73.61 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002452/3.89, allocations: 1.075 MB / 1.531 GB, free: 73.49 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.01e-07/3.89, allocations: 0 / 1.531 GB, free: 73.49 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005314/3.895, allocations: 1.194 MB / 1.532 GB, free: 73.46 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.006808/3.902, allocations: 4.036 MB / 1.536 GB, free: 71.51 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003765/3.906, allocations: 1.701 MB / 1.538 GB, free: 70.97 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/3.906, allocations: 3.844 kB / 1.538 GB, free: 70.97 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009713/3.907, allocations: 0.5786 MB / 1.538 GB, free: 70.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005535/3.912, allocations: 0.7976 MB / 1.539 GB, free: 70.74 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/3.922, allocations: 2.813 MB / 1.542 GB, free: 70.02 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001945/3.924, allocations: 1.31 MB / 1.543 GB, free: 69.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003624/3.928, allocations: 0.4963 MB / 1.544 GB, free: 69.28 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/3.929, allocations: 0.6008 MB / 1.544 GB, free: 69.27 MB / 0.6823 GB Notification: Performance of SimCode: time 1.903e-06/3.929, allocations: 0 / 1.544 GB, free: 69.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1297/4.059, allocations: 59.6 MB / 1.602 GB, free: 66.81 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/4.059, allocations: 256.6 kB / 1.603 GB, free: 66.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.67/8.729, allocations: 0 / 1.603 GB, free: 66.48 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)