Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.7488/0.7488, allocations: 128.7 MB / 143.7 MB, free: 2.32 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.001212/0.001212, allocations: 176.4 kB / 173.7 MB, free: 6.152 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.748/1.748, allocations: 205.4 MB / 409 MB, free: 10.48 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.0008929/0.0008928, allocations: 88.17 kB / 486.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003601, allocations: 10.12 kB / 0.5605 GB, free: 97.4 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.163, allocations: 76.78 MB / 0.6355 GB, free: 30.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6073/0.7703, allocations: 125.6 MB / 0.7581 GB, free: 29.73 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004364/0.7708, allocations: 126.3 kB / 0.7583 GB, free: 29.73 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.04883/0.8197, allocations: 15.69 MB / 0.7736 GB, free: 28.75 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8197, allocations: 0 / 0.7736 GB, free: 28.75 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.8197, allocations: 3.844 kB / 0.7736 GB, free: 28.75 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001136/0.8209, allocations: 0.5793 MB / 0.7741 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.8209, allocations: 11.75 kB / 0.7742 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.821, allocations: 105.8 kB / 0.7743 GB, free: 28.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.574e-05/0.821, allocations: 79.22 kB / 0.7743 GB, free: 28.04 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.8211, allocations: 244.2 kB / 0.7746 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.8212, allocations: 166.2 kB / 0.7747 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.8212, allocations: 150.6 kB / 0.7749 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.732e-05/0.8213, allocations: 101 kB / 0.775 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.8213, allocations: 79.22 kB / 0.775 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.8213, allocations: 158.1 kB / 0.7752 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.8214, allocations: 154.6 kB / 0.7753 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.899e-05/0.8214, allocations: 150.6 kB / 0.7755 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000232/0.8216, allocations: 470.3 kB / 0.7759 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.085e-05/0.8217, allocations: 169 kB / 0.7761 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.8217, allocations: 79.28 kB / 0.7762 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.8218, allocations: 105.8 kB / 0.7763 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.8218, allocations: 0 / 0.7763 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.685e-05/0.8219, allocations: 37.42 kB / 0.7763 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.8219, allocations: 134.4 kB / 0.7764 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.822, allocations: 120.2 kB / 0.7765 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.822, allocations: 25.7 kB / 0.7766 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.8221, allocations: 95.03 kB / 0.7767 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-06/0.8221, allocations: 3.875 kB / 0.7767 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.8221, allocations: 0 / 0.7767 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.796e-05/0.8222, allocations: 317.5 kB / 0.777 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.398e-05/0.8222, allocations: 7.875 kB / 0.777 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.416e-05/0.8222, allocations: 3.844 kB / 0.777 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.73e-05/0.8222, allocations: 7.188 kB / 0.777 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8223, allocations: 0 / 0.777 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001293/0.8224, allocations: 51.91 kB / 0.777 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.8224, allocations: 9.812 kB / 0.777 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.8224, allocations: 3.938 kB / 0.777 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.8225, allocations: 3.938 kB / 0.777 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.053e-06/0.8225, allocations: 4.062 kB / 0.7771 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.319e-06/0.8225, allocations: 0 / 0.7771 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/0.8225, allocations: 11.77 kB / 0.7771 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.8225, allocations: 0 / 0.7771 GB, free: 25.21 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 (1): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.63e-05/0.8226, allocations: 181.1 kB / 0.7772 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/0.8226, allocations: 114.2 kB / 0.7773 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.8227, allocations: 116 kB / 0.7775 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.829e-05/0.8227, allocations: 176.3 kB / 0.7776 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.271e-05/0.8228, allocations: 176.3 kB / 0.7778 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.047e-05/0.8228, allocations: 184 kB / 0.778 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.823, allocations: 422.9 kB / 0.7784 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/0.823, allocations: 108.9 kB / 0.7785 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.938e-05/0.823, allocations: 108.9 kB / 0.7786 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.054e-05/0.823, allocations: 184.2 kB / 0.7788 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.8231, allocations: 180.2 kB / 0.7789 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-05/0.8231, allocations: 180 kB / 0.7791 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-05/0.8232, allocations: 188 kB / 0.7793 GB, free: 22.85 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.8233, allocations: 306.9 kB / 0.7796 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.8233, allocations: 189.5 kB / 0.7798 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.8234, allocations: 180.2 kB / 0.7799 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.736e-05/0.8234, allocations: 104.9 kB / 0.78 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.8235, allocations: 184.2 kB / 0.7802 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.8235, allocations: 104.8 kB / 0.7803 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.533e-05/0.8236, allocations: 98.03 kB / 0.7804 GB, free: 21.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.403e-06/0.8236, allocations: 0 / 0.7804 GB, free: 21.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001137/0.8247, allocations: 337.5 kB / 0.7807 GB, free: 21.57 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001724/0.8264, allocations: 1.213 MB / 0.7819 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.864e-05/0.8265, allocations: 41.28 kB / 0.7819 GB, free: 20.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8265, allocations: 0 / 0.7819 GB, free: 20.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.917e-06/0.8266, allocations: 7.938 kB / 0.7819 GB, free: 20.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.8268, allocations: 0.5288 MB / 0.7825 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008951/0.8277, allocations: 0.6024 MB / 0.783 GB, free: 19.58 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.8278, allocations: 0.6836 MB / 0.7837 GB, free: 18.88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.987e-05/0.8279, allocations: 3.281 kB / 0.7837 GB, free: 18.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.8279, allocations: 18.38 kB / 0.7837 GB, free: 18.87 MB / 0.5105 GB Notification: Performance of SimCode: time 4.21e-07/0.8279, allocations: 0 / 0.7837 GB, free: 18.87 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.849, allocations: 6.613 MB / 0.7902 GB, free: 16.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/0.8492, allocations: 299.4 kB / 0.7905 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.781, allocations: 0 / 0.7905 GB, free: 15.72 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)