Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.8416/0.8416, allocations: 143.3 MB / 158.3 MB, free: 5.793 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.001365/0.001365, allocations: 177.1 kB / 191.5 MB, free: 5.766 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.622/1.622, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.001348/0.001348, allocations: 96.27 kB / 0.5187 GB, free: 1.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001815/0.001815, allocations: 269 kB / 0.6005 GB, free: 48.71 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004486/0.0004487, allocations: 12.75 kB / 0.693 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.187, allocations: 82.8 MB / 0.7738 GB, free: 13.64 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.643/0.8301, allocations: 129.4 MB / 0.9002 GB, free: 21.82 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/0.8305, allocations: 121 kB / 0.9003 GB, free: 21.82 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04393/0.8744, allocations: 15.27 MB / 0.9152 GB, free: 20.84 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.464e-06/0.8744, allocations: 0 / 0.9152 GB, free: 20.84 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.8745, allocations: 4 kB / 0.9152 GB, free: 20.83 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.001179/0.8756, allocations: 0.5643 MB / 0.9158 GB, free: 20.32 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.8757, allocations: 12.16 kB / 0.9158 GB, free: 20.32 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.702e-05/0.8758, allocations: 109.2 kB / 0.9159 GB, free: 20.2 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.501e-05/0.8758, allocations: 75.28 kB / 0.916 GB, free: 20.13 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.8759, allocations: 246.1 kB / 0.9162 GB, free: 19.85 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.876, allocations: 158.4 kB / 0.9164 GB, free: 19.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.876, allocations: 158.2 kB / 0.9165 GB, free: 19.55 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.994e-05/0.8761, allocations: 101 kB / 0.9166 GB, free: 19.44 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.8761, allocations: 75.28 kB / 0.9167 GB, free: 19.37 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.8761, allocations: 150.6 kB / 0.9168 GB, free: 19.22 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/0.8762, allocations: 153.7 kB / 0.917 GB, free: 19.07 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.982e-05/0.8762, allocations: 154.6 kB / 0.9171 GB, free: 18.92 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.8764, allocations: 472.5 kB / 0.9176 GB, free: 18.43 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.567e-05/0.8765, allocations: 169 kB / 0.9177 GB, free: 18.26 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.8765, allocations: 75.28 kB / 0.9178 GB, free: 18.19 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.8766, allocations: 113.7 kB / 0.9179 GB, free: 18.07 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.8766, allocations: 0 / 0.9179 GB, free: 18.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 7.323e-05/0.8767, allocations: 37.42 kB / 0.9179 GB, free: 18.03 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.453e-05/0.8767, allocations: 126.7 kB / 0.9181 GB, free: 17.89 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.8768, allocations: 122.5 kB / 0.9182 GB, free: 17.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.956e-06/0.8768, allocations: 25.7 kB / 0.9182 GB, free: 17.77 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.8769, allocations: 99.2 kB / 0.9183 GB, free: 17.68 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/0.8769, allocations: 3.938 kB / 0.9183 GB, free: 17.68 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-06/0.8769, allocations: 4 kB / 0.9183 GB, free: 17.68 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.093e-05/0.877, allocations: 314.7 kB / 0.9186 GB, free: 17.36 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.122e-05/0.877, allocations: 3.875 kB / 0.9186 GB, free: 17.36 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.333e-05/0.877, allocations: 7.672 kB / 0.9186 GB, free: 17.36 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.516e-05/0.877, allocations: 7.812 kB / 0.9186 GB, free: 17.36 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8771, allocations: 0 / 0.9186 GB, free: 17.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001103/0.8772, allocations: 53.03 kB / 0.9187 GB, free: 17.32 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.8772, allocations: 3.906 kB / 0.9187 GB, free: 17.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.8772, allocations: 3.875 kB / 0.9187 GB, free: 17.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.8772, allocations: 7.906 kB / 0.9187 GB, free: 17.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.8772, allocations: 3.938 kB / 0.9187 GB, free: 17.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.8772, allocations: 0 / 0.9187 GB, free: 17.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.209e-05/0.8773, allocations: 4 kB / 0.9187 GB, free: 17.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.8773, allocations: 3.969 kB / 0.9187 GB, free: 17.31 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 7.662e-05/0.8774, allocations: 181.1 kB / 0.9189 GB, free: 17.12 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.8774, allocations: 112.8 kB / 0.919 GB, free: 17.01 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006856/0.8781, allocations: 112.2 kB / 0.9191 GB, free: 32.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.145e-05/0.8782, allocations: 192.1 kB / 0.9193 GB, free: 32.71 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.976e-05/0.8783, allocations: 176.3 kB / 0.9194 GB, free: 32.53 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-05/0.8783, allocations: 180.2 kB / 0.9196 GB, free: 32.35 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.8785, allocations: 415.7 kB / 0.92 GB, free: 31.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.103e-05/0.8786, allocations: 104.9 kB / 0.9201 GB, free: 31.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-05/0.8786, allocations: 105.1 kB / 0.9202 GB, free: 31.69 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-05/0.8787, allocations: 188.1 kB / 0.9204 GB, free: 31.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.708e-05/0.8788, allocations: 180.2 kB / 0.9206 GB, free: 31.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.527e-05/0.8788, allocations: 184 kB / 0.9207 GB, free: 31.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.981e-05/0.8789, allocations: 180.2 kB / 0.9209 GB, free: 30.95 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.879, allocations: 307.5 kB / 0.9212 GB, free: 30.64 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.673e-05/0.8791, allocations: 189.4 kB / 0.9214 GB, free: 30.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/0.8792, allocations: 180.2 kB / 0.9216 GB, free: 30.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.315e-05/0.8793, allocations: 108.7 kB / 0.9217 GB, free: 30.14 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/0.8794, allocations: 176.3 kB / 0.9218 GB, free: 29.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.8794, allocations: 105 kB / 0.9219 GB, free: 29.85 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.401e-05/0.8795, allocations: 102 kB / 0.922 GB, free: 29.78 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.183e-06/0.8795, allocations: 0 / 0.922 GB, free: 29.78 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00125/0.8808, allocations: 320.3 kB / 0.9223 GB, free: 29.69 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.001503/0.8823, allocations: 1.216 MB / 0.9235 GB, free: 28.77 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.889e-05/0.8824, allocations: 33.42 kB / 0.9236 GB, free: 28.73 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8824, allocations: 0 / 0.9236 GB, free: 28.73 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.929e-06/0.8824, allocations: 4 kB / 0.9236 GB, free: 28.73 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.8828, allocations: 0.5335 MB / 0.9241 GB, free: 28.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007316/0.8835, allocations: 0.5985 MB / 0.9247 GB, free: 27.69 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.8838, allocations: 0.6804 MB / 0.9253 GB, free: 27 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.726e-05/0.8838, allocations: 7.75 kB / 0.9253 GB, free: 27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.8839, allocations: 18.56 kB / 0.9254 GB, free: 26.98 MB / 0.5573 GB Notification: Performance of SimCode: time 2.11e-07/0.8839, allocations: 0 / 0.9254 GB, free: 26.98 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/0.9048, allocations: 6.42 MB / 0.9316 GB, free: 24.39 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/0.9051, allocations: 322.8 kB / 0.9319 GB, free: 24.02 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.929/2.834, allocations: 0 / 0.9319 GB, free: 24.02 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)