Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.8559/0.8559, allocations: 143.4 MB / 158.3 MB, free: 5.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 187.7 kB / 191.5 MB, free: 5.77 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 223.2 MB / 447.7 MB, free: 4.82 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009616/0.0009614, allocations: 96.33 kB / 0.5187 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001938/0.001938, allocations: 276.8 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004176/0.0004176, allocations: 14.59 kB / 0.693 GB, free: 59.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1612, allocations: 82.79 MB / 0.7738 GB, free: 13.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6172/0.7784, allocations: 130.1 MB / 0.9009 GB, free: 22.09 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003918/0.7789, allocations: 123.5 kB / 0.901 GB, free: 22.09 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04456/0.8235, allocations: 15.59 MB / 0.9163 GB, free: 21.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.976e-06/0.8235, allocations: 0 / 0.9163 GB, free: 21.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.8235, allocations: 3.938 kB / 0.9163 GB, free: 21.1 MB / 0.5417 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.001075/0.8246, allocations: 0.5737 MB / 0.9168 GB, free: 20.58 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.8247, allocations: 8 kB / 0.9168 GB, free: 20.58 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.8247, allocations: 105.8 kB / 0.9169 GB, free: 20.46 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.8248, allocations: 82.94 kB / 0.917 GB, free: 20.39 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.8249, allocations: 253.3 kB / 0.9172 GB, free: 20.11 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.8249, allocations: 150.6 kB / 0.9174 GB, free: 19.96 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.825, allocations: 150.6 kB / 0.9175 GB, free: 19.81 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.595e-05/0.825, allocations: 108.6 kB / 0.9176 GB, free: 19.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.825, allocations: 75.28 kB / 0.9177 GB, free: 19.63 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.8251, allocations: 150.6 kB / 0.9179 GB, free: 19.48 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.8251, allocations: 158.4 kB / 0.918 GB, free: 19.33 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.404e-05/0.8251, allocations: 150.6 kB / 0.9181 GB, free: 19.18 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002165/0.8253, allocations: 478.1 kB / 0.9186 GB, free: 18.69 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.757e-05/0.8254, allocations: 165.1 kB / 0.9188 GB, free: 18.52 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.8254, allocations: 79.09 kB / 0.9188 GB, free: 18.45 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.8255, allocations: 113.3 kB / 0.9189 GB, free: 18.33 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.8255, allocations: 0 / 0.9189 GB, free: 18.33 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 6.729e-05/0.8255, allocations: 37.52 kB / 0.919 GB, free: 18.29 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.8256, allocations: 126.7 kB / 0.9191 GB, free: 18.15 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.185e-05/0.8257, allocations: 115.6 kB / 0.9192 GB, free: 18.06 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.8257, allocations: 29.58 kB / 0.9192 GB, free: 18.03 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.135e-05/0.8257, allocations: 96.86 kB / 0.9193 GB, free: 17.94 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.8257, allocations: 0 / 0.9193 GB, free: 17.94 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.8257, allocations: 3.625 kB / 0.9193 GB, free: 17.94 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.327e-05/0.8258, allocations: 318.1 kB / 0.9196 GB, free: 17.62 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.113e-05/0.8258, allocations: 11.56 kB / 0.9196 GB, free: 17.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.214e-05/0.8258, allocations: 0 / 0.9196 GB, free: 17.62 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.495e-05/0.8259, allocations: 15.66 kB / 0.9197 GB, free: 17.62 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.8259, allocations: 0 / 0.9197 GB, free: 17.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001145/0.826, allocations: 52.5 kB / 0.9197 GB, free: 17.58 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.826, allocations: 9 kB / 0.9197 GB, free: 17.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.826, allocations: 3.875 kB / 0.9197 GB, free: 17.58 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.8261, allocations: 0 / 0.9197 GB, free: 17.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.001e-06/0.8261, allocations: 0 / 0.9197 GB, free: 17.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.8261, allocations: 0 / 0.9197 GB, free: 17.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.413e-05/0.8261, allocations: 11.91 kB / 0.9197 GB, free: 17.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.8261, allocations: 3.875 kB / 0.9197 GB, free: 17.57 MB / 0.5417 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.122e-05/0.8262, allocations: 181.1 kB / 0.9199 GB, free: 17.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.8262, allocations: 116.2 kB / 0.92 GB, free: 17.27 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.8263, allocations: 108.7 kB / 0.9201 GB, free: 17.16 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006682/0.8269, allocations: 184.1 kB / 0.9203 GB, free: 32.97 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.391e-05/0.827, allocations: 184.2 kB / 0.9205 GB, free: 32.79 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.991e-05/0.8271, allocations: 179.8 kB / 0.9207 GB, free: 32.61 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.8273, allocations: 416.3 kB / 0.921 GB, free: 32.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.53e-05/0.8274, allocations: 101 kB / 0.9211 GB, free: 32.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.606e-05/0.8274, allocations: 108.6 kB / 0.9212 GB, free: 31.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.005e-05/0.8275, allocations: 188 kB / 0.9214 GB, free: 31.76 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.507e-05/0.8276, allocations: 180.3 kB / 0.9216 GB, free: 31.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.878e-05/0.8277, allocations: 180.2 kB / 0.9218 GB, free: 31.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.765e-05/0.8277, allocations: 180 kB / 0.9219 GB, free: 31.21 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.8279, allocations: 311 kB / 0.9222 GB, free: 30.89 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.9e-05/0.828, allocations: 189.9 kB / 0.9224 GB, free: 30.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.798e-05/0.8281, allocations: 187.7 kB / 0.9226 GB, free: 30.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.119e-05/0.8282, allocations: 105 kB / 0.9227 GB, free: 30.39 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.654e-05/0.8283, allocations: 180.2 kB / 0.9229 GB, free: 30.21 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.8283, allocations: 104.9 kB / 0.923 GB, free: 30.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.65e-05/0.8284, allocations: 103.5 kB / 0.9231 GB, free: 30.03 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8284, allocations: 11.31 kB / 0.9231 GB, free: 30.02 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001159/0.8295, allocations: 317.9 kB / 0.9234 GB, free: 29.93 MB / 0.5573 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.001505/0.8311, allocations: 1.21 MB / 0.9246 GB, free: 29.02 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.8312, allocations: 45.23 kB / 0.9246 GB, free: 28.98 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8312, allocations: 0 / 0.9246 GB, free: 28.98 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-06/0.8312, allocations: 4 kB / 0.9246 GB, free: 28.98 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.8316, allocations: 0.5334 MB / 0.9251 GB, free: 28.45 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000733/0.8323, allocations: 0.6046 MB / 0.9257 GB, free: 27.94 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.8326, allocations: 0.6881 MB / 0.9264 GB, free: 27.25 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.732e-05/0.8326, allocations: 4 kB / 0.9264 GB, free: 27.24 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.8327, allocations: 11.31 kB / 0.9264 GB, free: 27.23 MB / 0.5573 GB Notification: Performance of SimCode: time 7.21e-07/0.8327, allocations: 7.812 kB / 0.9264 GB, free: 27.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.8532, allocations: 6.547 MB / 0.9328 GB, free: 24.27 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.8534, allocations: 313.3 kB / 0.9331 GB, free: 23.91 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.991/2.844, allocations: 0 / 0.9331 GB, free: 23.91 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)