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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 118.9 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 198.2 kB / 20.08 MB, free: 2.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003529/0.003529, allocations: 285.7 kB / 303.6 MB, free: 3.68 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.095/1.095, allocations: 180.9 MB / 0.5268 GB, free: 2.727 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002802/0.002802, allocations: 99.84 kB / 0.726 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6732/0.676, allocations: 94.16 MB / 0.8179 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00267/0.6787, allocations: 1.434 MB / 0.8193 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004271/0.683, allocations: 2.879 MB / 0.8222 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.683, allocations: 1.5 kB / 0.8222 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.6831, allocations: 3.938 kB / 0.8222 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-05/0.6831, allocations: 20.39 kB / 0.8222 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004278/0.6874, allocations: 1.555 MB / 0.8237 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.6875, allocations: 44.19 kB / 0.8237 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.6876, allocations: 4.609 kB / 0.8237 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.959e-05/0.6876, allocations: 12.02 kB / 0.8238 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.815e-05/0.6876, allocations: 13.44 kB / 0.8238 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.6876, allocations: 0 / 0.8238 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/0.6902, allocations: 1.532 MB / 0.8253 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.6902, allocations: 11.7 kB / 0.8253 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.533e-05/0.6903, allocations: 21.56 kB / 0.8253 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001725/0.692, allocations: 1.081 MB / 0.8263 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.692, allocations: 3.062 kB / 0.8264 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.692, allocations: 0 / 0.8264 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.692, allocations: 0 / 0.8264 GB, free: 2.859 MB / 0.5762 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.0006503/0.6927, allocations: 0.5304 MB / 0.8269 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.6927, allocations: 11.31 kB / 0.8269 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.6928, allocations: 80.17 kB / 0.827 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.6929, allocations: 257.6 kB / 0.8272 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.6929, allocations: 154.9 kB / 0.8273 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.6929, allocations: 150.9 kB / 0.8275 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.87e-05/0.693, allocations: 108 kB / 0.8276 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.693, allocations: 83.77 kB / 0.8277 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.693, allocations: 150.6 kB / 0.8278 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.693, allocations: 154.6 kB / 0.828 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.358e-05/0.6931, allocations: 151.3 kB / 0.8281 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.6933, allocations: 465.7 kB / 0.8286 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.929e-05/0.6933, allocations: 169.8 kB / 0.8287 GB, free: 400 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.6933, allocations: 88.08 kB / 0.8288 GB, free: 308 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.6934, allocations: 77.91 kB / 0.8289 GB, free: 232 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.6934, allocations: 110.5 kB / 0.829 GB, free: 112 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.6934, allocations: 0 / 0.829 GB, free: 112 kB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.658e-05/0.6935, allocations: 32.94 kB / 0.829 GB, free: 76 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.838e-05/0.6936, allocations: 127.4 kB / 0.8291 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.6937, allocations: 134.4 kB / 0.8293 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.6937, allocations: 25.7 kB / 0.8293 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/0.6938, allocations: 87.98 kB / 0.8294 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.6938, allocations: 0 / 0.8294 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.6938, allocations: 20.97 kB / 0.8294 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.694, allocations: 315.4 kB / 0.8297 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.502e-05/0.694, allocations: 10.23 kB / 0.8297 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.899e-05/0.694, allocations: 9.188 kB / 0.8297 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.956e-05/0.6941, allocations: 14.33 kB / 0.8297 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6941, allocations: 0 / 0.8297 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001349/0.6942, allocations: 52.88 kB / 0.8298 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.6942, allocations: 10.78 kB / 0.8298 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.6942, allocations: 2.562 kB / 0.8298 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.6943, allocations: 3.344 kB / 0.8298 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.6943, allocations: 0 / 0.8298 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.6943, allocations: 3.984 kB / 0.8298 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.019e-05/0.6943, allocations: 0 / 0.8298 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.6943, allocations: 3.125 kB / 0.8298 GB, free: 15.3 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.6944, allocations: 193.8 kB / 0.83 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.07e-05/0.6945, allocations: 118.8 kB / 0.8301 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.019e-05/0.6946, allocations: 106.1 kB / 0.8302 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.58e-05/0.6946, allocations: 187.5 kB / 0.8304 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.656e-05/0.6947, allocations: 177.1 kB / 0.8305 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.057e-05/0.6948, allocations: 192.6 kB / 0.8307 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.6951, allocations: 408.6 kB / 0.8311 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-05/0.6951, allocations: 105.5 kB / 0.8312 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.054e-05/0.6952, allocations: 105.7 kB / 0.8313 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-05/0.6953, allocations: 183.4 kB / 0.8315 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.371e-05/0.6953, allocations: 184.8 kB / 0.8317 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.924e-05/0.6954, allocations: 181.1 kB / 0.8318 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-05/0.6955, allocations: 180 kB / 0.832 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.6957, allocations: 308.6 kB / 0.8323 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.6958, allocations: 189.5 kB / 0.8325 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.186e-05/0.6959, allocations: 184.1 kB / 0.8327 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.697e-05/0.6959, allocations: 101.6 kB / 0.8328 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.696, allocations: 181 kB / 0.8329 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-05/0.6961, allocations: 104.2 kB / 0.833 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.393e-05/0.6961, allocations: 99.77 kB / 0.8331 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6961, allocations: 0 / 0.8331 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009615/0.6971, allocations: 277.2 kB / 0.8334 GB, free: 11.66 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001183/0.6983, allocations: 0.5344 MB / 0.8339 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001226/0.6984, allocations: 39.88 kB / 0.834 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.6984, allocations: 0 / 0.834 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.559e-06/0.6984, allocations: 4 kB / 0.834 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.6989, allocations: 472.8 kB / 0.8344 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/0.6993, allocations: 280.7 kB / 0.8347 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.6996, allocations: 0.6799 MB / 0.8353 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.618e-05/0.6996, allocations: 10.03 kB / 0.8353 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.6996, allocations: 4 kB / 0.8354 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of Templates: time 0.01055/0.7102, allocations: 4.637 MB / 0.8399 GB, free: 9.457 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.552391316043213] Failed to read output from testmodel.py, exit status != 0: 0.718660042155534 0.7335352860000001 0.038463891 Calling exit ...