Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.75 kB / 19.94 MB, free: 4.547 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.001062/0.001062, allocations: 181 kB / 23.36 MB, free: 1.133 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.9431/0.9431, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 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-545:108: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-545:116: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 0.7278/0.7278, allocations: 154.6 MB / 414.9 MB, free: 0.5039 MB / 378.7 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 179] 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.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0.6562 kB / 480.1 MB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.667e-05, allocations: 2.312 kB / 480.1 MB, free: 6.805 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002278/0.002295, allocations: 1.484 MB / 481.6 MB, free: 5.34 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004591/0.006886, allocations: 2.791 MB / 484.4 MB, free: 2.574 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/0.006914, allocations: 0 / 484.4 MB, free: 2.574 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/0.006937, allocations: 5.25 kB / 484.4 MB, free: 2.57 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.253e-05/0.007, allocations: 15.84 kB / 484.4 MB, free: 2.555 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003508/0.01051, allocations: 1.634 MB / 486 MB, free: 0.9609 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.797e-05/0.01059, allocations: 39.73 kB / 486.1 MB, free: 0.9219 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.636e-05/0.01062, allocations: 6.531 kB / 486.1 MB, free: 0.918 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.459e-05/0.01067, allocations: 19.92 kB / 486.1 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.481e-05/0.01069, allocations: 12.61 kB / 486.1 MB, free: 0.8867 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.0107, allocations: 0 / 486.1 MB, free: 0.8867 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00176/0.01246, allocations: 1.472 MB / 487.6 MB, free: 15.41 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.01247, allocations: 4 kB / 487.6 MB, free: 15.41 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.558e-05/0.01249, allocations: 7.938 kB / 487.6 MB, free: 15.4 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009508/0.01344, allocations: 1.26 MB / 488.8 MB, free: 14.14 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.01344, allocations: 1.688 kB / 488.8 MB, free: 14.14 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01344, allocations: 0 / 488.8 MB, free: 14.14 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.855e-06/0.01345, allocations: 0 / 488.8 MB, free: 14.14 MB / 458.7 MB 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.0003239/0.01377, allocations: 446.7 kB / 489.3 MB, free: 13.68 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.678e-05/0.0138, allocations: 12.03 kB / 489.3 MB, free: 13.67 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.01383, allocations: 81.67 kB / 489.4 MB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.348e-05/0.01391, allocations: 194.7 kB / 489.6 MB, free: 13.38 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.01395, allocations: 150.9 kB / 489.7 MB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/0.01399, allocations: 154.9 kB / 489.9 MB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.798e-05/0.01402, allocations: 106.3 kB / 490 MB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.01404, allocations: 79.41 kB / 490 MB, free: 12.89 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.01407, allocations: 156.2 kB / 490.2 MB, free: 12.73 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/0.0141, allocations: 150.6 kB / 490.3 MB, free: 12.59 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.078e-05/0.01413, allocations: 154.6 kB / 490.5 MB, free: 12.43 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.01433, allocations: 361.2 kB / 490.8 MB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.975e-05/0.01438, allocations: 170.4 kB / 491 MB, free: 11.89 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.784e-05/0.0144, allocations: 84.08 kB / 491.1 MB, free: 11.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.01441, allocations: 75.28 kB / 491.2 MB, free: 11.73 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.01444, allocations: 110.7 kB / 491.3 MB, free: 11.61 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.01444, allocations: 0 / 491.3 MB, free: 11.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 3.968e-05/0.01448, allocations: 27.23 kB / 491.3 MB, free: 11.58 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.01452, allocations: 130.7 kB / 491.4 MB, free: 11.44 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.473e-05/0.0146, allocations: 136.7 kB / 491.6 MB, free: 11.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.0146, allocations: 26.67 kB / 491.6 MB, free: 11.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.454e-05/0.01463, allocations: 96.05 kB / 491.7 MB, free: 11.17 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.412e-06/0.01463, allocations: 0 / 491.7 MB, free: 11.17 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/0.01465, allocations: 18.23 kB / 491.7 MB, free: 11.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.189e-05/0.01471, allocations: 323.5 kB / 492 MB, free: 10.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.01472, allocations: 0 / 492 MB, free: 10.82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.131e-06/0.01473, allocations: 0.5 kB / 492 MB, free: 10.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.356e-05/0.01475, allocations: 12.84 kB / 492 MB, free: 10.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01475, allocations: 0.5 kB / 492 MB, free: 10.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.665e-05/0.01481, allocations: 42.62 kB / 492.1 MB, free: 10.76 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.906e-06/0.01482, allocations: 4 kB / 492.1 MB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.01483, allocations: 0.9375 kB / 492.1 MB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.01484, allocations: 1.5 kB / 492.1 MB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.935e-06/0.01484, allocations: 0 / 492.1 MB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.01485, allocations: 1.219 kB / 492.1 MB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.288e-05/0.01486, allocations: 15.83 kB / 492.1 MB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.01487, allocations: 4 kB / 492.1 MB, free: 10.73 MB / 458.7 MB 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 5.999e-05/0.01493, allocations: 181.7 kB / 492.3 MB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.01496, allocations: 110 kB / 492.4 MB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.01499, allocations: 112.8 kB / 492.5 MB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.36e-05/0.01502, allocations: 185.9 kB / 492.7 MB, free: 10.13 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-05/0.01505, allocations: 176.3 kB / 492.9 MB, free: 9.949 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.512e-05/0.01509, allocations: 188.1 kB / 493 MB, free: 9.758 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.0152, allocations: 321.5 kB / 493.3 MB, free: 9.418 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.118e-05/0.01522, allocations: 105 kB / 493.5 MB, free: 9.309 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.262e-05/0.01524, allocations: 117.5 kB / 493.6 MB, free: 9.188 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.382e-05/0.01528, allocations: 177.1 kB / 493.7 MB, free: 9.008 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.01531, allocations: 180.2 kB / 493.9 MB, free: 8.824 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-05/0.01535, allocations: 180.3 kB / 494.1 MB, free: 8.641 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.273e-05/0.01538, allocations: 181.8 kB / 494.3 MB, free: 8.457 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.577e-05/0.01545, allocations: 307.8 kB / 494.6 MB, free: 8.133 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.7e-05/0.01548, allocations: 104.9 kB / 494.7 MB, free: 8.023 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.01552, allocations: 184.3 kB / 494.9 MB, free: 7.836 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.306e-05/0.01556, allocations: 110.5 kB / 495 MB, free: 7.723 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.0156, allocations: 180.3 kB / 495.1 MB, free: 7.539 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.01562, allocations: 101.6 kB / 495.2 MB, free: 7.434 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.998e-05/0.01564, allocations: 27.02 kB / 495.3 MB, free: 7.406 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01564, allocations: 5.406 kB / 495.3 MB, free: 7.402 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003593/0.016, allocations: 295 kB / 495.6 MB, free: 7.113 MB / 458.7 MB 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.000596/0.01659, allocations: 0.5563 MB / 496.1 MB, free: 6.555 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.167e-05/0.01665, allocations: 39.94 kB / 496.2 MB, free: 6.508 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.01665, allocations: 0 / 496.2 MB, free: 6.508 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.01665, allocations: 7.938 kB / 496.2 MB, free: 6.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.01685, allocations: 464.4 kB / 496.6 MB, free: 6.043 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001861/0.01703, allocations: 232.1 kB / 496.8 MB, free: 5.793 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.683e-05/0.01706, allocations: 60.44 kB / 496.9 MB, free: 5.715 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.295e-06/0.01707, allocations: 0.8906 kB / 496.9 MB, free: 5.715 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.01711, allocations: 60.09 kB / 497 MB, free: 5.656 MB / 458.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01711, allocations: 0 / 497 MB, free: 5.656 MB / 458.7 MB Notification: Performance of Templates: time 0.00748/0.02459, allocations: 7.133 MB / 0.4923 GB, free: 14.87 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.703137888107449]