Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007841/0.0007841, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007585/0.0007585, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8518/0.8518, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001389/0.001389, allocations: 238.2 kB / 260.2 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6286/0.6286, allocations: 138.4 MB / 455.1 MB, free: 1.621 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.6476 GB, free: 28.74 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.682e-05, allocations: 2.844 kB / 0.6476 GB, free: 28.73 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002769/0.002796, allocations: 2.837 MB / 0.6504 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001822/0.004618, allocations: 1.964 MB / 0.6523 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.004776, allocations: 10.81 kB / 0.6523 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0009936/0.00577, allocations: 462.4 kB / 0.6527 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.005934, allocations: 154.8 kB / 0.6529 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 9.123e-05/0.006025, allocations: 58.31 kB / 0.6529 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003552/0.00638, allocations: 469 kB / 0.6534 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.00655, allocations: 98.42 kB / 0.6535 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.006835, allocations: 253.4 kB / 0.6537 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.00699, allocations: 132.1 kB / 0.6538 GB, free: 24 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 4.246e-05/0.007032, allocations: 38.31 kB / 0.6539 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 4.54e-05/0.007077, allocations: 35.38 kB / 0.6539 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.612e-05/0.007164, allocations: 98.48 kB / 0.654 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.007266, allocations: 142.4 kB / 0.6541 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.007634, allocations: 0.5381 MB / 0.6547 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.007637, allocations: 0 / 0.6547 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.603e-06/0.007639, allocations: 3.938 kB / 0.6547 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.007646, allocations: 1.219 kB / 0.6547 GB, free: 23.44 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006762/0.008322, allocations: 0.632 MB / 0.6553 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.008361, allocations: 9.438 kB / 0.6553 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.225e-05/0.008424, allocations: 51.23 kB / 0.6553 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.008762, allocations: 315.2 kB / 0.6556 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.008779, allocations: 16.97 kB / 0.6557 GB, free: 22.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.008813, allocations: 22.16 kB / 0.6557 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.009076, allocations: 199.7 kB / 0.6559 GB, free: 22.47 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.00909, allocations: 1.406 kB / 0.6559 GB, free: 22.47 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.009107, allocations: 9.531 kB / 0.6559 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.009116, allocations: 10.34 kB / 0.6559 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002406/0.009356, allocations: 165.5 kB / 0.6561 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006977/0.01005, allocations: 0.6422 MB / 0.6567 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.01026, allocations: 146.5 kB / 0.6568 GB, free: 21.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.01039, allocations: 103.8 kB / 0.6569 GB, free: 21.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.01041, allocations: 2.281 kB / 0.6569 GB, free: 21.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.01042, allocations: 39.59 kB / 0.657 GB, free: 21.69 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.743e-06/0.01042, allocations: 0 / 0.657 GB, free: 21.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0003748/0.0108, allocations: 253.8 kB / 0.6572 GB, free: 21.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.01082, allocations: 58.06 kB / 0.6573 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.01112, allocations: 396 kB / 0.6576 GB, free: 21.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.01113, allocations: 30.73 kB / 0.6577 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.299e-05/0.01121, allocations: 206.3 kB / 0.6579 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.01125, allocations: 66.2 kB / 0.6579 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.0113, allocations: 36.64 kB / 0.658 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.595e-05/0.01137, allocations: 347.2 kB / 0.6583 GB, free: 20.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-05/0.01146, allocations: 57.77 kB / 0.6583 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.273e-05/0.01154, allocations: 65.61 kB / 0.6584 GB, free: 20.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.01172, allocations: 133.2 kB / 0.6585 GB, free: 20.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.01172, allocations: 0 / 0.6585 GB, free: 20.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002264/0.01195, allocations: 203.4 kB / 0.6587 GB, free: 20.35 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.01197, allocations: 8.406 kB / 0.6587 GB, free: 20.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.01197, allocations: 8.984 kB / 0.6587 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.01199, allocations: 5.062 kB / 0.6587 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.01214, allocations: 53.72 kB / 0.6588 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.01215, allocations: 0 / 0.6588 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.017e-05/0.01222, allocations: 18.27 kB / 0.6588 GB, free: 20.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.01223, allocations: 7.188 kB / 0.6588 GB, free: 20.31 MB / 0.5105 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 9.617e-05/0.01232, allocations: 162.6 kB / 0.659 GB, free: 20.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.01236, allocations: 35.36 kB / 0.659 GB, free: 20.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.455e-05/0.0124, allocations: 39.64 kB / 0.6591 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.0124, allocations: 1.094 kB / 0.6591 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.01241, allocations: 5.031 kB / 0.6591 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.01241, allocations: 0 / 0.6591 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.01261, allocations: 277.4 kB / 0.6593 GB, free: 19.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.01261, allocations: 0 / 0.6593 GB, free: 19.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.01275, allocations: 53.59 kB / 0.6594 GB, free: 19.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01276, allocations: 1.156 kB / 0.6594 GB, free: 19.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.01277, allocations: 1.875 kB / 0.6594 GB, free: 19.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01277, allocations: 4.719 kB / 0.6594 GB, free: 19.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01277, allocations: 0 / 0.6594 GB, free: 19.87 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.01315, allocations: 388.8 kB / 0.6598 GB, free: 19.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.01319, allocations: 38.47 kB / 0.6598 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.01322, allocations: 5.062 kB / 0.6598 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.01329, allocations: 8.594 kB / 0.6598 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.01334, allocations: 12.47 kB / 0.6598 GB, free: 19.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.361e-06/0.01334, allocations: 2.312 kB / 0.6598 GB, free: 19.56 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001977/0.01354, allocations: 290.4 kB / 0.6601 GB, free: 19.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.01354, allocations: 1.062 kB / 0.6601 GB, free: 19.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002096/0.01375, allocations: 76.77 kB / 0.6602 GB, free: 19.37 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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 8.841e-05/0.01384, allocations: 118.3 kB / 0.6603 GB, free: 19.26 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.01407, allocations: 140 kB / 0.6604 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01407, allocations: 0 / 0.6604 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.396e-05/0.01417, allocations: 74.78 kB / 0.6605 GB, free: 19.17 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.01451, allocations: 82.84 kB / 0.6606 GB, free: 19.13 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008362/0.01534, allocations: 0.7078 MB / 0.6613 GB, free: 18.63 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.01547, allocations: 190.5 kB / 0.6614 GB, free: 18.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.01553, allocations: 23.88 kB / 0.6615 GB, free: 18.49 MB / 0.5105 GB Notification: Performance of SimCode: time 6.22e-07/0.01553, allocations: 5.688 kB / 0.6615 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of Templates: time 0.003842/0.01937, allocations: 4.369 MB / 0.6657 GB, free: 14.29 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.309693365357816] Failed to read output from testmodel.py, exit status != 0: 0.024555337615311146 0.029985982 0.021081152000000002 Calling exit ...