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.001461/0.001461, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00153/0.00153, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.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.252/1.252, allocations: 203.8 MB / 0.5041 GB, free: 4.609 MB / 414.1 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 67.89 kB / 0.7187 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4662/0.4685, allocations: 102 MB / 0.8183 GB, free: 28.92 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003691/0.4722, allocations: 2.847 MB / 0.8211 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002421/0.4746, allocations: 1.943 MB / 0.823 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.4747, allocations: 9.344 kB / 0.823 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.476, allocations: 477.4 kB / 0.8235 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.4763, allocations: 146.6 kB / 0.8236 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001036/0.4764, allocations: 61.69 kB / 0.8237 GB, free: 25.42 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003714/0.4768, allocations: 438.8 kB / 0.8241 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.4769, allocations: 98.52 kB / 0.8242 GB, free: 25.15 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.4772, allocations: 178.8 kB / 0.8243 GB, free: 25.06 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.4774, allocations: 155.1 kB / 0.8245 GB, free: 24.99 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.4774, allocations: 33.88 kB / 0.8245 GB, free: 24.99 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 6.778e-05/0.4775, allocations: 34.5 kB / 0.8246 GB, free: 24.99 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 9.316e-05/0.4776, allocations: 98.78 kB / 0.8246 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.4777, allocations: 177.7 kB / 0.8248 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0005229/0.4782, allocations: 0.5516 MB / 0.8254 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.4782, allocations: 0 / 0.8254 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4782, allocations: 0 / 0.8254 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.4783, allocations: 0 / 0.8254 GB, free: 24.64 MB / 0.6387 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.0009228/0.4792, allocations: 0.6452 MB / 0.826 GB, free: 24.15 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.4792, allocations: 11.72 kB / 0.826 GB, free: 24.15 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.879e-05/0.4793, allocations: 46.38 kB / 0.826 GB, free: 24.12 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.4797, allocations: 317.1 kB / 0.8263 GB, free: 23.88 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.4797, allocations: 17.28 kB / 0.8264 GB, free: 23.88 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.4798, allocations: 21.19 kB / 0.8264 GB, free: 23.87 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/0.4802, allocations: 202.2 kB / 0.8266 GB, free: 23.77 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.4802, allocations: 4.484 kB / 0.8266 GB, free: 23.77 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.4802, allocations: 12.62 kB / 0.8266 GB, free: 23.76 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.4802, allocations: 6.344 kB / 0.8266 GB, free: 23.76 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003731/0.4806, allocations: 159.2 kB / 0.8267 GB, free: 23.71 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000955/0.4815, allocations: 0.6441 MB / 0.8274 GB, free: 23.3 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.4818, allocations: 138.8 kB / 0.8275 GB, free: 23.23 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.482, allocations: 102.9 kB / 0.8276 GB, free: 23.19 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.482, allocations: 2.625 kB / 0.8276 GB, free: 23.19 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.482, allocations: 36.61 kB / 0.8276 GB, free: 23.15 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.482, allocations: 0 / 0.8276 GB, free: 23.15 MB / 0.6387 GB Notification: Performance of matching and sorting (n=18): time 0.0005619/0.4826, allocations: 253.5 kB / 0.8279 GB, free: 23.04 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/0.4826, allocations: 57.34 kB / 0.8279 GB, free: 22.97 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004088/0.483, allocations: 393.5 kB / 0.8283 GB, free: 22.77 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.483, allocations: 35.36 kB / 0.8283 GB, free: 22.73 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 9.364e-05/0.4831, allocations: 203.7 kB / 0.8285 GB, free: 22.57 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.4832, allocations: 67.97 kB / 0.8286 GB, free: 22.51 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/0.4832, allocations: 31.38 kB / 0.8286 GB, free: 22.49 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.069e-05/0.4833, allocations: 347.1 kB / 0.829 GB, free: 22.16 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.4834, allocations: 60.47 kB / 0.829 GB, free: 22.14 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.4836, allocations: 61.45 kB / 0.8291 GB, free: 22.12 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.4839, allocations: 136.3 kB / 0.8292 GB, free: 22.06 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4839, allocations: 0 / 0.8292 GB, free: 22.06 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003554/0.4842, allocations: 210.7 kB / 0.8294 GB, free: 21.95 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.4842, allocations: 6.844 kB / 0.8294 GB, free: 21.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.4842, allocations: 0 / 0.8294 GB, free: 21.95 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.4842, allocations: 1.375 kB / 0.8294 GB, free: 21.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.4845, allocations: 62.45 kB / 0.8295 GB, free: 21.94 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4845, allocations: 1.375 kB / 0.8295 GB, free: 21.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.4846, allocations: 20.39 kB / 0.8295 GB, free: 21.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.4847, allocations: 2.75 kB / 0.8295 GB, free: 21.93 MB / 0.6387 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.0001088/0.4848, allocations: 161.2 kB / 0.8297 GB, free: 21.79 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.143e-05/0.4848, allocations: 31.59 kB / 0.8297 GB, free: 21.77 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.219e-05/0.4849, allocations: 40.62 kB / 0.8297 GB, free: 21.75 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4849, allocations: 5.312 kB / 0.8297 GB, free: 21.74 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4849, allocations: 0 / 0.8297 GB, free: 21.74 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.4849, allocations: 6.547 kB / 0.8297 GB, free: 21.74 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.4852, allocations: 266.7 kB / 0.83 GB, free: 21.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4852, allocations: 0 / 0.83 GB, free: 21.55 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/0.4854, allocations: 63.92 kB / 0.8301 GB, free: 21.54 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4854, allocations: 0 / 0.8301 GB, free: 21.54 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.4855, allocations: 2.078 kB / 0.8301 GB, free: 21.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4855, allocations: 1.375 kB / 0.8301 GB, free: 21.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.4855, allocations: 3.938 kB / 0.8301 GB, free: 21.54 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005451/0.486, allocations: 383 kB / 0.8304 GB, free: 21.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.078e-05/0.4861, allocations: 42.19 kB / 0.8305 GB, free: 21.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.4861, allocations: 1.969 kB / 0.8305 GB, free: 21.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.4863, allocations: 10.3 kB / 0.8305 GB, free: 21.27 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.4863, allocations: 14.38 kB / 0.8305 GB, free: 21.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.4863, allocations: 11.08 kB / 0.8305 GB, free: 21.26 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002817/0.4866, allocations: 290 kB / 0.8308 GB, free: 21.11 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.4866, allocations: 0 / 0.8308 GB, free: 21.11 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003209/0.4869, allocations: 75.73 kB / 0.8309 GB, free: 21.1 MB / 0.6387 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.474e-05/0.487, allocations: 107.8 kB / 0.831 GB, free: 21 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003522/0.4874, allocations: 144.7 kB / 0.8311 GB, free: 20.96 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.4874, allocations: 0 / 0.8311 GB, free: 20.96 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.4875, allocations: 71.25 kB / 0.8312 GB, free: 20.94 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.488, allocations: 81.92 kB / 0.8312 GB, free: 20.91 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.4891, allocations: 0.7468 MB / 0.832 GB, free: 20.44 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.4893, allocations: 194.5 kB / 0.8322 GB, free: 20.35 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001142/0.4894, allocations: 36.28 kB / 0.8322 GB, free: 20.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.504e-05/0.4895, allocations: 22.59 kB / 0.8322 GB, free: 20.33 MB / 0.6387 GB Notification: Performance of SimCode: time 3.41e-07/0.4895, allocations: 0 / 0.8322 GB, free: 20.33 MB / 0.6387 GB Notification: Performance of Templates: time 0.008319/0.4978, allocations: 4.162 MB / 0.8363 GB, free: 19.84 MB / 0.6387 GB " [Timeout remaining time 659] 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: 6.219333151355386] Failed to read output from testmodel.py, exit status != 0: 0.5060201194137335 0.516879502 0.036063923000000005 Calling exit ...