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.001888/0.001888, allocations: 109.2 kB / 20.48 MB, free: 1.473 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.00146/0.00146, allocations: 213.7 kB / 23.79 MB, free: 4.68 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.489/1.489, allocations: 230.6 MB / 257.6 MB, free: 8.02 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.9727/0.9727, allocations: 150 MB / 463.9 MB, free: 10.52 MB / 366.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.002228/0.002228, allocations: 64.56 kB / 0.6421 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1869, allocations: 89.17 MB / 0.7292 GB, free: 1.223 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002658/0.1895, allocations: 1.457 MB / 0.7306 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004824/0.1943, allocations: 2.987 MB / 0.7335 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.1944, allocations: 0 / 0.7335 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.1944, allocations: 3.938 kB / 0.7335 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.239e-05/0.1945, allocations: 15.86 kB / 0.7336 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004339/0.1988, allocations: 1.722 MB / 0.7352 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.1989, allocations: 43.69 kB / 0.7353 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.199, allocations: 7.984 kB / 0.7353 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.912e-05/0.199, allocations: 11.94 kB / 0.7353 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.177e-05/0.199, allocations: 11.94 kB / 0.7353 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.199, allocations: 0 / 0.7353 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002915/0.202, allocations: 1.77 MB / 0.737 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.253e-05/0.202, allocations: 7.922 kB / 0.737 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.065e-05/0.202, allocations: 15.88 kB / 0.7371 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.2039, allocations: 1.15 MB / 0.7382 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.2039, allocations: 4 kB / 0.7382 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2039, allocations: 0 / 0.7382 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.2039, allocations: 0 / 0.7382 GB, free: 8.008 MB / 0.5606 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.0007108/0.2046, allocations: 476 kB / 0.7386 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.2047, allocations: 8.031 kB / 0.7386 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.865e-05/0.2047, allocations: 83.41 kB / 0.7387 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.702e-05/0.2048, allocations: 110 kB / 0.7388 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.601e-05/0.2049, allocations: 84.17 kB / 0.7389 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.205, allocations: 193.4 kB / 0.7391 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/0.2051, allocations: 154.6 kB / 0.7392 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.931e-05/0.2052, allocations: 150.6 kB / 0.7394 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.272e-05/0.2052, allocations: 105 kB / 0.7395 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.534e-05/0.2053, allocations: 79.22 kB / 0.7396 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.282e-05/0.2054, allocations: 154.6 kB / 0.7397 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.046e-05/0.2054, allocations: 158.5 kB / 0.7399 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.961e-05/0.2055, allocations: 154.5 kB / 0.74 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.2059, allocations: 448.9 kB / 0.7404 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.206, allocations: 169.1 kB / 0.7406 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.292e-05/0.206, allocations: 80.14 kB / 0.7407 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.206, allocations: 75.28 kB / 0.7407 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.134e-05/0.2061, allocations: 109.8 kB / 0.7409 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2061, allocations: 0 / 0.7409 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.26e-05/0.2062, allocations: 33.66 kB / 0.7409 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.2063, allocations: 134.7 kB / 0.741 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.2064, allocations: 135.6 kB / 0.7411 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.2064, allocations: 25.7 kB / 0.7412 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.905e-05/0.2065, allocations: 92.12 kB / 0.7413 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.2065, allocations: 0 / 0.7413 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.2065, allocations: 17.72 kB / 0.7413 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.2067, allocations: 322.8 kB / 0.7416 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.393e-05/0.2067, allocations: 8 kB / 0.7416 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.805e-05/0.2067, allocations: 8 kB / 0.7416 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.226e-05/0.2068, allocations: 16.8 kB / 0.7416 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2068, allocations: 0 / 0.7416 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001419/0.2069, allocations: 57.7 kB / 0.7417 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2069, allocations: 4 kB / 0.7417 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/0.207, allocations: 4 kB / 0.7417 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.207, allocations: 0 / 0.7417 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.001e-06/0.207, allocations: 0 / 0.7417 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.207, allocations: 4 kB / 0.7417 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.342e-05/0.207, allocations: 8.016 kB / 0.7417 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.207, allocations: 3.984 kB / 0.7417 GB, free: 4.211 MB / 0.5606 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.0001287/0.2071, allocations: 193 kB / 0.7419 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.1e-05/0.2072, allocations: 104.9 kB / 0.742 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.029e-05/0.2073, allocations: 116.8 kB / 0.7421 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.333e-05/0.2074, allocations: 180.2 kB / 0.7423 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000103/0.2075, allocations: 180.3 kB / 0.7424 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001021/0.2076, allocations: 180.3 kB / 0.7426 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.2079, allocations: 396.1 kB / 0.743 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.646e-05/0.2079, allocations: 105 kB / 0.7431 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.553e-05/0.208, allocations: 104.9 kB / 0.7432 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.272e-05/0.2081, allocations: 180.3 kB / 0.7434 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.2082, allocations: 180.3 kB / 0.7435 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.274e-05/0.2083, allocations: 188.2 kB / 0.7437 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.645e-05/0.2083, allocations: 176.3 kB / 0.7439 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.2085, allocations: 311.7 kB / 0.7442 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.49e-05/0.2086, allocations: 112.9 kB / 0.7443 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.2087, allocations: 188.2 kB / 0.7445 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.2088, allocations: 104.9 kB / 0.7446 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.2089, allocations: 184.2 kB / 0.7447 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-05/0.209, allocations: 101 kB / 0.7448 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.453e-05/0.2091, allocations: 101.3 kB / 0.7449 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2091, allocations: 4 kB / 0.7449 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001114/0.2102, allocations: 299 kB / 0.7452 GB, free: 408 kB / 0.5606 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.001697/0.2119, allocations: 1.197 MB / 0.7464 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.212, allocations: 37.7 kB / 0.7464 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.212, allocations: 0 / 0.7464 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.278e-06/0.212, allocations: 4 kB / 0.7464 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.2126, allocations: 471.7 kB / 0.7469 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.2143, allocations: 1.61 MB / 0.7484 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.2146, allocations: 0.6807 MB / 0.7491 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.316e-05/0.2146, allocations: 0 / 0.7491 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.2146, allocations: 15.42 kB / 0.7491 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of SimCode: time 4.6e-07/0.2146, allocations: 4 kB / 0.7491 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/0.2458, allocations: 7.39 MB / 0.7563 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.65, allocations: 7.875 kB / 0.7564 GB, free: 5.062 MB / 0.5762 GB " [Timeout remaining time 648] (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: 15.95910203101812] Failed to read output from testmodel.py, exit status != 0: 11.816407411010005 12.148836571 11.940078271 Calling exit ...