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.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.0008903/0.0008903, allocations: 100.4 kB / 19.7 MB, free: 452 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.0007324/0.0007324, allocations: 213.2 kB / 23 MB, free: 2.98 MB / 13.93 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.8809/0.8809, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.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.7253/0.7253, allocations: 203.8 MB / 0.5049 GB, free: 10.43 MB / 410.7 MB " [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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009187/0.0009187, allocations: 70.23 kB / 0.7195 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5101/0.5111, allocations: 102 MB / 0.8191 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001791/0.5129, allocations: 1.449 MB / 0.8205 GB, free: 332 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00318/0.516, allocations: 2.687 MB / 0.8231 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.5161, allocations: 0 / 0.8231 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.335e-05/0.5161, allocations: 6.266 kB / 0.8231 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.503e-05/0.5161, allocations: 15.09 kB / 0.8231 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.5188, allocations: 1.647 MB / 0.8248 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.545e-05/0.5189, allocations: 42.31 kB / 0.8248 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.546e-05/0.5189, allocations: 2.031 kB / 0.8248 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.482e-05/0.519, allocations: 14.05 kB / 0.8248 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.461e-05/0.519, allocations: 17.84 kB / 0.8248 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.519, allocations: 1.375 kB / 0.8248 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.5207, allocations: 1.487 MB / 0.8263 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.5207, allocations: 2.5 kB / 0.8263 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.5207, allocations: 24.89 kB / 0.8263 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.5219, allocations: 1.099 MB / 0.8274 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5219, allocations: 0 / 0.8274 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.003e-06/0.5219, allocations: 0 / 0.8274 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.5219, allocations: 1.156 kB / 0.8274 GB, free: 13.1 MB / 0.6198 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.0004995/0.5224, allocations: 474 kB / 0.8278 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.5224, allocations: 10.47 kB / 0.8278 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.5225, allocations: 78.53 kB / 0.8279 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.669e-05/0.5226, allocations: 196.9 kB / 0.8281 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.5226, allocations: 156.3 kB / 0.8283 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.5227, allocations: 156.5 kB / 0.8284 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.055e-05/0.5227, allocations: 115.4 kB / 0.8285 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.5227, allocations: 75.28 kB / 0.8286 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.5228, allocations: 150.6 kB / 0.8287 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/0.5228, allocations: 155.9 kB / 0.8289 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.669e-05/0.5228, allocations: 152.6 kB / 0.829 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.523, allocations: 416.5 kB / 0.8294 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.981e-05/0.5231, allocations: 170.5 kB / 0.8296 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.185e-05/0.5231, allocations: 81.8 kB / 0.8297 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.5231, allocations: 75.98 kB / 0.8297 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.5231, allocations: 108.1 kB / 0.8298 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.5231, allocations: 7.938 kB / 0.8298 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.783e-05/0.5232, allocations: 45.36 kB / 0.8299 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.5232, allocations: 128.1 kB / 0.83 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.5234, allocations: 130.8 kB / 0.8301 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.5234, allocations: 25.7 kB / 0.8302 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/0.5234, allocations: 97.02 kB / 0.8303 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.5234, allocations: 0 / 0.8303 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.5234, allocations: 16.86 kB / 0.8303 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.469e-05/0.5235, allocations: 319.1 kB / 0.8306 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.087e-05/0.5235, allocations: 7.75 kB / 0.8306 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.336e-05/0.5235, allocations: 4.703 kB / 0.8306 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.166e-05/0.5236, allocations: 19.05 kB / 0.8306 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5236, allocations: 0 / 0.8306 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.899e-05/0.5237, allocations: 55.03 kB / 0.8307 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.5237, allocations: 9.062 kB / 0.8307 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.5237, allocations: 3.625 kB / 0.8307 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.5237, allocations: 0 / 0.8307 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.5237, allocations: 1 kB / 0.8307 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.5237, allocations: 0.6094 kB / 0.8307 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.498e-05/0.5237, allocations: 0.9375 kB / 0.8307 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.5237, allocations: 1.219 kB / 0.8307 GB, free: 9.77 MB / 0.6198 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 6.231e-05/0.5238, allocations: 189.3 kB / 0.8309 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.5238, allocations: 113.2 kB / 0.831 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.66e-05/0.5239, allocations: 115.5 kB / 0.8311 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.729e-05/0.5239, allocations: 179.2 kB / 0.8312 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.939e-05/0.524, allocations: 190.2 kB / 0.8314 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.661e-05/0.524, allocations: 178.1 kB / 0.8316 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.5241, allocations: 365.9 kB / 0.8319 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.273e-05/0.5241, allocations: 105.7 kB / 0.832 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.252e-05/0.5242, allocations: 107 kB / 0.8321 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.673e-05/0.5242, allocations: 183 kB / 0.8323 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.5242, allocations: 186.5 kB / 0.8325 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.634e-05/0.5243, allocations: 178.2 kB / 0.8327 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.864e-05/0.5243, allocations: 182.5 kB / 0.8328 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.853e-05/0.5244, allocations: 311.5 kB / 0.8331 GB, free: 7.137 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/0.5244, allocations: 109.2 kB / 0.8332 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.557e-05/0.5245, allocations: 188.3 kB / 0.8334 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.361e-05/0.5245, allocations: 104.9 kB / 0.8335 GB, free: 6.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.5246, allocations: 179.4 kB / 0.8337 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.5246, allocations: 106.4 kB / 0.8338 GB, free: 6.441 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.553e-05/0.5246, allocations: 101.4 kB / 0.8339 GB, free: 6.359 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5246, allocations: 0 / 0.8339 GB, free: 6.359 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004498/0.5251, allocations: 311 kB / 0.8342 GB, free: 6.27 MB / 0.6198 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.0008126/0.5259, allocations: 0.5482 MB / 0.8347 GB, free: 5.996 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.89e-05/0.526, allocations: 35.34 kB / 0.8348 GB, free: 5.965 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.526, allocations: 0.5938 kB / 0.8348 GB, free: 5.965 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.325e-06/0.526, allocations: 5.359 kB / 0.8348 GB, free: 5.961 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.5263, allocations: 464.1 kB / 0.8352 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.5266, allocations: 264.8 kB / 0.8355 GB, free: 5.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.543e-05/0.5267, allocations: 67.22 kB / 0.8355 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.326e-05/0.5267, allocations: 9.531 kB / 0.8355 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.5267, allocations: 0 / 0.8355 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of Templates: time 0.006388/0.5331, allocations: 4.951 MB / 0.8404 GB, free: 3.797 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.342963343951851] Failed to read output from testmodel.py, exit status != 0: 0.5386655228212476 0.547474878 0.023731665000000002 Calling exit ...