Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001314/0.001314, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.001536/0.001536, allocations: 163.6 kB / 22.46 MB, free: 5.375 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.463/1.463, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.193/1.193, allocations: 154.5 MB / 413.7 MB, free: 5.324 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6186 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.011e-05, allocations: 7.906 kB / 0.6186 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004716/0.004746, allocations: 2.833 MB / 0.6214 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003393/0.008139, allocations: 1.965 MB / 0.6233 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002031/0.008342, allocations: 8 kB / 0.6233 GB, free: 15.78 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.009827, allocations: 485.5 kB / 0.6237 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.01014, allocations: 142.9 kB / 0.6239 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.01027, allocations: 67.8 kB / 0.6239 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005099/0.01078, allocations: 457.7 kB / 0.6244 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.01098, allocations: 107.7 kB / 0.6245 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003661/0.01134, allocations: 243.4 kB / 0.6247 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.01157, allocations: 131.6 kB / 0.6248 GB, free: 14.17 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.292e-05/0.01162, allocations: 36 kB / 0.6249 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.953e-05/0.01169, allocations: 39.94 kB / 0.6249 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.0118, allocations: 91.67 kB / 0.625 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.01199, allocations: 147.6 kB / 0.6251 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005897/0.01258, allocations: 0.5334 MB / 0.6257 GB, free: 13.33 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.01258, allocations: 0 / 0.6257 GB, free: 13.33 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.32e-07/0.01258, allocations: 0 / 0.6257 GB, free: 13.33 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.01259, allocations: 4 kB / 0.6257 GB, free: 13.32 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.001049/0.01364, allocations: 0.6368 MB / 0.6263 GB, free: 12.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.01367, allocations: 9.469 kB / 0.6263 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.186e-05/0.01375, allocations: 48.66 kB / 0.6263 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005484/0.0143, allocations: 311.9 kB / 0.6266 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.01433, allocations: 20.88 kB / 0.6267 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.01437, allocations: 16.38 kB / 0.6267 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004275/0.0148, allocations: 204.6 kB / 0.6269 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.01482, allocations: 4.141 kB / 0.6269 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.01484, allocations: 12.38 kB / 0.6269 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.01485, allocations: 11.94 kB / 0.6269 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004187/0.01527, allocations: 161.8 kB / 0.6271 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.01639, allocations: 0.6403 MB / 0.6277 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.01672, allocations: 142.5 kB / 0.6278 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.01695, allocations: 100.8 kB / 0.6279 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.01696, allocations: 0 / 0.6279 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.017, allocations: 38.56 kB / 0.6279 GB, free: 10.87 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.017, allocations: 4 kB / 0.6279 GB, free: 10.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0006303/0.01763, allocations: 251.6 kB / 0.6282 GB, free: 10.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.01769, allocations: 55.41 kB / 0.6282 GB, free: 10.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004829/0.01817, allocations: 389.7 kB / 0.6286 GB, free: 10.17 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.0182, allocations: 33.7 kB / 0.6286 GB, free: 10.13 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.01836, allocations: 204.4 kB / 0.6288 GB, free: 9.926 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.874e-05/0.01843, allocations: 71.42 kB / 0.6289 GB, free: 9.855 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.922e-05/0.0185, allocations: 29.7 kB / 0.6289 GB, free: 9.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.01868, allocations: 358.7 kB / 0.6293 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.01884, allocations: 55.92 kB / 0.6293 GB, free: 9.406 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.019, allocations: 58.38 kB / 0.6294 GB, free: 9.352 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/0.01931, allocations: 136.8 kB / 0.6295 GB, free: 9.215 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.01931, allocations: 0 / 0.6295 GB, free: 9.215 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004287/0.01974, allocations: 207.9 kB / 0.6297 GB, free: 9.008 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.01976, allocations: 8 kB / 0.6297 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.01976, allocations: 0 / 0.6297 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.01978, allocations: 0 / 0.6297 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.02004, allocations: 55.91 kB / 0.6298 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.02005, allocations: 4 kB / 0.6298 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.02019, allocations: 19.81 kB / 0.6298 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.0202, allocations: 8 kB / 0.6298 GB, free: 8.914 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.0001815/0.02038, allocations: 165.8 kB / 0.63 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.02044, allocations: 35.81 kB / 0.63 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.456e-05/0.02053, allocations: 39.41 kB / 0.63 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.02053, allocations: 0 / 0.63 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.02053, allocations: 0 / 0.63 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.02054, allocations: 4 kB / 0.63 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.02091, allocations: 273 kB / 0.6303 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.02091, allocations: 0 / 0.6303 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.02118, allocations: 51.97 kB / 0.6304 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.02118, allocations: 0 / 0.6304 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.02119, allocations: 4 kB / 0.6304 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.02119, allocations: 4 kB / 0.6304 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.0212, allocations: 3.984 kB / 0.6304 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006971/0.02189, allocations: 385.5 kB / 0.6307 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.02196, allocations: 35.78 kB / 0.6308 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.02201, allocations: 8 kB / 0.6308 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.02218, allocations: 19.92 kB / 0.6308 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.02222, allocations: 7.984 kB / 0.6308 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.02223, allocations: 4 kB / 0.6308 GB, free: 7.836 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003388/0.02257, allocations: 287.2 kB / 0.6311 GB, free: 7.555 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02257, allocations: 0 / 0.6311 GB, free: 7.555 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003298/0.0229, allocations: 75.89 kB / 0.6311 GB, free: 7.48 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.0001536/0.02306, allocations: 115.1 kB / 0.6313 GB, free: 7.359 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000392/0.02345, allocations: 139.9 kB / 0.6314 GB, free: 7.223 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.02345, allocations: 0 / 0.6314 GB, free: 7.223 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.02363, allocations: 79.81 kB / 0.6315 GB, free: 7.145 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005174/0.02415, allocations: 86.02 kB / 0.6316 GB, free: 7.066 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.02536, allocations: 0.6829 MB / 0.6322 GB, free: 6.359 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.02556, allocations: 190.2 kB / 0.6324 GB, free: 6.152 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.02567, allocations: 26.97 kB / 0.6324 GB, free: 6.129 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/0.02574, allocations: 28.5 kB / 0.6325 GB, free: 6.102 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.02574, allocations: 0 / 0.6325 GB, free: 6.102 MB / 0.545 GB Notification: Performance of Templates: time 0.008445/0.03419, allocations: 3.628 MB / 0.636 GB, free: 2.605 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.655614539980888] Failed to read output from testmodel.py, exit status != 0: 0.04302581399679184 0.057910078000000004 0.042046354 Calling exit ...