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.001095/0.001095, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001571/0.001571, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9914/0.9914, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.7387/0.7387, allocations: 154.6 MB / 415.6 MB, free: 0.5234 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.673e-06/1.673e-06, allocations: 0 / 0.5216 GB, free: 1.836 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.779e-05, allocations: 4.281 kB / 0.5216 GB, free: 1.832 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002163/0.002191, allocations: 1.466 MB / 0.5231 GB, free: 384 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003379/0.00557, allocations: 2.734 MB / 0.5257 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.005624, allocations: 0 / 0.5257 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.137e-05/0.005645, allocations: 11.92 kB / 0.5257 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.577e-05/0.005701, allocations: 11.86 kB / 0.5258 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002992/0.008693, allocations: 1.61 MB / 0.5273 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.807e-05/0.008771, allocations: 43.62 kB / 0.5274 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.721e-05/0.008808, allocations: 15 kB / 0.5274 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.788e-05/0.008846, allocations: 15.98 kB / 0.5274 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 1.902e-05/0.008865, allocations: 7.938 kB / 0.5274 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.008876, allocations: 4 kB / 0.5274 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.01057, allocations: 1.462 MB / 0.5288 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.01058, allocations: 4 kB / 0.5288 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.01063, allocations: 11.94 kB / 0.5289 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.01234, allocations: 1.252 MB / 0.5301 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.01235, allocations: 0 / 0.5301 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.123e-06/0.01235, allocations: 0 / 0.5301 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.01235, allocations: 0 / 0.5301 GB, free: 9.211 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.0007481/0.0131, allocations: 0.5623 MB / 0.5306 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.01314, allocations: 8.031 kB / 0.5306 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.229e-05/0.01321, allocations: 128.1 kB / 0.5308 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.01336, allocations: 242 kB / 0.531 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.286e-05/0.01343, allocations: 240 kB / 0.5312 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.42e-05/0.0135, allocations: 246.7 kB / 0.5315 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.581e-05/0.01358, allocations: 145.5 kB / 0.5316 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.833e-05/0.01362, allocations: 119.9 kB / 0.5317 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.32e-05/0.01369, allocations: 242.5 kB / 0.5319 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.422e-05/0.01376, allocations: 239.1 kB / 0.5322 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.126e-05/0.01383, allocations: 246.4 kB / 0.5324 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002873/0.01412, allocations: 0.5717 MB / 0.533 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.01423, allocations: 273.3 kB / 0.5332 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.882e-05/0.01426, allocations: 126.9 kB / 0.5333 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.0143, allocations: 119.2 kB / 0.5335 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.711e-05/0.01437, allocations: 156.6 kB / 0.5336 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.01437, allocations: 0 / 0.5336 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 5.411e-05/0.01443, allocations: 29.64 kB / 0.5336 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.01448, allocations: 174.6 kB / 0.5338 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.01458, allocations: 196.2 kB / 0.534 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.01459, allocations: 25.7 kB / 0.534 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.01465, allocations: 142.8 kB / 0.5341 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.213e-06/0.01465, allocations: 0 / 0.5341 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.01468, allocations: 23.36 kB / 0.5342 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.0148, allocations: 0.4884 MB / 0.5346 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.115e-05/0.01481, allocations: 0 / 0.5346 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.755e-05/0.01482, allocations: 5.125 kB / 0.5346 GB, free: 4.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.565e-05/0.01486, allocations: 11.69 kB / 0.5347 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.01486, allocations: 0 / 0.5347 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.26e-05/0.01494, allocations: 51.11 kB / 0.5347 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.01496, allocations: 4 kB / 0.5347 GB, free: 4.266 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.01497, allocations: 4 kB / 0.5347 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/0.01498, allocations: 1.938 kB / 0.5347 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.01498, allocations: 0 / 0.5347 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.01499, allocations: 3.938 kB / 0.5347 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.583e-05/0.015, allocations: 8 kB / 0.5347 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.01501, allocations: 0 / 0.5347 GB, free: 4.25 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 8.989e-05/0.0151, allocations: 278.2 kB / 0.535 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.01515, allocations: 156.9 kB / 0.5351 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.278e-05/0.0152, allocations: 164.7 kB / 0.5353 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-05/0.01526, allocations: 264.1 kB / 0.5356 GB, free: 3.379 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-05/0.01531, allocations: 268 kB / 0.5358 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.815e-05/0.01538, allocations: 276 kB / 0.5361 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.01554, allocations: 484.6 kB / 0.5365 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-05/0.01558, allocations: 154.7 kB / 0.5367 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.947e-05/0.01561, allocations: 148.9 kB / 0.5368 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001747/0.01579, allocations: 272 kB / 0.5371 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-05/0.01584, allocations: 264.1 kB / 0.5373 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.2e-05/0.01591, allocations: 273.3 kB / 0.5376 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-05/0.01596, allocations: 268 kB / 0.5379 GB, free: 0.9336 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.01608, allocations: 455.9 kB / 0.5383 GB, free: 472 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.01613, allocations: 148.8 kB / 0.5384 GB, free: 316 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-05/0.01618, allocations: 269.8 kB / 0.5387 GB, free: 40 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.886e-05/0.01626, allocations: 148.8 kB / 0.5388 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.01633, allocations: 264.1 kB / 0.5391 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.055e-05/0.01637, allocations: 160.8 kB / 0.5392 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.124e-05/0.01642, allocations: 144.6 kB / 0.5394 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.01642, allocations: 0.625 kB / 0.5394 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007284/0.01715, allocations: 291.9 kB / 0.5397 GB, free: 15.03 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.0008477/0.01799, allocations: 0.6189 MB / 0.5403 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.466e-05/0.01808, allocations: 55.75 kB / 0.5403 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01808, allocations: 0 / 0.5403 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.01808, allocations: 0 / 0.5403 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.01842, allocations: 0.7064 MB / 0.541 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.01871, allocations: 290.6 kB / 0.5413 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.835e-05/0.01874, allocations: 51.36 kB / 0.5413 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.242e-05/0.01875, allocations: 1.156 kB / 0.5413 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.214e-05/0.0188, allocations: 78.19 kB / 0.5414 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of SimCode: time 9.22e-07/0.0188, allocations: 0 / 0.5414 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of Templates: time 0.00975/0.02855, allocations: 7.173 MB / 0.5484 GB, free: 6.191 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=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: 4.131083055399358]