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.008157/0.008157, allocations: 169.9 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7935/0.7935, 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.572/1.572, allocations: 223.2 MB / 406.8 MB, free: 3.262 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.0009818/0.0009819, allocations: 84.86 kB / 489.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003541, allocations: 12 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4495/0.4499, allocations: 82.31 MB / 0.6496 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8392/1.289, allocations: 386.3 MB / 1.027 GB, free: 3.543 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004662/1.29, allocations: 129.6 kB / 1.027 GB, free: 3.465 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.173/3.463, allocations: 486.7 MB / 1.502 GB, free: 74.81 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.034e-06/3.463, allocations: 0 / 1.502 GB, free: 74.81 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001603/3.463, allocations: 43.98 kB / 1.502 GB, free: 74.77 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.004883/3.468, allocations: 2.272 MB / 1.505 GB, free: 72.43 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/3.468, allocations: 9.281 kB / 1.505 GB, free: 72.43 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002405/3.468, allocations: 160.6 kB / 1.505 GB, free: 72.26 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004367/3.469, allocations: 210.4 kB / 1.505 GB, free: 72.05 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003063/3.472, allocations: 1.723 MB / 1.507 GB, free: 70.28 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.717e-05/3.472, allocations: 86.08 kB / 1.507 GB, free: 70.19 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/3.472, allocations: 108 kB / 1.507 GB, free: 70.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/3.474, allocations: 1.069 MB / 1.508 GB, free: 68.96 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/3.474, allocations: 0 / 1.508 GB, free: 68.96 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.403e-05/3.474, allocations: 44 kB / 1.508 GB, free: 68.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/3.474, allocations: 24 kB / 1.508 GB, free: 68.89 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/3.475, allocations: 0.7965 MB / 1.509 GB, free: 68.09 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.006935/3.482, allocations: 6.489 MB / 1.515 GB, free: 60.99 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007504/3.483, allocations: 0.5509 MB / 1.516 GB, free: 60.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008281/3.484, allocations: 1.271 MB / 1.517 GB, free: 58.89 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/3.484, allocations: 43.06 kB / 1.517 GB, free: 58.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 3.257e-06/3.484, allocations: 0 / 1.517 GB, free: 58.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.001883/3.485, allocations: 1.15 MB / 1.518 GB, free: 57.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/3.485, allocations: 89.66 kB / 1.518 GB, free: 57.54 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/3.487, allocations: 1.376 MB / 1.519 GB, free: 56.16 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.732e-05/3.487, allocations: 41.7 kB / 1.519 GB, free: 56.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004838/3.488, allocations: 0.7169 MB / 1.52 GB, free: 55.38 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/3.488, allocations: 236.5 kB / 1.52 GB, free: 55.15 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/3.488, allocations: 20 kB / 1.52 GB, free: 55.13 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.398e-05/3.488, allocations: 337.9 kB / 1.521 GB, free: 54.79 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/3.488, allocations: 273.9 kB / 1.521 GB, free: 54.53 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/3.489, allocations: 495 kB / 1.521 GB, free: 53.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/3.489, allocations: 349.7 kB / 1.522 GB, free: 53.63 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/3.489, allocations: 4 kB / 1.522 GB, free: 53.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001459/3.491, allocations: 0.9851 MB / 1.523 GB, free: 52.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002886/3.491, allocations: 1.353 MB / 1.524 GB, free: 51.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/3.491, allocations: 7.938 kB / 1.524 GB, free: 51.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002827/3.491, allocations: 81.05 kB / 1.524 GB, free: 51.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005951/3.492, allocations: 179.8 kB / 1.524 GB, free: 50.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/3.494, allocations: 3.001 MB / 1.527 GB, free: 47.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/3.495, allocations: 143 kB / 1.527 GB, free: 47.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.715e-05/3.495, allocations: 35.98 kB / 1.527 GB, free: 47.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/3.495, allocations: 4 kB / 1.527 GB, free: 47.45 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001207/3.497, allocations: 0.8096 MB / 1.528 GB, free: 46.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/3.497, allocations: 7.953 kB / 1.528 GB, free: 46.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001304/3.497, allocations: 66.12 kB / 1.528 GB, free: 46.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005643/3.497, allocations: 183.7 kB / 1.528 GB, free: 46.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/3.499, allocations: 2.969 MB / 1.531 GB, free: 43.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/3.5, allocations: 134.9 kB / 1.531 GB, free: 43.01 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.6e-05/3.5, allocations: 43.98 kB / 1.531 GB, free: 42.96 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.0009565/3.501, allocations: 452.8 kB / 1.532 GB, free: 42.51 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002709/3.501, allocations: 154.1 kB / 1.532 GB, free: 42.36 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/3.503, allocations: 0.9845 MB / 1.533 GB, free: 41.36 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/3.503, allocations: 8 kB / 1.533 GB, free: 41.35 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/3.503, allocations: 0 / 1.533 GB, free: 41.35 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008493/3.504, allocations: 0.7849 MB / 1.534 GB, free: 40.53 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00369/3.507, allocations: 2.651 MB / 1.536 GB, free: 37.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/3.508, allocations: 4 kB / 1.536 GB, free: 37.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005108/3.508, allocations: 131.8 kB / 1.537 GB, free: 37.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002012/3.508, allocations: 69.69 kB / 1.537 GB, free: 37.53 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-05/3.508, allocations: 23.98 kB / 1.537 GB, free: 37.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/3.51, allocations: 2.993 MB / 1.54 GB, free: 34.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/3.51, allocations: 7.938 kB / 1.54 GB, free: 34.25 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/3.512, allocations: 1.591 MB / 1.541 GB, free: 32.48 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007491/3.512, allocations: 374.7 kB / 1.541 GB, free: 32.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/3.513, allocations: 23.98 kB / 1.541 GB, free: 32.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007179/3.513, allocations: 55.75 kB / 1.542 GB, free: 32.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-05/3.513, allocations: 68.38 kB / 1.542 GB, free: 31.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/3.513, allocations: 27.98 kB / 1.542 GB, free: 31.92 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001442/3.515, allocations: 1.096 MB / 1.543 GB, free: 30.83 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/3.515, allocations: 0 / 1.543 GB, free: 30.83 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003639/3.519, allocations: 1.197 MB / 1.544 GB, free: 29.63 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.004545/3.523, allocations: 4.064 MB / 1.548 GB, free: 25.52 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002185/3.525, allocations: 1.657 MB / 1.549 GB, free: 23.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/3.525, allocations: 0 / 1.549 GB, free: 23.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005955/3.526, allocations: 0.5956 MB / 1.55 GB, free: 23.18 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003738/3.53, allocations: 0.7992 MB / 1.551 GB, free: 22.41 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007057/3.537, allocations: 6.795 MB / 1.557 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006443/3.537, allocations: 1.315 MB / 1.559 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001497/3.539, allocations: 362.2 kB / 1.559 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006921/3.54, allocations: 0.6281 MB / 1.56 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of SimCode: time 2.344e-06/3.54, allocations: 0 / 1.56 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.357/4.897, allocations: 56.03 MB / 1.614 GB, free: 109.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002498/4.897, allocations: 297.5 kB / 1.615 GB, free: 109.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.377/9.274, allocations: 4.625 kB / 1.615 GB, free: 109.3 MB / 0.698 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)