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.0009175/0.0009175, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0008863/0.0008863, allocations: 169 kB / 23.02 MB, free: 1.543 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.9163/0.9163, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.7341/0.7341, allocations: 154.9 MB / 414.8 MB, free: 384 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.033e-06/2.033e-06, allocations: 0 / 0.5208 GB, free: 1.688 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.245e-05, allocations: 4.422 kB / 0.5208 GB, free: 1.684 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002097/0.002129, allocations: 1.488 MB / 0.5222 GB, free: 216 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003486/0.005615, allocations: 2.831 MB / 0.525 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.071e-05/0.005676, allocations: 0 / 0.525 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.005705, allocations: 4.625 kB / 0.525 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.388e-05/0.005779, allocations: 23.78 kB / 0.525 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.005654/0.01143, allocations: 1.64 MB / 0.5266 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.01157, allocations: 47.67 kB / 0.5267 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.01162, allocations: 4 kB / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.771e-05/0.01167, allocations: 19.91 kB / 0.5267 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.939e-05/0.0117, allocations: 15.98 kB / 0.5267 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.01172, allocations: 6.438 kB / 0.5267 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002631/0.01435, allocations: 1.497 MB / 0.5282 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.01437, allocations: 0 / 0.5282 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.01441, allocations: 11.94 kB / 0.5282 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001902/0.01631, allocations: 1.288 MB / 0.5294 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.01632, allocations: 1.094 kB / 0.5294 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.653e-06/0.01632, allocations: 0 / 0.5294 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.01632, allocations: 0 / 0.5294 GB, free: 8.844 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.0006044/0.01693, allocations: 0.5579 MB / 0.53 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.01698, allocations: 12.02 kB / 0.53 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.5e-05/0.01706, allocations: 129.2 kB / 0.5301 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.01719, allocations: 238.4 kB / 0.5304 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.02e-05/0.01726, allocations: 242.8 kB / 0.5306 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.509e-05/0.01732, allocations: 239.4 kB / 0.5308 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.295e-05/0.0174, allocations: 149.4 kB / 0.531 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/0.01743, allocations: 126.1 kB / 0.5311 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.807e-05/0.01749, allocations: 246.5 kB / 0.5313 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.502e-05/0.01754, allocations: 238.4 kB / 0.5315 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.597e-05/0.0176, allocations: 238.4 kB / 0.5318 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.01786, allocations: 0.5837 MB / 0.5323 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.892e-05/0.01795, allocations: 269.4 kB / 0.5326 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.01799, allocations: 126.9 kB / 0.5327 GB, free: 5.375 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.01802, allocations: 122.2 kB / 0.5328 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.01807, allocations: 164.5 kB / 0.533 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.01807, allocations: 0 / 0.533 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 6.503e-05/0.01813, allocations: 29.66 kB / 0.533 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.0182, allocations: 182.5 kB / 0.5332 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.01833, allocations: 189.9 kB / 0.5334 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.01834, allocations: 25.7 kB / 0.5334 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.01839, allocations: 134.9 kB / 0.5335 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.01839, allocations: 5.5 kB / 0.5335 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.01842, allocations: 27.3 kB / 0.5336 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.01854, allocations: 496.1 kB / 0.534 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.116e-05/0.01856, allocations: 4 kB / 0.534 GB, free: 3.949 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.299e-05/0.01857, allocations: 5.188 kB / 0.534 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.12e-05/0.01861, allocations: 19.73 kB / 0.5341 GB, free: 3.922 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.01862, allocations: 4 kB / 0.5341 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000118/0.01874, allocations: 46.25 kB / 0.5341 GB, free: 3.867 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.01875, allocations: 4.719 kB / 0.5341 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.01877, allocations: 4 kB / 0.5341 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.01878, allocations: 1.5 kB / 0.5341 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.218e-06/0.01879, allocations: 3.938 kB / 0.5341 GB, free: 3.855 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.01879, allocations: 3.938 kB / 0.5341 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.474e-05/0.01881, allocations: 0 / 0.5341 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.01882, allocations: 4.969 kB / 0.5341 GB, free: 3.848 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 0.0001037/0.01892, allocations: 279.8 kB / 0.5344 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.01898, allocations: 157.4 kB / 0.5345 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.312e-05/0.01902, allocations: 148.7 kB / 0.5347 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.899e-05/0.01908, allocations: 272.6 kB / 0.5349 GB, free: 2.977 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-05/0.01914, allocations: 276.7 kB / 0.5352 GB, free: 2.699 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-05/0.01921, allocations: 268 kB / 0.5355 GB, free: 2.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.01939, allocations: 0.4926 MB / 0.5359 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.912e-05/0.01943, allocations: 150.4 kB / 0.5361 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.01947, allocations: 148.8 kB / 0.5362 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.508e-05/0.01953, allocations: 272.2 kB / 0.5365 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.976e-05/0.0196, allocations: 276 kB / 0.5368 GB, free: 1.039 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.87e-05/0.01967, allocations: 266 kB / 0.537 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.927e-05/0.01974, allocations: 268 kB / 0.5373 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.01989, allocations: 455.9 kB / 0.5377 GB, free: 32 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.01995, allocations: 160.7 kB / 0.5379 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.555e-05/0.02003, allocations: 264.1 kB / 0.5381 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.803e-05/0.02009, allocations: 148.8 kB / 0.5382 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/0.02016, allocations: 278.5 kB / 0.5385 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.0202, allocations: 148.9 kB / 0.5387 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.003e-05/0.02026, allocations: 141 kB / 0.5388 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.02026, allocations: 0 / 0.5388 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006019/0.02086, allocations: 302.9 kB / 0.5391 GB, free: 14.59 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.0008874/0.02175, allocations: 0.6346 MB / 0.5397 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.02185, allocations: 50.33 kB / 0.5397 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02185, allocations: 0 / 0.5397 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-06/0.02185, allocations: 0.7188 kB / 0.5397 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.0222, allocations: 0.7125 MB / 0.5404 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/0.0225, allocations: 277.1 kB / 0.5407 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.452e-05/0.02254, allocations: 59.34 kB / 0.5408 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.557e-05/0.02255, allocations: 2.219 kB / 0.5408 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.774e-05/0.02257, allocations: 12.5 kB / 0.5408 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of SimCode: time 6.61e-07/0.02257, allocations: 0 / 0.5408 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of Templates: time 0.01032/0.03289, allocations: 8.046 MB / 0.5486 GB, free: 4.914 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.8850272707641125]