Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.001164/0.001163, 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.713/0.713, 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.558/1.558, allocations: 221.3 MB / 400.4 MB, free: 5.816 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.0009266/0.0009266, allocations: 91.39 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.84e-05/3.842e-05, allocations: 2.906 kB / 0.5602 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1849, allocations: 82.31 MB / 0.6405 GB, free: 7.699 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.426/1.611, allocations: 403.7 MB / 1.035 GB, free: 216.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003456/1.611, allocations: 122 kB / 1.035 GB, free: 216.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.731/6.343, allocations: 1.042 GB / 2.077 GB, free: 56.33 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.537e-06/6.343, allocations: 4.188 kB / 2.077 GB, free: 56.33 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002939/6.343, allocations: 81.45 kB / 2.077 GB, free: 56.33 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.007924/6.351, allocations: 3.06 MB / 2.08 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/6.351, allocations: 14.12 kB / 2.08 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004407/6.351, allocations: 289.8 kB / 2.08 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/6.353, allocations: 370.1 kB / 2.081 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006315/6.359, allocations: 2.941 MB / 2.083 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/6.359, allocations: 159.7 kB / 2.084 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003208/6.36, allocations: 215.6 kB / 2.084 GB, free: 54.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003878/6.363, allocations: 2.083 MB / 2.086 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-05/6.363, allocations: 10.91 kB / 2.086 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000195/6.364, allocations: 84.34 kB / 2.086 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/6.364, allocations: 52.53 kB / 2.086 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002705/6.366, allocations: 1.567 MB / 2.088 GB, free: 54.11 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.01353/6.38, allocations: 8.841 MB / 2.096 GB, free: 51.36 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/6.382, allocations: 1.334 MB / 2.097 GB, free: 51.12 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/6.383, allocations: 0.8528 MB / 2.098 GB, free: 51.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001995/6.385, allocations: 2.922 MB / 2.101 GB, free: 47.82 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/6.385, allocations: 56.23 kB / 2.101 GB, free: 47.78 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=148): time 3.807e-06/6.385, allocations: 0 / 2.101 GB, free: 47.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=148): time 0.003158/6.388, allocations: 1.547 MB / 2.103 GB, free: 47.53 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/6.388, allocations: 94.23 kB / 2.103 GB, free: 47.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003022/6.391, allocations: 2.007 MB / 2.105 GB, free: 47.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001795/6.391, allocations: 55.86 kB / 2.105 GB, free: 47.17 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008453/6.392, allocations: 1.206 MB / 2.106 GB, free: 46.79 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004403/6.393, allocations: 0.5076 MB / 2.107 GB, free: 46.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-05/6.393, allocations: 37.25 kB / 2.107 GB, free: 46.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001082/6.393, allocations: 369 kB / 2.107 GB, free: 46.15 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007993/6.394, allocations: 0.5176 MB / 2.107 GB, free: 46.15 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/6.395, allocations: 0.8798 MB / 2.108 GB, free: 45.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009815/6.396, allocations: 0.6717 MB / 2.109 GB, free: 45.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/6.396, allocations: 6.281 kB / 2.109 GB, free: 45.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003667/6.399, allocations: 1.956 MB / 2.111 GB, free: 45.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009086/6.4, allocations: 2.729 MB / 2.113 GB, free: 42.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.294e-05/6.4, allocations: 9.406 kB / 2.114 GB, free: 42.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006392/6.401, allocations: 220.5 kB / 2.114 GB, free: 42.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/6.402, allocations: 352 kB / 2.114 GB, free: 42.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004992/6.407, allocations: 7.055 MB / 2.121 GB, free: 36.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003942/6.411, allocations: 269.5 kB / 2.121 GB, free: 36.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003433/6.411, allocations: 77.09 kB / 2.121 GB, free: 36.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/6.411, allocations: 4.906 kB / 2.121 GB, free: 36.12 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003087/6.415, allocations: 1.677 MB / 2.123 GB, free: 36.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/6.415, allocations: 13.44 kB / 2.123 GB, free: 36.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004744/6.415, allocations: 204.4 kB / 2.123 GB, free: 35.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/6.416, allocations: 353 kB / 2.123 GB, free: 35.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008055/6.424, allocations: 8.968 MB / 2.132 GB, free: 43.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003227/6.428, allocations: 262.8 kB / 2.132 GB, free: 43.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002511/6.428, allocations: 72.69 kB / 2.133 GB, free: 43.89 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.0005189/6.428, allocations: 196.9 kB / 2.133 GB, free: 43.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007059/6.429, allocations: 263.7 kB / 2.133 GB, free: 43.65 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003752/6.433, allocations: 2.023 MB / 2.135 GB, free: 43.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.088e-05/6.433, allocations: 26.8 kB / 2.135 GB, free: 43.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/6.433, allocations: 0 / 2.135 GB, free: 43.46 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002181/6.435, allocations: 1.633 MB / 2.137 GB, free: 43.11 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007835/6.443, allocations: 4.497 MB / 2.141 GB, free: 42.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/6.443, allocations: 1.5 kB / 2.141 GB, free: 42.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/6.444, allocations: 275.7 kB / 2.141 GB, free: 42.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004797/6.444, allocations: 207.2 kB / 2.141 GB, free: 42.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.414e-05/6.445, allocations: 47.28 kB / 2.141 GB, free: 42.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005214/6.45, allocations: 7.048 MB / 2.148 GB, free: 36.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/6.45, allocations: 0 / 2.148 GB, free: 36.04 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004629/6.454, allocations: 2.743 MB / 2.151 GB, free: 35.51 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001871/6.456, allocations: 0.5783 MB / 2.152 GB, free: 35.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003506/6.457, allocations: 36.75 kB / 2.152 GB, free: 35.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/6.458, allocations: 152.2 kB / 2.152 GB, free: 35.24 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/6.458, allocations: 107.8 kB / 2.152 GB, free: 35.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/6.459, allocations: 55.45 kB / 2.152 GB, free: 35.24 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002535/6.461, allocations: 1.541 MB / 2.153 GB, free: 35.08 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/6.461, allocations: 0 / 2.153 GB, free: 35.08 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007069/6.468, allocations: 1.983 MB / 2.155 GB, free: 34.77 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.007982/6.476, allocations: 5.128 MB / 2.16 GB, free: 33.15 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005598/6.482, allocations: 3.633 MB / 2.164 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/6.482, allocations: 3.719 kB / 2.164 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001576/6.483, allocations: 1.228 MB / 2.165 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007824/6.491, allocations: 1.337 MB / 2.166 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/6.505, allocations: 4.875 MB / 2.171 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00231/6.508, allocations: 1.803 MB / 2.173 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00483/6.513, allocations: 0.7825 MB / 2.174 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001703/6.514, allocations: 1.112 MB / 2.175 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of SimCode: time 1.473e-06/6.514, allocations: 0 / 2.175 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1694/6.684, allocations: 95.92 MB / 2.268 GB, free: 22.54 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/6.684, allocations: 276.5 kB / 2.269 GB, free: 22.19 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.684/12.37, allocations: 3.5 kB / 2.269 GB, free: 22.19 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)