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.001975/0.001975, allocations: 88.72 kB / 19.44 MB, free: 356 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.002658/0.002658, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.546/1.546, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.25/1.25, allocations: 154.6 MB / 414.2 MB, free: 0.6445 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 178] 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.923e-06/1.923e-06, allocations: 0 / 0.5197 GB, free: 2.465 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.526e-05/3.718e-05, allocations: 5.938 kB / 0.5197 GB, free: 2.461 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003372/0.003409, allocations: 1.427 MB / 0.5211 GB, free: 1.043 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005678/0.009087, allocations: 2.636 MB / 0.5237 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.098e-05/0.009138, allocations: 0 / 0.5237 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.72e-05/0.009166, allocations: 3.984 kB / 0.5237 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.243e-05/0.009248, allocations: 19.8 kB / 0.5237 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.005161/0.01441, allocations: 1.604 MB / 0.5253 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.01454, allocations: 43.67 kB / 0.5253 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.297e-05/0.01461, allocations: 15.95 kB / 0.5253 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.701e-05/0.01467, allocations: 15.98 kB / 0.5253 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.889e-05/0.0147, allocations: 11.94 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.01471, allocations: 0 / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003135/0.01785, allocations: 1.464 MB / 0.5268 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.01786, allocations: 3.938 kB / 0.5268 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.0179, allocations: 8 kB / 0.5268 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002816/0.02071, allocations: 1.247 MB / 0.528 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.02072, allocations: 5.938 kB / 0.528 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.192e-06/0.02072, allocations: 4 kB / 0.528 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.02073, allocations: 0 / 0.528 GB, free: 9.98 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.0009027/0.02163, allocations: 468 kB / 0.5285 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.02167, allocations: 8.031 kB / 0.5285 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.623e-05/0.02176, allocations: 82.95 kB / 0.5286 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.02194, allocations: 195.2 kB / 0.5287 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.803e-05/0.02203, allocations: 150.9 kB / 0.5289 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.621e-05/0.02212, allocations: 150.9 kB / 0.529 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.486e-05/0.02221, allocations: 105.5 kB / 0.5291 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.441e-05/0.02226, allocations: 75.47 kB / 0.5292 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.319e-05/0.02235, allocations: 158.6 kB / 0.5294 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.523e-05/0.02245, allocations: 150.6 kB / 0.5295 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.908e-05/0.02254, allocations: 155.1 kB / 0.5297 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.02292, allocations: 419.9 kB / 0.5301 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.02305, allocations: 173.2 kB / 0.5302 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.612e-05/0.0231, allocations: 80.14 kB / 0.5303 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.649e-05/0.02315, allocations: 79.22 kB / 0.5304 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.016e-05/0.02322, allocations: 109.8 kB / 0.5305 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.02322, allocations: 0 / 0.5305 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 9.949e-05/0.02332, allocations: 30.58 kB / 0.5305 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.91e-05/0.02342, allocations: 130.6 kB / 0.5306 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.0236, allocations: 139.1 kB / 0.5308 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.02362, allocations: 25.7 kB / 0.5308 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/0.02369, allocations: 92.12 kB / 0.5309 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-06/0.0237, allocations: 0 / 0.5309 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.02374, allocations: 18.84 kB / 0.5309 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.02393, allocations: 318.8 kB / 0.5312 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.68e-05/0.02395, allocations: 4 kB / 0.5312 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.932e-05/0.02397, allocations: 9 kB / 0.5312 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.24e-05/0.02401, allocations: 8.859 kB / 0.5312 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.02402, allocations: 0 / 0.5312 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001592/0.02418, allocations: 50.72 kB / 0.5313 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.02419, allocations: 6.5 kB / 0.5313 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/0.02422, allocations: 4 kB / 0.5313 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.02424, allocations: 4.75 kB / 0.5313 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.02424, allocations: 0 / 0.5313 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.02425, allocations: 4.844 kB / 0.5313 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.283e-05/0.02428, allocations: 8 kB / 0.5313 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.02429, allocations: 11.05 kB / 0.5313 GB, free: 6.461 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.0001423/0.02443, allocations: 189.1 kB / 0.5315 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.761e-05/0.02452, allocations: 108.9 kB / 0.5316 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.854e-05/0.0246, allocations: 112.8 kB / 0.5317 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001042/0.0247, allocations: 184.1 kB / 0.5319 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000104/0.0248, allocations: 176.3 kB / 0.532 GB, free: 5.672 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001163/0.02492, allocations: 188.2 kB / 0.5322 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.02522, allocations: 364.8 kB / 0.5326 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.447e-05/0.02529, allocations: 104.7 kB / 0.5327 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.528e-05/0.02535, allocations: 104.9 kB / 0.5328 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.02546, allocations: 180.3 kB / 0.5329 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.02557, allocations: 180.2 kB / 0.5331 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001013/0.02567, allocations: 180.3 kB / 0.5333 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001119/0.02578, allocations: 188.2 kB / 0.5335 GB, free: 4.129 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.026, allocations: 303.8 kB / 0.5337 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.473e-05/0.02607, allocations: 112.9 kB / 0.5339 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.02619, allocations: 184.2 kB / 0.534 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.02631, allocations: 105.3 kB / 0.5341 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.02642, allocations: 186.8 kB / 0.5343 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-05/0.02647, allocations: 101 kB / 0.5344 GB, free: 3.102 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.817e-05/0.02656, allocations: 95.27 kB / 0.5345 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.02656, allocations: 4 kB / 0.5345 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001012/0.02757, allocations: 291 kB / 0.5348 GB, free: 2.719 MB / 0.4948 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.00193/0.0295, allocations: 0.5825 MB / 0.5353 GB, free: 2.133 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.02963, allocations: 41.64 kB / 0.5354 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02963, allocations: 0.6875 kB / 0.5354 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.02963, allocations: 0.5312 kB / 0.5354 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005569/0.03019, allocations: 468.8 kB / 0.5358 GB, free: 1.629 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004188/0.03061, allocations: 228.8 kB / 0.5361 GB, free: 1.379 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.954e-05/0.03069, allocations: 69.7 kB / 0.5361 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.451e-05/0.0307, allocations: 0 / 0.5361 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.03073, allocations: 12.5 kB / 0.5361 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of SimCode: time 7.82e-07/0.03073, allocations: 0 / 0.5361 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of Templates: time 0.01399/0.04472, allocations: 5.773 MB / 0.5418 GB, free: 11.69 MB / 0.5105 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.413387783919461]