Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7945/0.7945, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001643/0.001642, allocations: 172.9 kB / 169.7 MB, free: 1.734 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.1 MB / 404.5 MB, free: 1.594 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009605/0.0009603, allocations: 87.48 kB / 481.8 MB, free: 4.25 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.524e-05/4.55e-05, allocations: 4 kB / 0.5533 GB, free: 54.69 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2021, allocations: 76.76 MB / 0.6283 GB, free: 9.871 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.312/1.514, allocations: 401.3 MB / 1.02 GB, free: 113.6 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003764/1.515, allocations: 129.7 kB / 1.02 GB, free: 113.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.66/6.175, allocations: 1.044 GB / 2.064 GB, free: 53.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.404e-06/6.175, allocations: 1.156 kB / 2.064 GB, free: 53.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000356/6.175, allocations: 78.81 kB / 2.064 GB, free: 53.67 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.01121/6.187, allocations: 3.083 MB / 2.067 GB, free: 52.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.235e-05/6.187, allocations: 12.69 kB / 2.067 GB, free: 52.12 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000936/6.188, allocations: 293.6 kB / 2.067 GB, free: 52.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/6.189, allocations: 379.7 kB / 2.068 GB, free: 51.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008284/6.198, allocations: 3.264 MB / 2.071 GB, free: 51.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/6.198, allocations: 162.9 kB / 2.071 GB, free: 51.31 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004858/6.198, allocations: 225.7 kB / 2.071 GB, free: 51.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005916/6.204, allocations: 2.219 MB / 2.073 GB, free: 51.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/6.204, allocations: 3.719 kB / 2.073 GB, free: 51.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003265/6.205, allocations: 94.31 kB / 2.074 GB, free: 51.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.526e-05/6.205, allocations: 48.72 kB / 2.074 GB, free: 51.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004145/6.209, allocations: 1.68 MB / 2.075 GB, free: 50.98 MB / 0.698 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.01578/6.225, allocations: 9.291 MB / 2.084 GB, free: 47.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/6.227, allocations: 1.239 MB / 2.086 GB, free: 47.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/6.228, allocations: 0.803 MB / 2.086 GB, free: 47.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001948/6.23, allocations: 2.761 MB / 2.089 GB, free: 44.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/6.23, allocations: 56.88 kB / 2.089 GB, free: 44.54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=139): time 4.348e-06/6.23, allocations: 0 / 2.089 GB, free: 44.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=139): time 0.006673/6.237, allocations: 1.897 MB / 2.091 GB, free: 44.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/6.237, allocations: 96.3 kB / 2.091 GB, free: 44.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004107/6.241, allocations: 2.011 MB / 2.093 GB, free: 43.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004826/6.242, allocations: 56.58 kB / 2.093 GB, free: 43.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001296/6.243, allocations: 1.258 MB / 2.094 GB, free: 43.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007919/6.244, allocations: 0.4943 MB / 2.095 GB, free: 43.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.01e-05/6.244, allocations: 34 kB / 2.095 GB, free: 43.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002003/6.244, allocations: 375.1 kB / 2.095 GB, free: 42.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/6.245, allocations: 0.5255 MB / 2.096 GB, free: 42.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/6.246, allocations: 0.9476 MB / 2.097 GB, free: 42.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/6.248, allocations: 0.688 MB / 2.097 GB, free: 42.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/6.248, allocations: 3.344 kB / 2.097 GB, free: 42.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.006722/6.254, allocations: 2.22 MB / 2.099 GB, free: 42.17 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009905/6.255, allocations: 3.666 MB / 2.103 GB, free: 38.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.551e-05/6.255, allocations: 15.02 kB / 2.103 GB, free: 38.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007085/6.256, allocations: 270.1 kB / 2.103 GB, free: 38.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/6.257, allocations: 361.3 kB / 2.104 GB, free: 38.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004404/6.262, allocations: 7.112 MB / 2.111 GB, free: 31.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003298/6.265, allocations: 310.9 kB / 2.111 GB, free: 31.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002107/6.265, allocations: 75.62 kB / 2.111 GB, free: 31.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/6.265, allocations: 3.156 kB / 2.111 GB, free: 31.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003019/6.268, allocations: 1.694 MB / 2.113 GB, free: 31.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.923e-05/6.269, allocations: 11.59 kB / 2.113 GB, free: 31.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004813/6.269, allocations: 214.1 kB / 2.113 GB, free: 31.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/6.27, allocations: 360.5 kB / 2.113 GB, free: 31.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007728/6.278, allocations: 8.97 MB / 2.122 GB, free: 39.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003326/6.281, allocations: 264 kB / 2.122 GB, free: 39.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004486/6.282, allocations: 76.64 kB / 2.122 GB, free: 39.52 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 189 * 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.0008647/6.283, allocations: 201.4 kB / 2.122 GB, free: 39.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/6.284, allocations: 265 kB / 2.123 GB, free: 39.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007143/6.291, allocations: 2.289 MB / 2.125 GB, free: 39.01 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.813e-05/6.291, allocations: 18.41 kB / 2.125 GB, free: 39.01 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/6.291, allocations: 3.844 kB / 2.125 GB, free: 39.01 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004419/6.296, allocations: 1.708 MB / 2.127 GB, free: 38.65 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01383/6.309, allocations: 4.269 MB / 2.131 GB, free: 38.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/6.309, allocations: 0 / 2.131 GB, free: 38.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/6.311, allocations: 250 kB / 2.131 GB, free: 38.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005926/6.311, allocations: 256.8 kB / 2.131 GB, free: 38.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/6.311, allocations: 43.44 kB / 2.131 GB, free: 38.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01145/6.323, allocations: 9.613 MB / 2.141 GB, free: 30 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/6.323, allocations: 2.562 kB / 2.141 GB, free: 30 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007452/6.33, allocations: 2.616 MB / 2.143 GB, free: 29.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00263/6.333, allocations: 0.5717 MB / 2.144 GB, free: 28.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001351/6.334, allocations: 27.28 kB / 2.144 GB, free: 28.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00282/6.337, allocations: 166.5 kB / 2.144 GB, free: 28.71 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003013/6.338, allocations: 100.2 kB / 2.144 GB, free: 28.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001886/6.338, allocations: 51.8 kB / 2.144 GB, free: 28.68 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00463/6.342, allocations: 1.587 MB / 2.146 GB, free: 28.03 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.31e-07/6.342, allocations: 0 / 2.146 GB, free: 28.03 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01125/6.354, allocations: 2.034 MB / 2.148 GB, free: 27.54 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (122): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01286/6.367, allocations: 4.846 MB / 2.152 GB, free: 25.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007036/6.374, allocations: 3.587 MB / 2.156 GB, free: 23.21 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/6.374, allocations: 3.219 kB / 2.156 GB, free: 23.21 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00215/6.376, allocations: 1.373 MB / 2.157 GB, free: 22.26 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008158/6.384, allocations: 1.323 MB / 2.159 GB, free: 21.96 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/6.399, allocations: 4.796 MB / 2.163 GB, free: 19.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002718/6.402, allocations: 1.804 MB / 2.165 GB, free: 18.93 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0051/6.407, allocations: 0.7963 MB / 2.166 GB, free: 18.81 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00175/6.409, allocations: 1.113 MB / 2.167 GB, free: 17.92 MB / 0.7136 GB Notification: Performance of SimCode: time 1.142e-06/6.409, allocations: 0 / 2.167 GB, free: 17.92 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7955/7.204, allocations: 99.57 MB / 2.264 GB, free: 65.91 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/7.204, allocations: 282.1 kB / 2.264 GB, free: 65.57 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.172/13.38, allocations: 0 / 2.264 GB, free: 65.57 MB / 0.7136 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)