Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001552/0.001552, allocations: 116.3 kB / 17.84 MB, free: 5.312 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.001682/0.001682, allocations: 203.2 kB / 20.8 MB, free: 2.371 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.538/1.538, allocations: 230.6 MB / 254.2 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9901/0.9901, allocations: 150 MB / 460.2 MB, free: 5.234 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002046/0.002046, allocations: 69.56 kB / 0.6369 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1873, allocations: 89.14 MB / 0.7239 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002828/0.1901, allocations: 1.448 MB / 0.7253 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005124/0.1952, allocations: 2.971 MB / 0.7282 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.1953, allocations: 0 / 0.7282 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.1953, allocations: 3.938 kB / 0.7282 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.764e-05/0.1954, allocations: 23.84 kB / 0.7283 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004774/0.2002, allocations: 1.643 MB / 0.7299 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.2003, allocations: 43.67 kB / 0.7299 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.994e-05/0.2003, allocations: 4 kB / 0.7299 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.737e-05/0.2004, allocations: 19.92 kB / 0.7299 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.071e-05/0.2004, allocations: 7.938 kB / 0.7299 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.2004, allocations: 7.938 kB / 0.73 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003356/0.2038, allocations: 1.603 MB / 0.7315 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.2038, allocations: 7.984 kB / 0.7315 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.2039, allocations: 19.88 kB / 0.7315 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.2061, allocations: 1.13 MB / 0.7326 GB, free: 11.06 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2061, allocations: 0 / 0.7326 GB, free: 11.06 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2061, allocations: 0 / 0.7326 GB, free: 11.06 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.2061, allocations: 0 / 0.7326 GB, free: 11.06 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.0009117/0.207, allocations: 0.5518 MB / 0.7332 GB, free: 10.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/0.2071, allocations: 8.031 kB / 0.7332 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.576e-05/0.2071, allocations: 79.47 kB / 0.7333 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.111e-05/0.2072, allocations: 106 kB / 0.7334 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.222e-05/0.2073, allocations: 84.17 kB / 0.7335 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.2076, allocations: 255.3 kB / 0.7337 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.48e-05/0.2077, allocations: 150.6 kB / 0.7338 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.2078, allocations: 154.5 kB / 0.734 GB, free: 9.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.2079, allocations: 109 kB / 0.7341 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.736e-05/0.2079, allocations: 79.28 kB / 0.7342 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.67e-05/0.208, allocations: 162.4 kB / 0.7343 GB, free: 9.238 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.576e-05/0.2081, allocations: 150.6 kB / 0.7345 GB, free: 9.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.574e-05/0.2082, allocations: 150.6 kB / 0.7346 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.2087, allocations: 469.9 kB / 0.7351 GB, free: 8.434 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.2088, allocations: 165.1 kB / 0.7352 GB, free: 8.262 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.056e-05/0.2089, allocations: 80.14 kB / 0.7353 GB, free: 8.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.818e-05/0.209, allocations: 79.22 kB / 0.7354 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.316e-05/0.2091, allocations: 109.8 kB / 0.7355 GB, free: 7.984 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.2091, allocations: 4 kB / 0.7355 GB, free: 7.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001136/0.2092, allocations: 29.66 kB / 0.7355 GB, free: 7.945 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.2093, allocations: 130.7 kB / 0.7356 GB, free: 7.805 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.2095, allocations: 144.2 kB / 0.7358 GB, free: 7.656 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.2095, allocations: 25.7 kB / 0.7358 GB, free: 7.625 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/0.2096, allocations: 92.14 kB / 0.7359 GB, free: 7.531 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-06/0.2096, allocations: 0 / 0.7359 GB, free: 7.531 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.2097, allocations: 13.72 kB / 0.7359 GB, free: 7.512 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002057/0.2099, allocations: 326.8 kB / 0.7362 GB, free: 7.184 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.176e-05/0.2099, allocations: 4 kB / 0.7362 GB, free: 7.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.581e-05/0.2099, allocations: 11.94 kB / 0.7362 GB, free: 7.168 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.569e-05/0.21, allocations: 16.86 kB / 0.7362 GB, free: 7.148 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.21, allocations: 0 / 0.7362 GB, free: 7.148 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001673/0.2102, allocations: 49.64 kB / 0.7363 GB, free: 7.094 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.2102, allocations: 8 kB / 0.7363 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-05/0.2102, allocations: 4 kB / 0.7363 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.2102, allocations: 0 / 0.7363 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.587e-06/0.2102, allocations: 8.125 kB / 0.7363 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2102, allocations: 3.938 kB / 0.7363 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.842e-05/0.2103, allocations: 3.953 kB / 0.7363 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.2103, allocations: 0 / 0.7363 GB, free: 7.066 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.0001691/0.2104, allocations: 189.1 kB / 0.7365 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.657e-05/0.2105, allocations: 112.9 kB / 0.7366 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.865e-05/0.2106, allocations: 108.9 kB / 0.7367 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001093/0.2107, allocations: 184.2 kB / 0.7369 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001061/0.2108, allocations: 180.3 kB / 0.737 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001113/0.2109, allocations: 180.2 kB / 0.7372 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.2113, allocations: 421.1 kB / 0.7376 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.47e-05/0.2114, allocations: 101 kB / 0.7377 GB, free: 5.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.887e-05/0.2114, allocations: 104.9 kB / 0.7378 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/0.2116, allocations: 180.3 kB / 0.738 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/0.2117, allocations: 188.3 kB / 0.7382 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.741e-05/0.2118, allocations: 180.2 kB / 0.7383 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001049/0.2119, allocations: 176.3 kB / 0.7385 GB, free: 4.664 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.2122, allocations: 323.6 kB / 0.7388 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.2123, allocations: 190 kB / 0.739 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.2125, allocations: 176.3 kB / 0.7392 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.2126, allocations: 105 kB / 0.7393 GB, free: 3.824 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.2127, allocations: 184.2 kB / 0.7394 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.328e-05/0.2128, allocations: 109 kB / 0.7395 GB, free: 3.523 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.989e-05/0.2129, allocations: 96.2 kB / 0.7396 GB, free: 3.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2129, allocations: 0 / 0.7396 GB, free: 3.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001335/0.2143, allocations: 299 kB / 0.7399 GB, free: 3.137 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.001895/0.2161, allocations: 1.197 MB / 0.7411 GB, free: 1.914 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.2163, allocations: 37.7 kB / 0.7411 GB, free: 1.871 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2163, allocations: 0 / 0.7411 GB, free: 1.871 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/0.2163, allocations: 0 / 0.7411 GB, free: 1.871 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/0.2168, allocations: 472.7 kB / 0.7416 GB, free: 1.406 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.2184, allocations: 1.617 MB / 0.7432 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.2188, allocations: 0.6846 MB / 0.7438 GB, free: 15 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.61e-05/0.2188, allocations: 0 / 0.7438 GB, free: 15 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.2189, allocations: 15.47 kB / 0.7438 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.2189, allocations: 4 kB / 0.7438 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/0.2463, allocations: 7.367 MB / 0.751 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.649/8.896, allocations: 20.92 kB / 0.7511 GB, free: 7.836 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.901127408025786] Failed to read output from testmodel.py, exit status != 0: 9.023619753948878 9.042084666 8.831454215 Calling exit ...