Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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.InternalHEXTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",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.001103/0.001103, allocations: 174.1 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.7906/0.7906, 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.441/1.441, allocations: 221.3 MB / 400.4 MB, free: 5.848 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.0009125/0.0009124, allocations: 95.14 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.66e-05/3.662e-05, allocations: 5.984 kB / 0.5602 GB, free: 87.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1705, allocations: 82.31 MB / 0.6405 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.331/1.501, allocations: 403.7 MB / 1.035 GB, free: 216.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003628/1.502, allocations: 122 kB / 1.035 GB, free: 216.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.702/6.204, allocations: 1.042 GB / 2.077 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.917e-06/6.204, allocations: 3.812 kB / 2.077 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0006278/6.204, allocations: 80.78 kB / 2.077 GB, free: 55.8 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.01157/6.216, allocations: 3.065 MB / 2.08 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.919e-05/6.216, allocations: 7.594 kB / 2.08 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001558/6.218, allocations: 293.7 kB / 2.08 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002864/6.22, allocations: 371.9 kB / 2.081 GB, free: 54.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/6.231, allocations: 2.929 MB / 2.083 GB, free: 53.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002231/6.231, allocations: 158.8 kB / 2.084 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008415/6.232, allocations: 218.9 kB / 2.084 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006242/6.238, allocations: 2.082 MB / 2.086 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001136/6.238, allocations: 6.828 kB / 2.086 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004657/6.239, allocations: 94.28 kB / 2.086 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.502e-05/6.239, allocations: 49.34 kB / 2.086 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003913/6.243, allocations: 1.565 MB / 2.088 GB, free: 53.59 MB / 0.7136 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.01677/6.26, allocations: 8.849 MB / 2.096 GB, free: 50.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/6.262, allocations: 1.33 MB / 2.097 GB, free: 50.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/6.263, allocations: 0.8568 MB / 2.098 GB, free: 50.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002211/6.265, allocations: 2.914 MB / 2.101 GB, free: 47.29 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/6.265, allocations: 61.91 kB / 2.101 GB, free: 47.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=148): time 4.118e-06/6.265, allocations: 0 / 2.101 GB, free: 47.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=148): time 0.00355/6.269, allocations: 1.545 MB / 2.103 GB, free: 47 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/6.269, allocations: 93.64 kB / 2.103 GB, free: 46.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004597/6.273, allocations: 2.009 MB / 2.105 GB, free: 46.67 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001818/6.274, allocations: 56.83 kB / 2.105 GB, free: 46.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001166/6.275, allocations: 1.209 MB / 2.106 GB, free: 46.26 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005219/6.275, allocations: 0.5114 MB / 2.107 GB, free: 45.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/6.275, allocations: 30.94 kB / 2.107 GB, free: 45.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001423/6.276, allocations: 371.2 kB / 2.107 GB, free: 45.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009438/6.277, allocations: 0.5192 MB / 2.107 GB, free: 45.62 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/6.278, allocations: 0.8722 MB / 2.108 GB, free: 45.26 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/6.279, allocations: 0.675 MB / 2.109 GB, free: 45.24 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/6.279, allocations: 3.188 kB / 2.109 GB, free: 45.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003912/6.283, allocations: 1.954 MB / 2.111 GB, free: 44.97 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007595/6.284, allocations: 2.728 MB / 2.113 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.773e-05/6.284, allocations: 8.562 kB / 2.113 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006348/6.284, allocations: 232.7 kB / 2.114 GB, free: 42.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/6.286, allocations: 350.6 kB / 2.114 GB, free: 42.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005268/6.291, allocations: 7.05 MB / 2.121 GB, free: 35.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003531/6.295, allocations: 267.9 kB / 2.121 GB, free: 35.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002651/6.295, allocations: 77.59 kB / 2.121 GB, free: 35.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/6.295, allocations: 4.594 kB / 2.121 GB, free: 35.59 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003514/6.298, allocations: 1.678 MB / 2.123 GB, free: 35.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-05/6.298, allocations: 16.06 kB / 2.123 GB, free: 35.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000496/6.299, allocations: 207.5 kB / 2.123 GB, free: 35.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/6.3, allocations: 351.5 kB / 2.123 GB, free: 35.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008215/6.308, allocations: 8.97 MB / 2.132 GB, free: 43.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/6.311, allocations: 256.3 kB / 2.132 GB, free: 43.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002924/6.312, allocations: 69.75 kB / 2.133 GB, free: 43.37 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 184 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006176/6.312, allocations: 197.7 kB / 2.133 GB, free: 43.26 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/6.313, allocations: 265.9 kB / 2.133 GB, free: 43.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004487/6.318, allocations: 2.019 MB / 2.135 GB, free: 42.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.25e-05/6.318, allocations: 24.86 kB / 2.135 GB, free: 42.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/6.318, allocations: 3.781 kB / 2.135 GB, free: 42.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002437/6.32, allocations: 1.636 MB / 2.137 GB, free: 42.58 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009731/6.33, allocations: 4.493 MB / 2.141 GB, free: 41.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/6.33, allocations: 3.875 kB / 2.141 GB, free: 41.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/6.331, allocations: 278.4 kB / 2.141 GB, free: 41.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005121/6.332, allocations: 210.9 kB / 2.141 GB, free: 41.88 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/6.332, allocations: 42.98 kB / 2.141 GB, free: 41.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005157/6.337, allocations: 7.045 MB / 2.148 GB, free: 35.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/6.337, allocations: 2.25 kB / 2.148 GB, free: 35.51 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004832/6.342, allocations: 2.75 MB / 2.151 GB, free: 34.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002111/6.344, allocations: 0.5753 MB / 2.152 GB, free: 34.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009517/6.345, allocations: 31.81 kB / 2.152 GB, free: 34.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002347/6.347, allocations: 150.6 kB / 2.152 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002227/6.348, allocations: 102.2 kB / 2.152 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/6.348, allocations: 62.11 kB / 2.152 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.004307/6.352, allocations: 1.542 MB / 2.153 GB, free: 34.55 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-07/6.352, allocations: 1.031 kB / 2.153 GB, free: 34.55 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01071/6.363, allocations: 1.983 MB / 2.155 GB, free: 34.24 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01059/6.373, allocations: 5.124 MB / 2.16 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006247/6.38, allocations: 3.635 MB / 2.164 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/6.38, allocations: 3.844 kB / 2.164 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001751/6.381, allocations: 1.235 MB / 2.165 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008053/6.39, allocations: 1.331 MB / 2.166 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/6.405, allocations: 4.881 MB / 2.171 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003449/6.409, allocations: 1.802 MB / 2.173 GB, free: 28.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.006485/6.415, allocations: 0.7881 MB / 2.174 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002168/6.417, allocations: 1.109 MB / 2.175 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of SimCode: time 2.234e-06/6.417, allocations: 2.219 kB / 2.175 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.188/6.605, allocations: 95.92 MB / 2.268 GB, free: 22.46 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/6.606, allocations: 265.6 kB / 2.269 GB, free: 22.12 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.039/12.64, allocations: 7.375 kB / 2.269 GB, free: 22.12 MB / 0.7292 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)