Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.001171/0.001171, allocations: 92.31 kB / 20.19 MB, free: 4.352 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.001065/0.001065, allocations: 169 kB / 23.49 MB, free: 1.047 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.9868/0.9868, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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-535:34: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-535:42: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 0.8221/0.8221, allocations: 154.8 MB / 415.1 MB, free: 496 kB / 378.7 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 179] 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.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.5207 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.255e-05, allocations: 4.422 kB / 0.5207 GB, free: 2.191 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002478/0.0025, allocations: 1.483 MB / 0.5221 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004758/0.007258, allocations: 2.818 MB / 0.5249 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.007306, allocations: 3.938 kB / 0.5249 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.796e-05/0.007333, allocations: 8.641 kB / 0.5249 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.166e-05/0.007405, allocations: 13.14 kB / 0.5249 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.01063, allocations: 1.646 MB / 0.5265 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.632e-05/0.01072, allocations: 47.67 kB / 0.5265 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.01076, allocations: 0 / 0.5265 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.377e-05/0.0108, allocations: 19.92 kB / 0.5266 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.343e-05/0.01083, allocations: 13.41 kB / 0.5266 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.01084, allocations: 4 kB / 0.5266 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.01249, allocations: 1.49 MB / 0.528 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.0125, allocations: 11.94 kB / 0.528 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.01252, allocations: 8.922 kB / 0.5281 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.01353, allocations: 1.276 MB / 0.5293 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.01353, allocations: 0 / 0.5293 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.12e-07/0.01354, allocations: 0.6562 kB / 0.5293 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.01354, allocations: 0 / 0.5293 GB, free: 9.383 MB / 0.4948 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.0003951/0.01394, allocations: 0.5733 MB / 0.5299 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.01397, allocations: 12.03 kB / 0.5299 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.01402, allocations: 126.8 kB / 0.53 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.01412, allocations: 241.9 kB / 0.5302 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.01426, allocations: 238.8 kB / 0.5305 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/0.01431, allocations: 238.8 kB / 0.5307 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.297e-05/0.01436, allocations: 149.4 kB / 0.5308 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.01439, allocations: 127.4 kB / 0.5309 GB, free: 7.633 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.01443, allocations: 242.5 kB / 0.5312 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.671e-05/0.01448, allocations: 241.5 kB / 0.5314 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.678e-05/0.01453, allocations: 246.4 kB / 0.5316 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.01473, allocations: 0.5798 MB / 0.5322 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.179e-05/0.0148, allocations: 269.4 kB / 0.5325 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.993e-05/0.01483, allocations: 126.9 kB / 0.5326 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.01485, allocations: 119.2 kB / 0.5327 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.01489, allocations: 164.6 kB / 0.5329 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.01489, allocations: 0 / 0.5329 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 5.345e-05/0.01495, allocations: 37.03 kB / 0.5329 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.01499, allocations: 178.5 kB / 0.5331 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.0151, allocations: 189.9 kB / 0.5332 GB, free: 5.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.0151, allocations: 25.7 kB / 0.5333 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.01515, allocations: 142.9 kB / 0.5334 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.01515, allocations: 0 / 0.5334 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.01518, allocations: 19.38 kB / 0.5334 GB, free: 4.977 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.688e-05/0.01527, allocations: 0.4884 MB / 0.5339 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.239e-05/0.01529, allocations: 4 kB / 0.5339 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.048e-05/0.0153, allocations: 7.5 kB / 0.5339 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.829e-05/0.01532, allocations: 11.69 kB / 0.5339 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01533, allocations: 4 kB / 0.5339 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.726e-05/0.01542, allocations: 57.59 kB / 0.534 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.01543, allocations: 6.031 kB / 0.534 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.01545, allocations: 7.984 kB / 0.534 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.01546, allocations: 0 / 0.534 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.562e-06/0.01546, allocations: 3.938 kB / 0.534 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.01547, allocations: 0 / 0.534 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.18e-05/0.01548, allocations: 2.938 kB / 0.534 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.01549, allocations: 4 kB / 0.534 GB, free: 4.367 MB / 0.4948 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 7.359e-05/0.01556, allocations: 271.8 kB / 0.5343 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.0156, allocations: 156.8 kB / 0.5344 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.01564, allocations: 160.6 kB / 0.5346 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.697e-05/0.01569, allocations: 264.1 kB / 0.5348 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.051e-05/0.01574, allocations: 268 kB / 0.5351 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-05/0.01579, allocations: 276 kB / 0.5353 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.01594, allocations: 0.496 MB / 0.5358 GB, free: 2.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.922e-05/0.01597, allocations: 152.8 kB / 0.536 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.731e-05/0.01599, allocations: 144.9 kB / 0.5361 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-05/0.01604, allocations: 264.2 kB / 0.5364 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.414e-05/0.0161, allocations: 276 kB / 0.5366 GB, free: 1.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.841e-05/0.01615, allocations: 268.1 kB / 0.5369 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.924e-05/0.0162, allocations: 268 kB / 0.5371 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.01638, allocations: 455.8 kB / 0.5376 GB, free: 0.5586 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.01642, allocations: 152.8 kB / 0.5377 GB, free: 412 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.01647, allocations: 268.1 kB / 0.538 GB, free: 136 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.831e-05/0.01653, allocations: 153.6 kB / 0.5381 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/0.01659, allocations: 276 kB / 0.5384 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.01661, allocations: 150.9 kB / 0.5385 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.622e-05/0.01666, allocations: 139.2 kB / 0.5387 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.01666, allocations: 0 / 0.5387 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000405/0.01707, allocations: 299 kB / 0.5389 GB, free: 15.12 MB / 0.5105 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.0007182/0.01778, allocations: 0.6389 MB / 0.5396 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.719e-05/0.01786, allocations: 46.88 kB / 0.5396 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01786, allocations: 0 / 0.5396 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.01786, allocations: 0 / 0.5396 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.01815, allocations: 0.7111 MB / 0.5403 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/0.0184, allocations: 283.8 kB / 0.5406 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.75e-05/0.01843, allocations: 55.36 kB / 0.5406 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.278e-06/0.01844, allocations: 1.219 kB / 0.5406 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.216e-05/0.01845, allocations: 12.5 kB / 0.5406 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of SimCode: time 8.11e-07/0.01845, allocations: 4.875 kB / 0.5406 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of Templates: time 0.006892/0.02534, allocations: 5.981 MB / 0.5465 GB, free: 7.516 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8197026289999485]