Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.8129/0.8129, allocations: 143.4 MB / 158.3 MB, free: 5.805 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.001141/0.001141, allocations: 175.6 kB / 191.5 MB, free: 5.762 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.476/1.476, allocations: 223.2 MB / 447.7 MB, free: 4.855 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.0009388/0.0009387, allocations: 100.2 kB / 0.5187 GB, free: 1.215 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001871/0.00187, allocations: 269.2 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004716, allocations: 12.16 kB / 0.693 GB, free: 59.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1724, allocations: 82.79 MB / 0.7738 GB, free: 13.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.614/0.7864, allocations: 130.1 MB / 0.9009 GB, free: 21.96 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004245/0.7869, allocations: 119.8 kB / 0.901 GB, free: 21.96 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04544/0.8324, allocations: 15.6 MB / 0.9163 GB, free: 20.97 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8324, allocations: 0 / 0.9163 GB, free: 20.97 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.8324, allocations: 0 / 0.9163 GB, free: 20.97 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.001008/0.8334, allocations: 0.5731 MB / 0.9168 GB, free: 20.45 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.8335, allocations: 8.281 kB / 0.9168 GB, free: 20.45 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.8335, allocations: 105.8 kB / 0.9169 GB, free: 20.34 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.8336, allocations: 83.16 kB / 0.917 GB, free: 20.26 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.8337, allocations: 254.8 kB / 0.9172 GB, free: 19.98 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.8337, allocations: 150.6 kB / 0.9174 GB, free: 19.83 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.8338, allocations: 154.4 kB / 0.9175 GB, free: 19.68 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.63e-05/0.8338, allocations: 101 kB / 0.9176 GB, free: 19.57 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.8339, allocations: 75.28 kB / 0.9177 GB, free: 19.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.8339, allocations: 158.4 kB / 0.9179 GB, free: 19.35 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/0.8339, allocations: 154.5 kB / 0.918 GB, free: 19.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.601e-05/0.834, allocations: 150.6 kB / 0.9181 GB, free: 19.05 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002109/0.8342, allocations: 468.1 kB / 0.9186 GB, free: 18.57 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.139e-05/0.8342, allocations: 173.1 kB / 0.9188 GB, free: 18.39 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.8343, allocations: 75.28 kB / 0.9188 GB, free: 18.31 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.8343, allocations: 117.5 kB / 0.9189 GB, free: 18.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.8343, allocations: 0 / 0.9189 GB, free: 18.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 6.854e-05/0.8344, allocations: 33.36 kB / 0.919 GB, free: 18.16 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.8344, allocations: 126.7 kB / 0.9191 GB, free: 18.02 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.8345, allocations: 125.3 kB / 0.9192 GB, free: 17.93 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.8345, allocations: 29.64 kB / 0.9192 GB, free: 17.89 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/0.8346, allocations: 99.41 kB / 0.9193 GB, free: 17.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.8346, allocations: 0 / 0.9193 GB, free: 17.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.8346, allocations: 0 / 0.9193 GB, free: 17.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.935e-05/0.8346, allocations: 314.6 kB / 0.9196 GB, free: 17.49 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/0.8347, allocations: 7.719 kB / 0.9196 GB, free: 17.49 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.32e-05/0.8347, allocations: 3.844 kB / 0.9197 GB, free: 17.49 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.606e-05/0.8347, allocations: 11.69 kB / 0.9197 GB, free: 17.49 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.8347, allocations: 0 / 0.9197 GB, free: 17.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001041/0.8348, allocations: 52.88 kB / 0.9197 GB, free: 17.45 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.8349, allocations: 7.484 kB / 0.9197 GB, free: 17.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.8349, allocations: 7.906 kB / 0.9197 GB, free: 17.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.8349, allocations: 0 / 0.9197 GB, free: 17.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.8349, allocations: 0 / 0.9197 GB, free: 17.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.8349, allocations: 3.906 kB / 0.9197 GB, free: 17.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.8349, allocations: 7.844 kB / 0.9197 GB, free: 17.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.8349, allocations: 0 / 0.9197 GB, free: 17.44 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.23e-05/0.835, allocations: 189 kB / 0.9199 GB, free: 17.25 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.8351, allocations: 112.6 kB / 0.92 GB, free: 17.13 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006587/0.8357, allocations: 112.5 kB / 0.9201 GB, free: 33.02 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.217e-05/0.8358, allocations: 176.3 kB / 0.9203 GB, free: 32.84 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.273e-05/0.8359, allocations: 180.2 kB / 0.9205 GB, free: 32.66 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.726e-05/0.8359, allocations: 184.1 kB / 0.9206 GB, free: 32.48 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.8361, allocations: 415.4 kB / 0.921 GB, free: 32.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.959e-05/0.8362, allocations: 105 kB / 0.9211 GB, free: 31.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.8362, allocations: 105.1 kB / 0.9212 GB, free: 31.82 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.573e-05/0.8363, allocations: 187.9 kB / 0.9214 GB, free: 31.63 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.266e-05/0.8363, allocations: 179.8 kB / 0.9216 GB, free: 31.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.648e-05/0.8364, allocations: 188.1 kB / 0.9218 GB, free: 31.26 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.892e-05/0.8365, allocations: 184.2 kB / 0.922 GB, free: 31.07 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.8366, allocations: 311.4 kB / 0.9222 GB, free: 30.76 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/0.8367, allocations: 185.8 kB / 0.9224 GB, free: 30.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.882e-05/0.8368, allocations: 188.2 kB / 0.9226 GB, free: 30.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-05/0.8369, allocations: 101 kB / 0.9227 GB, free: 30.26 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.8369, allocations: 184 kB / 0.9229 GB, free: 30.08 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.837, allocations: 112.7 kB / 0.923 GB, free: 29.96 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.249e-05/0.837, allocations: 100.7 kB / 0.9231 GB, free: 29.89 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.21e-07/0.837, allocations: 0 / 0.9231 GB, free: 29.89 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001049/0.8381, allocations: 319.1 kB / 0.9234 GB, free: 29.8 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.001334/0.8394, allocations: 1.215 MB / 0.9246 GB, free: 28.89 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.443e-05/0.8395, allocations: 39.98 kB / 0.9246 GB, free: 28.85 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8395, allocations: 0 / 0.9246 GB, free: 28.85 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.517e-06/0.8395, allocations: 11.94 kB / 0.9246 GB, free: 28.84 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.8399, allocations: 0.5294 MB / 0.9251 GB, free: 28.32 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006703/0.8406, allocations: 0.6011 MB / 0.9257 GB, free: 27.81 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.8408, allocations: 0.6841 MB / 0.9264 GB, free: 27.11 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.678e-05/0.8408, allocations: 3.875 kB / 0.9264 GB, free: 27.11 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.334e-05/0.8409, allocations: 19.06 kB / 0.9264 GB, free: 27.1 MB / 0.5573 GB Notification: Performance of SimCode: time 2.645e-06/0.8409, allocations: 4 kB / 0.9264 GB, free: 27.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.8597, allocations: 6.565 MB / 0.9328 GB, free: 24.12 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/0.86, allocations: 322.9 kB / 0.9331 GB, free: 23.77 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.752, allocations: 0 / 0.9331 GB, free: 23.77 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)