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.001908/0.001908, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002333/0.002333, allocations: 210.8 kB / 22.99 MB, free: 4.977 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.9755/0.9755, allocations: 149.9 MB / 463.1 MB, free: 10.35 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="me",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="me",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.002061/0.002061, allocations: 66.44 kB / 0.6412 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1973, allocations: 89.17 MB / 0.7282 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003043/0.2003, allocations: 1.418 MB / 0.7296 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005156/0.2055, allocations: 2.638 MB / 0.7322 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/0.2055, allocations: 0 / 0.7322 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.338e-05/0.2056, allocations: 3.938 kB / 0.7322 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.51e-05/0.2056, allocations: 19.84 kB / 0.7322 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004484/0.2101, allocations: 1.62 MB / 0.7338 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.2102, allocations: 39.78 kB / 0.7338 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.237e-05/0.2103, allocations: 8 kB / 0.7338 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.636e-05/0.2103, allocations: 11.94 kB / 0.7339 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.623e-05/0.2104, allocations: 15.92 kB / 0.7339 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.2104, allocations: 3.938 kB / 0.7339 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003011/0.2134, allocations: 1.451 MB / 0.7353 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.2134, allocations: 4 kB / 0.7353 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.2134, allocations: 19.92 kB / 0.7353 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002106/0.2156, allocations: 1.072 MB / 0.7364 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2156, allocations: 0 / 0.7364 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.216e-06/0.2156, allocations: 0 / 0.7364 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.2156, allocations: 4 kB / 0.7364 GB, free: 8.664 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.0007735/0.2163, allocations: 468 kB / 0.7368 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.2164, allocations: 15.97 kB / 0.7368 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.28e-05/0.2164, allocations: 106 kB / 0.7369 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.806e-05/0.2165, allocations: 80.17 kB / 0.737 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.2167, allocations: 196.4 kB / 0.7372 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.774e-05/0.2168, allocations: 158.5 kB / 0.7373 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.003e-05/0.2169, allocations: 154.6 kB / 0.7375 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.404e-05/0.217, allocations: 101 kB / 0.7376 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.115e-05/0.217, allocations: 79.28 kB / 0.7377 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.46e-05/0.2171, allocations: 154.6 kB / 0.7378 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.431e-05/0.2171, allocations: 154.6 kB / 0.738 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.281e-05/0.2172, allocations: 154.5 kB / 0.7381 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.2176, allocations: 436.9 kB / 0.7385 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.2177, allocations: 169.1 kB / 0.7387 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.653e-05/0.2177, allocations: 84.12 kB / 0.7388 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.144e-05/0.2178, allocations: 75.28 kB / 0.7388 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.535e-05/0.2178, allocations: 117.8 kB / 0.7389 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.2178, allocations: 0 / 0.7389 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 9.283e-05/0.2179, allocations: 29.66 kB / 0.739 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.046e-05/0.218, allocations: 138.6 kB / 0.7391 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.2182, allocations: 129.7 kB / 0.7392 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.2182, allocations: 25.7 kB / 0.7393 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.2182, allocations: 92.08 kB / 0.7393 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.2182, allocations: 4 kB / 0.7393 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.2183, allocations: 17.7 kB / 0.7394 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.2185, allocations: 318.8 kB / 0.7397 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.641e-05/0.2185, allocations: 4 kB / 0.7397 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.255e-05/0.2185, allocations: 11.98 kB / 0.7397 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.599e-05/0.2185, allocations: 12.8 kB / 0.7397 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.2185, allocations: 0 / 0.7397 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001421/0.2187, allocations: 53.69 kB / 0.7397 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2187, allocations: 4 kB / 0.7398 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/0.2187, allocations: 7.984 kB / 0.7398 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.2187, allocations: 0 / 0.7398 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.2187, allocations: 0 / 0.7398 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.2188, allocations: 0 / 0.7398 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.649e-05/0.2188, allocations: 0 / 0.7398 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.2188, allocations: 4.047 kB / 0.7398 GB, free: 4.977 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.0001309/0.2189, allocations: 185.1 kB / 0.7399 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.297e-05/0.219, allocations: 116.9 kB / 0.74 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.048e-05/0.2191, allocations: 116.8 kB / 0.7402 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.754e-05/0.2192, allocations: 184.2 kB / 0.7403 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.815e-05/0.2193, allocations: 176.3 kB / 0.7405 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.345e-05/0.2194, allocations: 176.3 kB / 0.7407 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.2197, allocations: 396.2 kB / 0.7411 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.719e-05/0.2197, allocations: 109 kB / 0.7412 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.644e-05/0.2198, allocations: 104.9 kB / 0.7413 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.994e-05/0.2199, allocations: 176.3 kB / 0.7414 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.735e-05/0.22, allocations: 180.3 kB / 0.7416 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.07e-05/0.2201, allocations: 184.2 kB / 0.7418 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.681e-05/0.2202, allocations: 176.3 kB / 0.7419 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.2204, allocations: 323.6 kB / 0.7422 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-05/0.2204, allocations: 108.9 kB / 0.7424 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.2205, allocations: 184.2 kB / 0.7425 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.536e-05/0.2206, allocations: 105 kB / 0.7426 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.385e-05/0.2207, allocations: 184.2 kB / 0.7428 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/0.2208, allocations: 101 kB / 0.7429 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.176e-05/0.2209, allocations: 97.3 kB / 0.743 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2209, allocations: 3.938 kB / 0.743 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009225/0.2218, allocations: 295 kB / 0.7433 GB, free: 1.172 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.001839/0.2236, allocations: 1.181 MB / 0.7444 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.2237, allocations: 37.7 kB / 0.7445 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2237, allocations: 0 / 0.7445 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.005e-06/0.2237, allocations: 3.938 kB / 0.7445 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.2242, allocations: 467.7 kB / 0.7449 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.226, allocations: 1.584 MB / 0.7465 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.922e-05/0.2261, allocations: 67.34 kB / 0.7465 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.667e-05/0.2261, allocations: 0 / 0.7465 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.2262, allocations: 19.42 kB / 0.7465 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/0.2262, allocations: 0 / 0.7465 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04627/0.2724, allocations: 7.633 MB / 0.754 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/11.98, allocations: 3.031 kB / 0.754 GB, free: 6.25 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.30558404000476] Failed to read output from testmodel.py, exit status != 0: 12.08961993874982 12.381326067 12.163045419 Calling exit ...