Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001392/0.001392, allocations: 80.25 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001648/0.001648, allocations: 164.3 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.406/1.406, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.175/1.175, allocations: 154.6 MB / 413.8 MB, free: 5.227 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.6186 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.402e-05, allocations: 6.219 kB / 0.6186 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004309/0.004333, allocations: 2.855 MB / 0.6214 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002997/0.007329, allocations: 1.95 MB / 0.6233 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002562/0.007585, allocations: 11.94 kB / 0.6233 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.009198, allocations: 469.6 kB / 0.6238 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003678/0.009566, allocations: 150.8 kB / 0.6239 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.009714, allocations: 59.94 kB / 0.624 GB, free: 15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005488/0.01026, allocations: 465.6 kB / 0.6244 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.01047, allocations: 99.78 kB / 0.6245 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003982/0.01087, allocations: 251.3 kB / 0.6248 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.0111, allocations: 123.6 kB / 0.6249 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.174e-05/0.01115, allocations: 36 kB / 0.6249 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.85e-05/0.01122, allocations: 36 kB / 0.625 GB, free: 14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.01134, allocations: 95.61 kB / 0.625 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.01152, allocations: 143.7 kB / 0.6252 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006131/0.01213, allocations: 0.5411 MB / 0.6257 GB, free: 13.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.01214, allocations: 0 / 0.6257 GB, free: 13.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.01214, allocations: 4 kB / 0.6257 GB, free: 13.22 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.01215, allocations: 0 / 0.6257 GB, free: 13.22 MB / 0.545 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.00108/0.01323, allocations: 0.633 MB / 0.6263 GB, free: 12.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.01326, allocations: 8.031 kB / 0.6263 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.412e-05/0.01335, allocations: 48.66 kB / 0.6264 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005379/0.01389, allocations: 315.8 kB / 0.6267 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.01391, allocations: 16.88 kB / 0.6267 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.481e-05/0.01396, allocations: 28.36 kB / 0.6267 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004272/0.01438, allocations: 196.7 kB / 0.6269 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.0144, allocations: 4.141 kB / 0.6269 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.01442, allocations: 8.375 kB / 0.6269 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.01444, allocations: 11.94 kB / 0.6269 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004135/0.01485, allocations: 173.8 kB / 0.6271 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.01598, allocations: 0.6324 MB / 0.6277 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.0163, allocations: 138.6 kB / 0.6279 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.01654, allocations: 108.8 kB / 0.628 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.01655, allocations: 4 kB / 0.628 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.01659, allocations: 34.56 kB / 0.628 GB, free: 10.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.01659, allocations: 0 / 0.628 GB, free: 10.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0006319/0.01722, allocations: 251.9 kB / 0.6282 GB, free: 10.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.01727, allocations: 55.41 kB / 0.6283 GB, free: 10.45 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004592/0.01773, allocations: 393.7 kB / 0.6287 GB, free: 10.06 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.01776, allocations: 33.7 kB / 0.6287 GB, free: 10.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.01791, allocations: 208.4 kB / 0.6289 GB, free: 9.816 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.639e-05/0.01798, allocations: 67.44 kB / 0.629 GB, free: 9.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/0.01804, allocations: 25.72 kB / 0.629 GB, free: 9.719 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.01821, allocations: 358.7 kB / 0.6293 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.01837, allocations: 55.92 kB / 0.6294 GB, free: 9.305 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.01852, allocations: 57.69 kB / 0.6294 GB, free: 9.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.01883, allocations: 139 kB / 0.6296 GB, free: 9.113 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01884, allocations: 0 / 0.6296 GB, free: 9.113 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004217/0.01926, allocations: 205.4 kB / 0.6298 GB, free: 8.906 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.01927, allocations: 8 kB / 0.6298 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.01928, allocations: 0 / 0.6298 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.01929, allocations: 0 / 0.6298 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.01956, allocations: 59.89 kB / 0.6298 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.01956, allocations: 4 kB / 0.6298 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.0197, allocations: 19.83 kB / 0.6299 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.01972, allocations: 4 kB / 0.6299 GB, free: 8.812 MB / 0.545 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 0.0001668/0.01988, allocations: 165.8 kB / 0.63 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.935e-05/0.01994, allocations: 31.81 kB / 0.63 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.544e-05/0.02002, allocations: 39.41 kB / 0.6301 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.02002, allocations: 0 / 0.6301 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.02002, allocations: 0 / 0.6301 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.02003, allocations: 11.97 kB / 0.6301 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.02039, allocations: 269 kB / 0.6304 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.02039, allocations: 0 / 0.6304 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.02066, allocations: 59.89 kB / 0.6304 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.02066, allocations: 0 / 0.6304 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.02068, allocations: 8 kB / 0.6304 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.02068, allocations: 0 / 0.6304 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.02068, allocations: 0 / 0.6304 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006494/0.02133, allocations: 383.1 kB / 0.6308 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.005e-05/0.0214, allocations: 35.8 kB / 0.6308 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.02145, allocations: 7.938 kB / 0.6308 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.02161, allocations: 11.98 kB / 0.6308 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.02166, allocations: 15.97 kB / 0.6309 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.02167, allocations: 8 kB / 0.6309 GB, free: 7.727 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003389/0.02201, allocations: 287.2 kB / 0.6311 GB, free: 7.445 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.02201, allocations: 0 / 0.6311 GB, free: 7.445 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003175/0.02233, allocations: 71.89 kB / 0.6312 GB, free: 7.375 MB / 0.545 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 0.0001353/0.02247, allocations: 115.1 kB / 0.6313 GB, free: 7.254 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003774/0.02284, allocations: 149.2 kB / 0.6315 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.02285, allocations: 0 / 0.6315 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.02304, allocations: 79.89 kB / 0.6315 GB, free: 7.035 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.02355, allocations: 75.44 kB / 0.6316 GB, free: 6.969 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.02473, allocations: 0.6729 MB / 0.6323 GB, free: 6.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.02493, allocations: 194.2 kB / 0.6324 GB, free: 6.062 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001086/0.02504, allocations: 30.95 kB / 0.6325 GB, free: 6.031 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.698e-05/0.02511, allocations: 24.5 kB / 0.6325 GB, free: 6.008 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.02511, allocations: 3.938 kB / 0.6325 GB, free: 6.004 MB / 0.545 GB Notification: Performance of Templates: time 0.008497/0.03361, allocations: 3.629 MB / 0.636 GB, free: 2.52 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.572647128254175] Failed to read output from testmodel.py, exit status != 0: 0.04245010018348694 0.057257605 0.041917432000000004 Calling exit ...