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.0008023/0.0008023, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007578/0.0007578, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8362/0.8362, allocations: 177.1 MB / 203.5 MB, free: 5.723 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-531:190: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-531:198: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.6681/0.6681, allocations: 154.6 MB / 414.5 MB, free: 0.832 MB / 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 1.923e-06/1.923e-06, allocations: 0 / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.161e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001873/0.001905, allocations: 1.436 MB / 0.6208 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003185/0.00509, allocations: 2.672 MB / 0.6234 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.6e-05/0.005166, allocations: 0 / 0.6234 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.005198, allocations: 7.922 kB / 0.6234 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.481e-05/0.005273, allocations: 11.86 kB / 0.6234 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.003821/0.009094, allocations: 1.661 MB / 0.625 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.009219, allocations: 43.67 kB / 0.6251 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.965e-05/0.009279, allocations: 11.98 kB / 0.6251 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.64e-05/0.009335, allocations: 19.92 kB / 0.6251 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.808e-05/0.009363, allocations: 11.98 kB / 0.6251 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.00938, allocations: 0 / 0.6251 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/0.01124, allocations: 1.489 MB / 0.6266 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.889e-05/0.01126, allocations: 7.922 kB / 0.6266 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.01129, allocations: 12 kB / 0.6266 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.01261, allocations: 1.27 MB / 0.6278 GB, free: 4.457 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.01261, allocations: 0 / 0.6278 GB, free: 4.457 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.793e-06/0.01261, allocations: 4 kB / 0.6278 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.01262, allocations: 0 / 0.6278 GB, free: 4.453 MB / 0.5886 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.000471/0.01309, allocations: 478.2 kB / 0.6283 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.01313, allocations: 8.031 kB / 0.6283 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.01318, allocations: 80.17 kB / 0.6284 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.01329, allocations: 203 kB / 0.6286 GB, free: 3.648 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.01333, allocations: 158.9 kB / 0.6287 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.01337, allocations: 150.9 kB / 0.6289 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.253e-05/0.01343, allocations: 105.5 kB / 0.629 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.01345, allocations: 75.47 kB / 0.629 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.01348, allocations: 154.7 kB / 0.6292 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.421e-05/0.01352, allocations: 154.6 kB / 0.6293 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.192e-05/0.01356, allocations: 154.6 kB / 0.6295 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.01376, allocations: 413.5 kB / 0.6299 GB, free: 2.27 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.495e-05/0.01382, allocations: 173.1 kB / 0.63 GB, free: 2.09 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.36e-05/0.01385, allocations: 80.14 kB / 0.6301 GB, free: 2.008 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.01387, allocations: 87.27 kB / 0.6302 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.0139, allocations: 105.8 kB / 0.6303 GB, free: 1.809 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.0139, allocations: 0 / 0.6303 GB, free: 1.809 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 6.551e-05/0.01397, allocations: 37.59 kB / 0.6303 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.01401, allocations: 130.6 kB / 0.6305 GB, free: 1.625 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.01413, allocations: 137.7 kB / 0.6306 GB, free: 1.48 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.01414, allocations: 29.7 kB / 0.6306 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.01418, allocations: 88.12 kB / 0.6307 GB, free: 1.355 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-06/0.01419, allocations: 0 / 0.6307 GB, free: 1.355 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.01422, allocations: 21.72 kB / 0.6307 GB, free: 1.328 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.677e-05/0.01429, allocations: 314.8 kB / 0.631 GB, free: 1.012 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/0.01432, allocations: 15.88 kB / 0.631 GB, free: 0.9961 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.267e-05/0.01433, allocations: 4 kB / 0.631 GB, free: 0.9922 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.437e-05/0.01437, allocations: 12.86 kB / 0.6311 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01437, allocations: 0 / 0.6311 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001161/0.01448, allocations: 53.59 kB / 0.6311 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.0145, allocations: 8.062 kB / 0.6311 GB, free: 0.9102 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.01452, allocations: 7.984 kB / 0.6311 GB, free: 0.9023 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.01453, allocations: 3.938 kB / 0.6311 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.773e-06/0.01453, allocations: 4.062 kB / 0.6311 GB, free: 0.8945 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.01454, allocations: 4 kB / 0.6311 GB, free: 0.8906 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.576e-05/0.01455, allocations: 0 / 0.6311 GB, free: 0.8906 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.01456, allocations: 0 / 0.6311 GB, free: 0.8906 MB / 0.5886 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.07e-05/0.01463, allocations: 186.1 kB / 0.6313 GB, free: 0.6992 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.01467, allocations: 108.9 kB / 0.6314 GB, free: 0.5859 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.582e-05/0.0147, allocations: 116.7 kB / 0.6315 GB, free: 476 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-05/0.01474, allocations: 184.2 kB / 0.6317 GB, free: 284 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.014e-05/0.01478, allocations: 184.2 kB / 0.6319 GB, free: 92 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.594e-05/0.01485, allocations: 176.3 kB / 0.632 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.01498, allocations: 364.9 kB / 0.6324 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.416e-05/0.015, allocations: 108.9 kB / 0.6325 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.193e-05/0.01502, allocations: 105 kB / 0.6326 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.062e-05/0.01506, allocations: 180.2 kB / 0.6328 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/0.01511, allocations: 176.3 kB / 0.6329 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.044e-05/0.01515, allocations: 184.3 kB / 0.6331 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.105e-05/0.01519, allocations: 188.2 kB / 0.6333 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.01537, allocations: 315.7 kB / 0.6336 GB, free: 14.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.002e-05/0.0154, allocations: 108.9 kB / 0.6337 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.661e-05/0.01544, allocations: 184.3 kB / 0.6339 GB, free: 13.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.881e-05/0.01549, allocations: 109.2 kB / 0.634 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.01553, allocations: 180.2 kB / 0.6341 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.01556, allocations: 109 kB / 0.6342 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.484e-05/0.01561, allocations: 97.77 kB / 0.6343 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.01561, allocations: 0 / 0.6343 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005355/0.01614, allocations: 299 kB / 0.6346 GB, free: 13.12 MB / 0.6042 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.0008567/0.017, allocations: 0.587 MB / 0.6352 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.01711, allocations: 45.69 kB / 0.6352 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.01711, allocations: 0 / 0.6352 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.01711, allocations: 0 / 0.6352 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.01739, allocations: 455.7 kB / 0.6357 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/0.01768, allocations: 261.7 kB / 0.6359 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.323e-05/0.01772, allocations: 67.28 kB / 0.636 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.38e-05/0.01773, allocations: 12.5 kB / 0.636 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of SimCode: time 6.31e-07/0.01773, allocations: 0 / 0.636 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of Templates: time 0.005537/0.02327, allocations: 4.993 MB / 0.6409 GB, free: 6.641 MB / 0.6042 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.289326026104391] Failed to read output from testmodel.py, exit status != 0: 0.02948750276118517 0.037529935 0.023073277000000003 Calling exit ...