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.6979/0.6979, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000939/0.000939, allocations: 194.6 kB / 187.3 MB, free: 11.88 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.248/1.248, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0008614/0.0008614, allocations: 97.08 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001662/0.001662, allocations: 274.6 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.033e-05/3.035e-05, allocations: 7.984 kB / 0.6836 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3572, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.4825, allocations: 130.1 MB / 0.8914 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/0.4828, allocations: 113.3 kB / 0.8915 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.0451/0.528, allocations: 15.52 MB / 0.9067 GB, free: 10.78 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.603e-06/0.528, allocations: 0 / 0.9067 GB, free: 10.78 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.528, allocations: 4 kB / 0.9067 GB, free: 10.78 MB / 0.573 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.0008615/0.5289, allocations: 0.5527 MB / 0.9072 GB, free: 10.18 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.5289, allocations: 8.031 kB / 0.9073 GB, free: 10.17 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.106e-05/0.529, allocations: 105.8 kB / 0.9074 GB, free: 10.06 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/0.5291, allocations: 83.28 kB / 0.9074 GB, free: 9.977 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.5292, allocations: 254.1 kB / 0.9077 GB, free: 9.688 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.945e-05/0.5293, allocations: 150.6 kB / 0.9078 GB, free: 9.539 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.5293, allocations: 154.6 kB / 0.908 GB, free: 9.387 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.49e-05/0.5294, allocations: 105 kB / 0.9081 GB, free: 9.277 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.5294, allocations: 75.28 kB / 0.9081 GB, free: 9.203 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.5295, allocations: 154.6 kB / 0.9083 GB, free: 9.051 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.898e-05/0.5295, allocations: 150.6 kB / 0.9084 GB, free: 8.902 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.885e-05/0.5296, allocations: 154.5 kB / 0.9086 GB, free: 8.75 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.5299, allocations: 469.8 kB / 0.909 GB, free: 8.242 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.185e-05/0.53, allocations: 169.1 kB / 0.9092 GB, free: 8.066 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.155e-05/0.53, allocations: 80.14 kB / 0.9093 GB, free: 7.984 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/0.53, allocations: 79.28 kB / 0.9093 GB, free: 7.906 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.5301, allocations: 113.8 kB / 0.9094 GB, free: 7.785 MB / 0.573 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.5301, allocations: 0 / 0.9094 GB, free: 7.785 MB / 0.573 GB Notification: Performance of matching and sorting (n=0): time 8.278e-05/0.5302, allocations: 41.53 kB / 0.9095 GB, free: 7.738 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.5303, allocations: 130.7 kB / 0.9096 GB, free: 7.598 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.5304, allocations: 119.7 kB / 0.9097 GB, free: 7.473 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.5304, allocations: 25.7 kB / 0.9097 GB, free: 7.441 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 4.609e-05/0.5305, allocations: 88.14 kB / 0.9098 GB, free: 7.352 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.5305, allocations: 0 / 0.9098 GB, free: 7.352 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.5305, allocations: 4 kB / 0.9098 GB, free: 7.348 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.5306, allocations: 314.8 kB / 0.9101 GB, free: 7.031 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.529e-05/0.5306, allocations: 8 kB / 0.9101 GB, free: 7.023 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.462e-05/0.5306, allocations: 12 kB / 0.9102 GB, free: 7.012 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.458e-05/0.5307, allocations: 4 kB / 0.9102 GB, free: 7.008 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5307, allocations: 3.953 kB / 0.9102 GB, free: 7.004 MB / 0.573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001256/0.5308, allocations: 61.53 kB / 0.9102 GB, free: 6.938 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.5308, allocations: 4 kB / 0.9102 GB, free: 6.934 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.5309, allocations: 4 kB / 0.9102 GB, free: 6.93 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.5309, allocations: 0 / 0.9102 GB, free: 6.93 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.5309, allocations: 0 / 0.9102 GB, free: 6.93 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.5309, allocations: 0 / 0.9102 GB, free: 6.93 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.065e-05/0.5309, allocations: 0 / 0.9102 GB, free: 6.93 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-06/0.5309, allocations: 4.062 kB / 0.9102 GB, free: 6.926 MB / 0.573 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 () * 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 7.969e-05/0.531, allocations: 184.2 kB / 0.9104 GB, free: 6.738 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.137e-05/0.5311, allocations: 112.8 kB / 0.9105 GB, free: 6.621 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.248e-05/0.5311, allocations: 112.7 kB / 0.9106 GB, free: 6.504 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-05/0.5312, allocations: 180.3 kB / 0.9108 GB, free: 6.32 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.727e-05/0.5313, allocations: 188.2 kB / 0.911 GB, free: 6.129 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.085e-05/0.5313, allocations: 180.3 kB / 0.9111 GB, free: 5.945 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.5315, allocations: 413.2 kB / 0.9115 GB, free: 5.484 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.371e-05/0.5316, allocations: 104.9 kB / 0.9116 GB, free: 5.375 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.5316, allocations: 104.9 kB / 0.9117 GB, free: 5.266 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.706e-05/0.5317, allocations: 184.2 kB / 0.9119 GB, free: 5.078 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.589e-05/0.5317, allocations: 184.3 kB / 0.9121 GB, free: 4.891 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.587e-05/0.5318, allocations: 176.3 kB / 0.9123 GB, free: 4.711 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.319e-05/0.5319, allocations: 184.2 kB / 0.9124 GB, free: 4.523 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.532, allocations: 307.7 kB / 0.9127 GB, free: 4.199 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.15e-05/0.5321, allocations: 191.2 kB / 0.9129 GB, free: 3.988 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.938e-05/0.5322, allocations: 188.2 kB / 0.9131 GB, free: 3.797 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.069e-05/0.5323, allocations: 104.9 kB / 0.9132 GB, free: 3.688 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/0.5323, allocations: 180.3 kB / 0.9134 GB, free: 3.504 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.5324, allocations: 117 kB / 0.9135 GB, free: 3.383 MB / 0.573 GB Notification: Performance of sorting global known variables: time 5.807e-05/0.5324, allocations: 100.4 kB / 0.9136 GB, free: 3.285 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5324, allocations: 0 / 0.9136 GB, free: 3.285 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008933/0.5333, allocations: 327.4 kB / 0.9139 GB, free: 2.965 MB / 0.573 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 () * 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.001775/0.5351, allocations: 1.206 MB / 0.9151 GB, free: 1.738 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.5352, allocations: 45.7 kB / 0.9151 GB, free: 1.688 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5352, allocations: 4.062 kB / 0.9151 GB, free: 1.684 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 4.448e-06/0.5353, allocations: 0 / 0.9151 GB, free: 1.684 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.5356, allocations: 0.5301 MB / 0.9156 GB, free: 1.148 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006866/0.5363, allocations: 345.4 kB / 0.916 GB, free: 0.7734 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.5365, allocations: 0.6926 MB / 0.9166 GB, free: 56 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 1.567e-05/0.5365, allocations: 0 / 0.9166 GB, free: 56 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.5366, allocations: 15.44 kB / 0.9166 GB, free: 40 kB / 0.573 GB Notification: Performance of SimCode: time 7.01e-07/0.5366, allocations: 0 / 0.9166 GB, free: 40 kB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3081/0.8447, allocations: 6.607 MB / 0.9231 GB, free: 137.9 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001499/0.8449, allocations: 290.8 kB / 0.9234 GB, free: 137.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.435, allocations: 0 / 0.9234 GB, free: 137.5 MB / 0.573 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)