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.InternalResistancesOneUTube.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.001372/0.001372, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001459/0.001459, allocations: 214.6 kB / 23.78 MB, free: 4.523 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.512/1.512, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.9808/0.9808, allocations: 150 MB / 464 MB, free: 10.22 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.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.003061/0.003061, allocations: 61.81 kB / 0.642 GB, free: 9.855 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.234, allocations: 89.16 MB / 0.7291 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003507/0.2375, allocations: 1.422 MB / 0.7305 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004978/0.2425, allocations: 2.634 MB / 0.7331 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.833e-05/0.2425, allocations: 0 / 0.7331 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.358e-05/0.2426, allocations: 3.938 kB / 0.7331 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.2426, allocations: 11.86 kB / 0.7331 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004458/0.2471, allocations: 1.634 MB / 0.7347 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.2472, allocations: 43.73 kB / 0.7347 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.2472, allocations: 0 / 0.7347 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.939e-05/0.2473, allocations: 15.92 kB / 0.7347 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.032e-05/0.2473, allocations: 15.94 kB / 0.7348 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.2473, allocations: 0 / 0.7348 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002611/0.2499, allocations: 1.564 MB / 0.7363 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.193e-05/0.25, allocations: 3.938 kB / 0.7363 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.25, allocations: 15.92 kB / 0.7363 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.2519, allocations: 1.075 MB / 0.7374 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2519, allocations: 4 kB / 0.7374 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2519, allocations: 0 / 0.7374 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.2519, allocations: 0 / 0.7374 GB, free: 8.312 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.0007778/0.2527, allocations: 472 kB / 0.7378 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2527, allocations: 12.03 kB / 0.7378 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.827e-05/0.2527, allocations: 87.33 kB / 0.7379 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.105e-05/0.2528, allocations: 106 kB / 0.738 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.651e-05/0.2529, allocations: 84.17 kB / 0.7381 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.2531, allocations: 189.5 kB / 0.7383 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.707e-05/0.2531, allocations: 158.6 kB / 0.7384 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-05/0.2532, allocations: 154.5 kB / 0.7386 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.085e-05/0.2533, allocations: 101 kB / 0.7387 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/0.2533, allocations: 75.28 kB / 0.7387 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.056e-05/0.2534, allocations: 158.6 kB / 0.7389 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.82e-05/0.2535, allocations: 158.5 kB / 0.739 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.082e-05/0.2535, allocations: 150.6 kB / 0.7392 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.2539, allocations: 440.9 kB / 0.7396 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.254, allocations: 169.1 kB / 0.7398 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.69e-05/0.254, allocations: 80.14 kB / 0.7398 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.294e-05/0.2541, allocations: 79.28 kB / 0.7399 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.791e-05/0.2541, allocations: 109.8 kB / 0.74 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.2541, allocations: 0 / 0.74 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 9.741e-05/0.2542, allocations: 33.66 kB / 0.74 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.2543, allocations: 126.7 kB / 0.7402 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.2545, allocations: 139.9 kB / 0.7403 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.2545, allocations: 29.7 kB / 0.7403 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.2546, allocations: 88.14 kB / 0.7404 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.2546, allocations: 0 / 0.7404 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.2546, allocations: 21.66 kB / 0.7404 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2548, allocations: 322.8 kB / 0.7407 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.605e-05/0.2548, allocations: 4 kB / 0.7407 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.104e-05/0.2548, allocations: 8 kB / 0.7408 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.811e-05/0.2549, allocations: 12.8 kB / 0.7408 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.2549, allocations: 4 kB / 0.7408 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001389/0.255, allocations: 49.64 kB / 0.7408 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.255, allocations: 12.06 kB / 0.7408 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.255, allocations: 0 / 0.7408 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.2551, allocations: 4 kB / 0.7408 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.2551, allocations: 0 / 0.7408 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.2551, allocations: 0 / 0.7408 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.158e-05/0.2551, allocations: 0 / 0.7408 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.2551, allocations: 0 / 0.7408 GB, free: 4.543 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.0001275/0.2552, allocations: 193 kB / 0.741 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.781e-05/0.2553, allocations: 116.9 kB / 0.7411 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.477e-05/0.2554, allocations: 108.8 kB / 0.7412 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001109/0.2555, allocations: 184.2 kB / 0.7414 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001353/0.2556, allocations: 180.3 kB / 0.7416 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.72e-05/0.2557, allocations: 184.2 kB / 0.7418 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.256, allocations: 392.2 kB / 0.7421 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.495e-05/0.256, allocations: 101 kB / 0.7422 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.964e-05/0.2561, allocations: 108.9 kB / 0.7423 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.154e-05/0.2561, allocations: 176.3 kB / 0.7425 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.688e-05/0.2562, allocations: 184.3 kB / 0.7427 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.97e-05/0.2563, allocations: 184.2 kB / 0.7428 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.067e-05/0.2564, allocations: 180.3 kB / 0.743 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.2566, allocations: 311.7 kB / 0.7433 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.827e-05/0.2566, allocations: 116.9 kB / 0.7434 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.2567, allocations: 184.2 kB / 0.7436 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.582e-05/0.2568, allocations: 101 kB / 0.7437 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.807e-05/0.2569, allocations: 184.2 kB / 0.7439 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/0.257, allocations: 105 kB / 0.744 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.838e-05/0.2571, allocations: 101.6 kB / 0.7441 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2571, allocations: 0 / 0.7441 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009248/0.258, allocations: 298.9 kB / 0.7444 GB, free: 0.7266 MB / 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.00182/0.2598, allocations: 1.171 MB / 0.7455 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.2599, allocations: 41.69 kB / 0.7455 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2599, allocations: 0 / 0.7455 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.2599, allocations: 0 / 0.7455 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.2604, allocations: 463.7 kB / 0.746 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.2622, allocations: 1.59 MB / 0.7475 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.44e-05/0.2622, allocations: 75.42 kB / 0.7476 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.606e-05/0.2623, allocations: 0 / 0.7476 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.2623, allocations: 15.44 kB / 0.7476 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of SimCode: time 7.61e-07/0.2623, allocations: 0 / 0.7476 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/0.2954, allocations: 7.284 MB / 0.7547 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.28, allocations: 5.75 kB / 0.7547 GB, free: 6.172 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.542499108007178] Failed to read output from testmodel.py, exit status != 0: 12.45579533604905 12.780560557 12.526201484 Calling exit ...