Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.001875/0.001875, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001581/0.001581, allocations: 168.3 kB / 22.46 MB, free: 5.359 MB / 14.72 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.444/1.444, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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-531:686: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-531:694: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.237/1.237, allocations: 154.6 MB / 413.8 MB, free: 5.223 MB / 382.1 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.6187 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.755e-05, allocations: 3.484 kB / 0.6187 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003016/0.003044, allocations: 1.43 MB / 0.6201 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004988/0.008032, allocations: 2.691 MB / 0.6227 GB, free: 308 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.242e-05/0.008085, allocations: 0 / 0.6227 GB, free: 308 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.941e-05/0.008114, allocations: 7.922 kB / 0.6227 GB, free: 300 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.432e-05/0.008178, allocations: 11.92 kB / 0.6227 GB, free: 288 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004746/0.01292, allocations: 1.65 MB / 0.6243 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.01307, allocations: 43.67 kB / 0.6244 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.81e-05/0.01312, allocations: 11.92 kB / 0.6244 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.15e-05/0.01318, allocations: 23.92 kB / 0.6244 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.433e-05/0.01321, allocations: 15.98 kB / 0.6244 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.01323, allocations: 0 / 0.6244 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003157/0.01638, allocations: 1.489 MB / 0.6259 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.01641, allocations: 7.938 kB / 0.6259 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.01645, allocations: 8 kB / 0.6259 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.01897, allocations: 1.274 MB / 0.6271 GB, free: 11.78 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.01897, allocations: 0 / 0.6271 GB, free: 11.78 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.01897, allocations: 0 / 0.6271 GB, free: 11.78 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.01898, allocations: 4 kB / 0.6271 GB, free: 11.78 MB / 0.545 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.0008032/0.01979, allocations: 472 kB / 0.6276 GB, free: 11.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.01983, allocations: 8.031 kB / 0.6276 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.046e-05/0.0199, allocations: 80.22 kB / 0.6277 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.02007, allocations: 196.9 kB / 0.6279 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.937e-05/0.02015, allocations: 150.9 kB / 0.628 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.382e-05/0.02023, allocations: 154.9 kB / 0.6282 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.637e-05/0.02031, allocations: 105.5 kB / 0.6283 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.77e-05/0.02035, allocations: 75.47 kB / 0.6283 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-05/0.02045, allocations: 154.7 kB / 0.6285 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.823e-05/0.02052, allocations: 162.5 kB / 0.6286 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.335e-05/0.0206, allocations: 158.6 kB / 0.6288 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.02095, allocations: 409.6 kB / 0.6292 GB, free: 9.598 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.02106, allocations: 173.1 kB / 0.6293 GB, free: 9.418 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.02111, allocations: 80.14 kB / 0.6294 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.02114, allocations: 75.28 kB / 0.6295 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.497e-05/0.0212, allocations: 109.8 kB / 0.6296 GB, free: 9.145 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.02121, allocations: 0 / 0.6296 GB, free: 9.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.351e-05/0.02129, allocations: 37.59 kB / 0.6296 GB, free: 9.102 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.721e-05/0.02138, allocations: 130.6 kB / 0.6297 GB, free: 8.961 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.02154, allocations: 136.2 kB / 0.6299 GB, free: 8.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.02156, allocations: 29.7 kB / 0.6299 GB, free: 8.785 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.02163, allocations: 96.11 kB / 0.63 GB, free: 8.688 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.02164, allocations: 4 kB / 0.63 GB, free: 8.684 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.02167, allocations: 13.72 kB / 0.63 GB, free: 8.664 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.02184, allocations: 318.8 kB / 0.6303 GB, free: 8.344 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.112e-05/0.02187, allocations: 4 kB / 0.6303 GB, free: 8.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.039e-05/0.02189, allocations: 11.94 kB / 0.6303 GB, free: 8.328 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.691e-05/0.02194, allocations: 16.8 kB / 0.6304 GB, free: 8.309 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.02194, allocations: 0 / 0.6304 GB, free: 8.309 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001526/0.02209, allocations: 53.64 kB / 0.6304 GB, free: 8.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.02211, allocations: 8 kB / 0.6304 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.02213, allocations: 8.062 kB / 0.6304 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.02215, allocations: 3.938 kB / 0.6304 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.02215, allocations: 0 / 0.6304 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.02215, allocations: 0 / 0.6304 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.76e-05/0.02218, allocations: 3.938 kB / 0.6304 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.02219, allocations: 3.984 kB / 0.6304 GB, free: 8.223 MB / 0.545 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.0001249/0.02232, allocations: 186.1 kB / 0.6306 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.778e-05/0.02239, allocations: 112.9 kB / 0.6307 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.338e-05/0.02248, allocations: 108.8 kB / 0.6308 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.64e-05/0.02257, allocations: 192.1 kB / 0.631 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-05/0.02267, allocations: 180.3 kB / 0.6312 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.941e-05/0.02277, allocations: 176.3 kB / 0.6313 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.02305, allocations: 368.8 kB / 0.6317 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.607e-05/0.02312, allocations: 105 kB / 0.6318 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.714e-05/0.02317, allocations: 112.9 kB / 0.6319 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.823e-05/0.02326, allocations: 180.2 kB / 0.6321 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.921e-05/0.02335, allocations: 180.3 kB / 0.6322 GB, free: 6.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.996e-05/0.02344, allocations: 184.2 kB / 0.6324 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-05/0.02353, allocations: 184.2 kB / 0.6326 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.02371, allocations: 311.7 kB / 0.6329 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.02377, allocations: 109.2 kB / 0.633 GB, free: 5.434 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.02388, allocations: 188.2 kB / 0.6332 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.02398, allocations: 101 kB / 0.6333 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.0241, allocations: 192.2 kB / 0.6335 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-05/0.02417, allocations: 101 kB / 0.6336 GB, free: 4.836 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.334e-05/0.02425, allocations: 99.27 kB / 0.6336 GB, free: 4.738 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.02425, allocations: 0 / 0.6336 GB, free: 4.738 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009575/0.02521, allocations: 298.9 kB / 0.6339 GB, free: 4.445 MB / 0.545 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.001479/0.02669, allocations: 0.5918 MB / 0.6345 GB, free: 3.848 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001237/0.02681, allocations: 45.62 kB / 0.6346 GB, free: 3.797 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.02681, allocations: 0 / 0.6346 GB, free: 3.797 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.02681, allocations: 0 / 0.6346 GB, free: 3.797 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.02728, allocations: 462.2 kB / 0.635 GB, free: 3.344 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.02765, allocations: 235.9 kB / 0.6352 GB, free: 3.086 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.861e-05/0.02772, allocations: 63.34 kB / 0.6353 GB, free: 3.004 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.165e-05/0.02773, allocations: 3.938 kB / 0.6353 GB, free: 3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.544e-05/0.02775, allocations: 12.5 kB / 0.6353 GB, free: 2.988 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.02775, allocations: 0 / 0.6353 GB, free: 2.988 MB / 0.545 GB Notification: Performance of Templates: time 0.01189/0.03963, allocations: 5.889 MB / 0.641 GB, free: 13.16 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.16431276127696] Failed to read output from testmodel.py, exit status != 0: 0.04917681962251663 0.065523699 0.042868726 Calling exit ...