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/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.001704/0.001704, allocations: 119.2 kB / 17.13 MB, free: 5.758 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.001842/0.001842, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.547/1.547, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.002538/0.002538, allocations: 282.9 kB / 303.6 MB, free: 3.738 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.163/1.163, allocations: 180.9 MB / 0.5268 GB, free: 2.723 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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003026/0.003026, allocations: 99.83 kB / 0.726 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6711/0.6741, allocations: 94.16 MB / 0.8179 GB, free: 7.633 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002728/0.6768, allocations: 1.439 MB / 0.8193 GB, free: 6.629 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.004437/0.6813, allocations: 2.928 MB / 0.8222 GB, free: 4.621 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.978e-05/0.6813, allocations: 1.156 kB / 0.8222 GB, free: 4.621 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.262e-05/0.6813, allocations: 4.547 kB / 0.8222 GB, free: 4.617 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 8.008e-05/0.6814, allocations: 16.52 kB / 0.8222 GB, free: 4.605 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.004431/0.6859, allocations: 1.59 MB / 0.8238 GB, free: 3.828 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.686, allocations: 47.61 kB / 0.8238 GB, free: 3.805 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.686, allocations: 4.562 kB / 0.8238 GB, free: 3.801 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 2.943e-05/0.6861, allocations: 12.98 kB / 0.8238 GB, free: 3.797 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 3.257e-05/0.6861, allocations: 17.92 kB / 0.8239 GB, free: 3.789 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.6861, allocations: 3.844 kB / 0.8239 GB, free: 3.789 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002723/0.6888, allocations: 1.572 MB / 0.8254 GB, free: 3.293 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.6888, allocations: 8.625 kB / 0.8254 GB, free: 3.285 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 3.849e-05/0.6889, allocations: 21.08 kB / 0.8254 GB, free: 3.273 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.001856/0.6907, allocations: 1.111 MB / 0.8265 GB, free: 2.984 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.6907, allocations: 0.5625 kB / 0.8265 GB, free: 2.984 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6907, allocations: 4 kB / 0.8265 GB, free: 2.98 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.6908, allocations: 2.844 kB / 0.8265 GB, free: 2.98 MB / 0.5763 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.0006728/0.6914, allocations: 0.5334 MB / 0.827 GB, free: 2.477 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.6915, allocations: 6.562 kB / 0.827 GB, free: 2.477 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.958e-05/0.6915, allocations: 82.89 kB / 0.8271 GB, free: 2.398 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.6917, allocations: 257.6 kB / 0.8274 GB, free: 2.113 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.6917, allocations: 153.6 kB / 0.8275 GB, free: 1.965 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.6917, allocations: 154.9 kB / 0.8277 GB, free: 1.812 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.295e-05/0.6918, allocations: 106 kB / 0.8278 GB, free: 1.703 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.6918, allocations: 75.28 kB / 0.8278 GB, free: 1.629 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.6918, allocations: 150.6 kB / 0.828 GB, free: 1.48 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.6918, allocations: 153.5 kB / 0.8281 GB, free: 1.332 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.039e-05/0.6919, allocations: 159.1 kB / 0.8283 GB, free: 1.176 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/0.6921, allocations: 468.1 kB / 0.8287 GB, free: 0.6875 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 5.154e-05/0.6922, allocations: 165.1 kB / 0.8289 GB, free: 0.5156 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.6922, allocations: 88.06 kB / 0.829 GB, free: 436 kB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.6922, allocations: 75.98 kB / 0.829 GB, free: 360 kB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.6922, allocations: 113.8 kB / 0.8291 GB, free: 236 kB / 0.5763 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.6922, allocations: 0 / 0.8291 GB, free: 236 kB / 0.5763 GB Notification: Performance of matching and sorting (n=0): time 7.247e-05/0.6923, allocations: 37.31 kB / 0.8292 GB, free: 196 kB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.6923, allocations: 127.3 kB / 0.8293 GB, free: 56 kB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.6925, allocations: 134.8 kB / 0.8294 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.6925, allocations: 26.59 kB / 0.8295 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.6926, allocations: 104.8 kB / 0.8296 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.6926, allocations: 0 / 0.8296 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.6926, allocations: 14.27 kB / 0.8296 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6928, allocations: 321.7 kB / 0.8299 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.347e-05/0.6928, allocations: 2.875 kB / 0.8299 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.511e-05/0.6928, allocations: 12.12 kB / 0.8299 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.106e-05/0.6928, allocations: 11.08 kB / 0.8299 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6928, allocations: 0 / 0.8299 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001449/0.693, allocations: 56.92 kB / 0.83 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.693, allocations: 12.02 kB / 0.83 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/0.693, allocations: 3.031 kB / 0.83 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.693, allocations: 0.7031 kB / 0.83 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.904e-06/0.693, allocations: 0 / 0.83 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.693, allocations: 0 / 0.83 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.818e-05/0.6931, allocations: 9.562 kB / 0.83 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.6931, allocations: 2.875 kB / 0.83 GB, free: 15.41 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.0001241/0.6932, allocations: 181.8 kB / 0.8302 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.207e-05/0.6933, allocations: 120.8 kB / 0.8303 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.397e-05/0.6934, allocations: 112.7 kB / 0.8304 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.134e-05/0.6934, allocations: 184.9 kB / 0.8306 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.549e-05/0.6935, allocations: 183.8 kB / 0.8307 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-05/0.6936, allocations: 176.8 kB / 0.8309 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.6939, allocations: 411.8 kB / 0.8313 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.683e-05/0.6939, allocations: 117.6 kB / 0.8314 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.086e-05/0.694, allocations: 101.6 kB / 0.8315 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.348e-05/0.6941, allocations: 181.5 kB / 0.8317 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-05/0.6942, allocations: 178.7 kB / 0.8318 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.333e-05/0.6942, allocations: 177 kB / 0.832 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-05/0.6943, allocations: 190.3 kB / 0.8322 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.6945, allocations: 307.6 kB / 0.8325 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.6946, allocations: 190.2 kB / 0.8327 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.6947, allocations: 185.6 kB / 0.8328 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.128e-05/0.6948, allocations: 101 kB / 0.8329 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.6949, allocations: 186.5 kB / 0.8331 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/0.6949, allocations: 112.3 kB / 0.8332 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.937e-05/0.695, allocations: 98.48 kB / 0.8333 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.695, allocations: 0 / 0.8333 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009577/0.696, allocations: 284.5 kB / 0.8336 GB, free: 11.76 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.001187/0.6972, allocations: 0.5401 MB / 0.8341 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001093/0.6973, allocations: 38.44 kB / 0.8342 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6973, allocations: 3.938 kB / 0.8342 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.335e-06/0.6973, allocations: 2.625 kB / 0.8342 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.6978, allocations: 472 kB / 0.8346 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.6981, allocations: 263 kB / 0.8349 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.6985, allocations: 0.6818 MB / 0.8355 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.44e-05/0.6985, allocations: 8.969 kB / 0.8355 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.6985, allocations: 0 / 0.8355 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of Templates: time 0.01093/0.7094, allocations: 4.771 MB / 0.8402 GB, free: 9.562 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.716991154011339] Failed to read output from testmodel.py, exit status != 0: 0.718160934979096 0.7334875869999999 0.039700360000000004 Calling exit ...