Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.001434/0.001434, allocations: 109.8 kB / 19.58 MB, free: 2.336 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.001503/0.001503, allocations: 193 kB / 22.85 MB, free: 5.641 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.303/1.303, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 179] 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.002386/0.002386, allocations: 291.2 kB / 307.1 MB, free: 8.352 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.106/1.106, allocations: 180.8 MB / 0.5304 GB, free: 14.62 MB / 382.1 MB " [Timeout remaining time 179] 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002615/0.002615, allocations: 101.9 kB / 0.7312 GB, free: 38.68 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1334, allocations: 94.2 MB / 0.8231 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002387/0.1358, allocations: 1.438 MB / 0.8245 GB, free: 404 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004064/0.1398, allocations: 2.897 MB / 0.8274 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.635e-05/0.1398, allocations: 0 / 0.8274 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.006e-05/0.1399, allocations: 7.938 kB / 0.8274 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.152e-05/0.1399, allocations: 11.86 kB / 0.8274 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00345/0.1434, allocations: 1.628 MB / 0.829 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.107e-05/0.1434, allocations: 47.67 kB / 0.829 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.109e-05/0.1435, allocations: 3.984 kB / 0.829 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.659e-05/0.1435, allocations: 15.92 kB / 0.829 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.604e-05/0.1435, allocations: 15.92 kB / 0.8291 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.985e-06/0.1435, allocations: 0 / 0.8291 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002018/0.1456, allocations: 1.525 MB / 0.8306 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.1456, allocations: 11.92 kB / 0.8306 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.1456, allocations: 19.88 kB / 0.8306 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.1469, allocations: 1.064 MB / 0.8316 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.1469, allocations: 0 / 0.8316 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1469, allocations: 0 / 0.8316 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.1469, allocations: 0 / 0.8316 GB, free: 9.145 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.0005233/0.1474, allocations: 460.2 kB / 0.8321 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.1474, allocations: 8.031 kB / 0.8321 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.1475, allocations: 84.17 kB / 0.8321 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.1476, allocations: 191.6 kB / 0.8323 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.616e-05/0.1477, allocations: 158.9 kB / 0.8325 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/0.1478, allocations: 150.9 kB / 0.8326 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.599e-05/0.1478, allocations: 117 kB / 0.8327 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.1479, allocations: 75.28 kB / 0.8328 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.074e-05/0.1479, allocations: 154.6 kB / 0.833 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.016e-05/0.148, allocations: 154.5 kB / 0.8331 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.958e-05/0.148, allocations: 158.5 kB / 0.8333 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002851/0.1483, allocations: 429 kB / 0.8337 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.02e-05/0.1484, allocations: 173.1 kB / 0.8338 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.1485, allocations: 80.14 kB / 0.8339 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.1485, allocations: 83.28 kB / 0.834 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.555e-05/0.1485, allocations: 109.8 kB / 0.8341 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.1485, allocations: 0 / 0.8341 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.778e-05/0.1486, allocations: 29.66 kB / 0.8341 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.1487, allocations: 134.7 kB / 0.8342 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.1488, allocations: 135.1 kB / 0.8344 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.1488, allocations: 25.7 kB / 0.8344 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.1489, allocations: 92.14 kB / 0.8345 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.402e-06/0.1489, allocations: 0 / 0.8345 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.1489, allocations: 21.7 kB / 0.8345 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.149, allocations: 314.8 kB / 0.8348 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.051e-05/0.149, allocations: 4 kB / 0.8348 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.604e-05/0.1491, allocations: 11.92 kB / 0.8348 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.299e-05/0.1491, allocations: 12.86 kB / 0.8348 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1491, allocations: 0 / 0.8348 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001141/0.1492, allocations: 53.62 kB / 0.8349 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1492, allocations: 8 kB / 0.8349 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.1492, allocations: 3.984 kB / 0.8349 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1493, allocations: 4 kB / 0.8349 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.1493, allocations: 3.938 kB / 0.8349 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.1493, allocations: 0 / 0.8349 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.522e-05/0.1493, allocations: 7.891 kB / 0.8349 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.1493, allocations: 0 / 0.8349 GB, free: 5.574 MB / 0.5762 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.0001015/0.1494, allocations: 190.5 kB / 0.8351 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.349e-05/0.1495, allocations: 104.9 kB / 0.8352 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.581e-05/0.1495, allocations: 112.8 kB / 0.8353 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.051e-05/0.1496, allocations: 184.2 kB / 0.8355 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-05/0.1497, allocations: 176.3 kB / 0.8356 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.26e-05/0.1497, allocations: 184.2 kB / 0.8358 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.1499, allocations: 380.3 kB / 0.8362 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.265e-05/0.15, allocations: 124.8 kB / 0.8363 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.15, allocations: 101 kB / 0.8364 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.975e-05/0.1501, allocations: 176.3 kB / 0.8366 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.488e-05/0.1502, allocations: 180.2 kB / 0.8367 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-05/0.1503, allocations: 180.3 kB / 0.8369 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.618e-05/0.1503, allocations: 184.2 kB / 0.8371 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.1505, allocations: 307.8 kB / 0.8374 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.1505, allocations: 116.8 kB / 0.8375 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-05/0.1506, allocations: 180.3 kB / 0.8377 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.903e-05/0.1507, allocations: 112.9 kB / 0.8378 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/0.1508, allocations: 184.3 kB / 0.8379 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.304e-05/0.1508, allocations: 101 kB / 0.838 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.1509, allocations: 97.3 kB / 0.8381 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1509, allocations: 0 / 0.8381 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006927/0.1516, allocations: 283 kB / 0.8384 GB, free: 1.793 MB / 0.5762 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.0009549/0.1525, allocations: 0.5322 MB / 0.8389 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.097e-05/0.1526, allocations: 37.7 kB / 0.839 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1526, allocations: 0 / 0.839 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.1526, allocations: 0 / 0.839 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.153, allocations: 471.7 kB / 0.8394 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.1533, allocations: 232.6 kB / 0.8396 GB, free: 496 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.1536, allocations: 0.6807 MB / 0.8403 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.576e-05/0.1536, allocations: 8.016 kB / 0.8403 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.127e-05/0.1536, allocations: 7.438 kB / 0.8403 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.1536, allocations: 0 / 0.8403 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of Templates: time 0.009414/0.163, allocations: 5.478 MB / 0.8457 GB, free: 10.34 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.611013722998905] Failed to read output from testmodel.py, exit status != 0: 0.16989758199633798 0.18409714100000002 0.034362091000000004 Calling exit ...