Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.8103/0.8103, allocations: 128.7 MB / 143.7 MB, free: 2.312 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.001132/0.001132, allocations: 176.5 kB / 173.7 MB, free: 6.121 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.689/1.689, allocations: 205.4 MB / 409 MB, free: 10.49 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.000831/0.0008313, allocations: 94.66 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003195, allocations: 8.625 kB / 0.5605 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1679, allocations: 76.78 MB / 0.6355 GB, free: 30.39 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4943/0.6622, allocations: 114 MB / 0.7468 GB, free: 110 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/0.6626, allocations: 116.6 kB / 0.7469 GB, free: 110 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.05748/0.7201, allocations: 22.73 MB / 0.7691 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.694e-06/0.7202, allocations: 0 / 0.7691 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.485e-05/0.7202, allocations: 12 kB / 0.7691 GB, free: 102.2 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001167/0.7214, allocations: 0.8512 MB / 0.7699 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.7214, allocations: 15.97 kB / 0.7699 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.864e-05/0.7215, allocations: 87.14 kB / 0.77 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.262e-05/0.7216, allocations: 74.47 kB / 0.7701 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005084/0.7221, allocations: 437.4 kB / 0.7705 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.7222, allocations: 31.25 kB / 0.7705 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-05/0.7222, allocations: 47.81 kB / 0.7706 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006276/0.7229, allocations: 430.4 kB / 0.771 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.7229, allocations: 4 kB / 0.771 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.7229, allocations: 20 kB / 0.771 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.723, allocations: 16 kB / 0.771 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005923/0.7236, allocations: 371.8 kB / 0.7714 GB, free: 99.89 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.7252, allocations: 1.543 MB / 0.7729 GB, free: 98.28 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004148/0.7256, allocations: 351.2 kB / 0.7732 GB, free: 97.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.7257, allocations: 4 kB / 0.7732 GB, free: 97.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.7257, allocations: 35.25 kB / 0.7733 GB, free: 97.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=42): time 1.593e-06/0.7257, allocations: 0 / 0.7733 GB, free: 97.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42): time 0.0007991/0.7265, allocations: 0.5042 MB / 0.7738 GB, free: 97.37 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.7266, allocations: 55.41 kB / 0.7738 GB, free: 97.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.727, allocations: 429.1 kB / 0.7742 GB, free: 96.87 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.727, allocations: 33.7 kB / 0.7743 GB, free: 96.83 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.7271, allocations: 268.5 kB / 0.7745 GB, free: 96.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.54e-05/0.7272, allocations: 153.8 kB / 0.7747 GB, free: 96.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.479e-05/0.7273, allocations: 8 kB / 0.7747 GB, free: 96.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.7274, allocations: 362.8 kB / 0.775 GB, free: 96.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.7276, allocations: 120.7 kB / 0.7751 GB, free: 95.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.7278, allocations: 133.4 kB / 0.7753 GB, free: 95.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.7281, allocations: 146.4 kB / 0.7754 GB, free: 95.65 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.7281, allocations: 0 / 0.7754 GB, free: 95.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000516/0.7286, allocations: 396.1 kB / 0.7758 GB, free: 95.26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.7286, allocations: 8 kB / 0.7758 GB, free: 95.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.7286, allocations: 0 / 0.7758 GB, free: 95.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.7287, allocations: 0 / 0.7758 GB, free: 95.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004655/0.7291, allocations: 127.9 kB / 0.7759 GB, free: 95.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.7291, allocations: 7.938 kB / 0.7759 GB, free: 95.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.7294, allocations: 55.56 kB / 0.776 GB, free: 95.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.7294, allocations: 12 kB / 0.776 GB, free: 95.05 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001915/0.7296, allocations: 189.8 kB / 0.7762 GB, free: 94.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-05/0.7297, allocations: 60.17 kB / 0.7762 GB, free: 94.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.7298, allocations: 53.11 kB / 0.7763 GB, free: 94.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.7298, allocations: 8 kB / 0.7763 GB, free: 94.74 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.7298, allocations: 4 kB / 0.7763 GB, free: 94.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.7298, allocations: 7.938 kB / 0.7763 GB, free: 94.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005038/0.7303, allocations: 0.5787 MB / 0.7768 GB, free: 94.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.7304, allocations: 0 / 0.7768 GB, free: 94.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004801/0.7308, allocations: 127.8 kB / 0.777 GB, free: 93.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.7309, allocations: 4 kB / 0.777 GB, free: 93.97 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.7309, allocations: 4 kB / 0.777 GB, free: 93.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.7309, allocations: 8 kB / 0.777 GB, free: 93.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7309, allocations: 3.938 kB / 0.777 GB, free: 93.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008617/0.7318, allocations: 0.6675 MB / 0.7776 GB, free: 93.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.7319, allocations: 136.4 kB / 0.7778 GB, free: 93.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.384e-05/0.7319, allocations: 4 kB / 0.7778 GB, free: 93.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.7322, allocations: 27.92 kB / 0.7778 GB, free: 93.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.7322, allocations: 19.97 kB / 0.7778 GB, free: 93.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.7323, allocations: 12 kB / 0.7778 GB, free: 93.05 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003001/0.7326, allocations: 355.1 kB / 0.7782 GB, free: 92.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7326, allocations: 0 / 0.7782 GB, free: 92.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004545/0.733, allocations: 147.7 kB / 0.7783 GB, free: 92.56 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001217/0.7343, allocations: 1.387 MB / 0.7797 GB, free: 91.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004949/0.7348, allocations: 327.6 kB / 0.78 GB, free: 90.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.7348, allocations: 0 / 0.78 GB, free: 90.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.735, allocations: 187.8 kB / 0.7802 GB, free: 90.65 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000529/0.7355, allocations: 122.6 kB / 0.7803 GB, free: 90.53 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003695/0.7392, allocations: 3.289 MB / 0.7835 GB, free: 87.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.7396, allocations: 0.8863 MB / 0.7843 GB, free: 86.29 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001992/0.7398, allocations: 48.91 kB / 0.7844 GB, free: 86.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.74, allocations: 195.4 kB / 0.7846 GB, free: 86.05 MB / 0.5105 GB Notification: Performance of SimCode: time 7.12e-07/0.74, allocations: 0 / 0.7846 GB, free: 86.05 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.7632, allocations: 12.48 MB / 0.7968 GB, free: 73.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/0.7634, allocations: 265.7 kB / 0.797 GB, free: 73.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/3.097, allocations: 3.047 kB / 0.797 GB, free: 73.55 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)