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.7697/0.7697, allocations: 128.7 MB / 143.7 MB, free: 2.328 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 192.2 kB / 173.7 MB, free: 6.133 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.66/1.66, allocations: 205.4 MB / 409 MB, free: 10.51 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.0008954/0.0008959, allocations: 80.83 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003505, allocations: 8.656 kB / 0.5605 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1663, allocations: 76.77 MB / 0.6354 GB, free: 30.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.209/1.375, allocations: 401.4 MB / 1.027 GB, free: 173.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/1.375, allocations: 129.5 kB / 1.028 GB, free: 173.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.809/5.185, allocations: 1.047 GB / 2.075 GB, free: 62.66 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.657e-06/5.185, allocations: 0 / 2.075 GB, free: 62.66 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005492/5.186, allocations: 80 kB / 2.075 GB, free: 62.65 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: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.01181/5.197, allocations: 3.624 MB / 2.078 GB, free: 61.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/5.197, allocations: 11 kB / 2.078 GB, free: 61.02 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001172/5.199, allocations: 299.4 kB / 2.079 GB, free: 60.97 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002059/5.201, allocations: 380.9 kB / 2.079 GB, free: 60.79 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009153/5.21, allocations: 3.292 MB / 2.082 GB, free: 60.22 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/5.21, allocations: 161.5 kB / 2.082 GB, free: 60.21 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007672/5.211, allocations: 221.7 kB / 2.083 GB, free: 60.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006716/5.218, allocations: 2.282 MB / 2.085 GB, free: 59.92 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/5.218, allocations: 5.75 kB / 2.085 GB, free: 59.92 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000456/5.218, allocations: 83.31 kB / 2.085 GB, free: 59.92 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.805e-05/5.218, allocations: 55.19 kB / 2.085 GB, free: 59.92 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004542/5.223, allocations: 1.757 MB / 2.087 GB, free: 59.89 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.01622/5.239, allocations: 9.291 MB / 2.096 GB, free: 56.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002252/5.241, allocations: 1.287 MB / 2.097 GB, free: 56.61 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00174/5.243, allocations: 2.756 MB / 2.1 GB, free: 53.52 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/5.243, allocations: 49.41 kB / 2.1 GB, free: 53.48 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=139): time 3.236e-06/5.243, allocations: 1.5 kB / 2.1 GB, free: 53.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=139): time 0.008729/5.252, allocations: 3.096 MB / 2.103 GB, free: 52.65 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/5.252, allocations: 94.67 kB / 2.103 GB, free: 52.55 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004699/5.257, allocations: 2.051 MB / 2.105 GB, free: 52.33 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002631/5.257, allocations: 53.7 kB / 2.105 GB, free: 52.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009338/5.258, allocations: 1.264 MB / 2.106 GB, free: 51.89 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004542/5.258, allocations: 497.7 kB / 2.107 GB, free: 51.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.133e-05/5.259, allocations: 36.5 kB / 2.107 GB, free: 51.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001042/5.259, allocations: 369.9 kB / 2.107 GB, free: 51.27 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009268/5.26, allocations: 0.5662 MB / 2.108 GB, free: 51.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/5.261, allocations: 0.9825 MB / 2.109 GB, free: 50.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/5.262, allocations: 0.7123 MB / 2.109 GB, free: 50.81 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/5.262, allocations: 5.125 kB / 2.109 GB, free: 50.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.006072/5.268, allocations: 2.322 MB / 2.112 GB, free: 50.54 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008763/5.269, allocations: 3.664 MB / 2.115 GB, free: 46.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.431e-05/5.269, allocations: 18.77 kB / 2.115 GB, free: 46.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009042/5.27, allocations: 323.4 kB / 2.115 GB, free: 46.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/5.271, allocations: 364.9 kB / 2.116 GB, free: 46.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00572/5.277, allocations: 7.213 MB / 2.123 GB, free: 56.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003107/5.28, allocations: 309.6 kB / 2.123 GB, free: 56.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000351/5.28, allocations: 75.31 kB / 2.123 GB, free: 56.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/5.28, allocations: 7.172 kB / 2.123 GB, free: 56.18 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003564/5.284, allocations: 1.719 MB / 2.125 GB, free: 56.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.98e-05/5.284, allocations: 15.44 kB / 2.125 GB, free: 56.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004708/5.284, allocations: 215.4 kB / 2.125 GB, free: 56.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/5.286, allocations: 363.4 kB / 2.125 GB, free: 56.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007235/5.293, allocations: 9.03 MB / 2.134 GB, free: 48.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/5.295, allocations: 264.3 kB / 2.135 GB, free: 47.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002203/5.296, allocations: 75.59 kB / 2.135 GB, free: 47.94 MB / 0.698 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 () * Number of clocked 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.001714/5.297, allocations: 0.652 MB / 2.135 GB, free: 47.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008453/5.298, allocations: 261.8 kB / 2.135 GB, free: 47.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00643/5.305, allocations: 2.369 MB / 2.138 GB, free: 47.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/5.305, allocations: 22.27 kB / 2.138 GB, free: 47.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/5.305, allocations: 7.156 kB / 2.138 GB, free: 47.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004641/5.309, allocations: 1.804 MB / 2.14 GB, free: 47.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/5.32, allocations: 4.367 MB / 2.144 GB, free: 46.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/5.32, allocations: 0 / 2.144 GB, free: 46.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009846/5.321, allocations: 252.5 kB / 2.144 GB, free: 46.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007754/5.322, allocations: 304.5 kB / 2.144 GB, free: 46.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/5.322, allocations: 38.19 kB / 2.144 GB, free: 46.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01562/5.338, allocations: 10.01 MB / 2.154 GB, free: 38.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/5.338, allocations: 1.688 kB / 2.154 GB, free: 38.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01212/5.35, allocations: 2.747 MB / 2.157 GB, free: 38.15 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002783/5.353, allocations: 0.5648 MB / 2.157 GB, free: 37.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00158/5.354, allocations: 26.44 kB / 2.157 GB, free: 37.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003874/5.358, allocations: 163.9 kB / 2.158 GB, free: 37.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004198/5.359, allocations: 102.1 kB / 2.158 GB, free: 37.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003408/5.359, allocations: 49.14 kB / 2.158 GB, free: 37.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005739/5.365, allocations: 1.624 MB / 2.159 GB, free: 37.74 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/5.365, allocations: 0 / 2.159 GB, free: 37.74 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01184/5.377, allocations: 2.031 MB / 2.161 GB, free: 37.44 MB / 0.698 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 () * Number of clocked 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.0169/5.394, allocations: 4.992 MB / 2.166 GB, free: 36.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009234/5.403, allocations: 3.592 MB / 2.17 GB, free: 34.94 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/5.403, allocations: 4 kB / 2.17 GB, free: 34.94 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003218/5.406, allocations: 1.425 MB / 2.171 GB, free: 34.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01105/5.417, allocations: 1.342 MB / 2.172 GB, free: 34.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02525/5.443, allocations: 13.65 MB / 2.186 GB, free: 40.04 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002137/5.445, allocations: 1.8 MB / 2.188 GB, free: 39.26 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003335/5.448, allocations: 0.6075 MB / 2.188 GB, free: 39.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001896/5.45, allocations: 1.157 MB / 2.189 GB, free: 39.17 MB / 0.7136 GB Notification: Performance of SimCode: time 9.42e-07/5.45, allocations: 0 / 2.189 GB, free: 39.17 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5526/6.003, allocations: 93.75 MB / 2.281 GB, free: 87.53 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/6.003, allocations: 309.8 kB / 2.281 GB, free: 87.18 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.43/11.43, allocations: 0 / 2.281 GB, free: 87.18 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)