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.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.001622/0.001622, allocations: 115.7 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.001701/0.001701, allocations: 201.6 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.503/1.503, allocations: 230.6 MB / 254.2 MB, free: 15.1 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.9825/0.9825, allocations: 150 MB / 460.2 MB, free: 5.254 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.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.00204/0.00204, allocations: 73.34 kB / 0.6369 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2016, allocations: 89.13 MB / 0.7239 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003314/0.2049, allocations: 1.452 MB / 0.7253 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005152/0.21, allocations: 2.963 MB / 0.7282 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.809e-05/0.2101, allocations: 0 / 0.7282 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.243e-05/0.2101, allocations: 11.92 kB / 0.7282 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.209e-05/0.2102, allocations: 11.86 kB / 0.7283 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004633/0.2148, allocations: 1.643 MB / 0.7299 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.215, allocations: 47.67 kB / 0.7299 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.84e-05/0.215, allocations: 4 kB / 0.7299 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.946e-05/0.215, allocations: 19.92 kB / 0.7299 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.272e-05/0.2151, allocations: 15.92 kB / 0.7299 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.2151, allocations: 4 kB / 0.7299 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002811/0.2179, allocations: 1.599 MB / 0.7315 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.2179, allocations: 7.938 kB / 0.7315 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.218, allocations: 23.86 kB / 0.7315 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.2197, allocations: 1.13 MB / 0.7326 GB, free: 11.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2197, allocations: 0 / 0.7326 GB, free: 11.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2197, allocations: 3.938 kB / 0.7326 GB, free: 11.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.2197, allocations: 0 / 0.7326 GB, free: 11.07 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.00081/0.2205, allocations: 0.5402 MB / 0.7332 GB, free: 10.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.2206, allocations: 11.97 kB / 0.7332 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.973e-05/0.2206, allocations: 83.41 kB / 0.7333 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.876e-05/0.2207, allocations: 110 kB / 0.7334 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.995e-05/0.2208, allocations: 84.16 kB / 0.7335 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.221, allocations: 248.5 kB / 0.7337 GB, free: 9.906 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.38e-05/0.2211, allocations: 154.6 kB / 0.7338 GB, free: 9.754 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.408e-05/0.2212, allocations: 154.6 kB / 0.734 GB, free: 9.602 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.027e-05/0.2212, allocations: 108.9 kB / 0.7341 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.672e-05/0.2213, allocations: 75.28 kB / 0.7342 GB, free: 9.414 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.687e-05/0.2213, allocations: 150.6 kB / 0.7343 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.866e-05/0.2214, allocations: 154.6 kB / 0.7345 GB, free: 9.113 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.2216, allocations: 154.6 kB / 0.7346 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.2219, allocations: 465.9 kB / 0.735 GB, free: 8.457 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.222, allocations: 169.1 kB / 0.7352 GB, free: 8.281 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.344e-05/0.2221, allocations: 84.14 kB / 0.7353 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.422e-05/0.2221, allocations: 83.27 kB / 0.7354 GB, free: 8.113 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.437e-05/0.2222, allocations: 105.8 kB / 0.7355 GB, free: 8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.373e-06/0.2222, allocations: 0 / 0.7355 GB, free: 8 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.025e-05/0.2223, allocations: 33.66 kB / 0.7355 GB, free: 7.961 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.2224, allocations: 126.7 kB / 0.7356 GB, free: 7.824 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.2225, allocations: 138.9 kB / 0.7357 GB, free: 7.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.2225, allocations: 29.64 kB / 0.7358 GB, free: 7.645 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.2226, allocations: 100.1 kB / 0.7359 GB, free: 7.543 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.2226, allocations: 0 / 0.7359 GB, free: 7.543 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.2226, allocations: 13.72 kB / 0.7359 GB, free: 7.523 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.2228, allocations: 326.8 kB / 0.7362 GB, free: 7.195 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.602e-05/0.2228, allocations: 4 kB / 0.7362 GB, free: 7.191 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.862e-05/0.2228, allocations: 4 kB / 0.7362 GB, free: 7.188 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.834e-05/0.2229, allocations: 16.92 kB / 0.7362 GB, free: 7.168 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2229, allocations: 0 / 0.7362 GB, free: 7.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001418/0.223, allocations: 53.72 kB / 0.7363 GB, free: 7.109 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.223, allocations: 8 kB / 0.7363 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-05/0.2231, allocations: 7.984 kB / 0.7363 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2231, allocations: 0 / 0.7363 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.507e-06/0.2231, allocations: 3.938 kB / 0.7363 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2231, allocations: 0 / 0.7363 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.2231, allocations: 3.953 kB / 0.7363 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.2231, allocations: 11.92 kB / 0.7363 GB, free: 7.074 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.0001252/0.2232, allocations: 189 kB / 0.7365 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.716e-05/0.2233, allocations: 113 kB / 0.7366 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.234e-05/0.2234, allocations: 108.8 kB / 0.7367 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.902e-05/0.2235, allocations: 188.2 kB / 0.7369 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.517e-05/0.2235, allocations: 180.2 kB / 0.7371 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.542e-05/0.2236, allocations: 180.2 kB / 0.7372 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.2239, allocations: 417.2 kB / 0.7376 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.456e-05/0.224, allocations: 109 kB / 0.7377 GB, free: 5.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.244e-05/0.224, allocations: 104.9 kB / 0.7378 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.072e-05/0.2241, allocations: 180.3 kB / 0.738 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.134e-05/0.2242, allocations: 184.2 kB / 0.7382 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.511e-05/0.2243, allocations: 176.3 kB / 0.7383 GB, free: 4.852 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.459e-05/0.2243, allocations: 188.2 kB / 0.7385 GB, free: 4.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.2245, allocations: 311.7 kB / 0.7388 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.2246, allocations: 186 kB / 0.739 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-05/0.2247, allocations: 180.2 kB / 0.7392 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.088e-05/0.2248, allocations: 108.9 kB / 0.7393 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.882e-05/0.2249, allocations: 184.3 kB / 0.7394 GB, free: 3.641 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/0.2249, allocations: 101 kB / 0.7395 GB, free: 3.535 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.585e-05/0.225, allocations: 102.2 kB / 0.7396 GB, free: 3.438 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/0.225, allocations: 0 / 0.7396 GB, free: 3.438 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009772/0.226, allocations: 298.9 kB / 0.7399 GB, free: 3.145 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.001663/0.2277, allocations: 1.201 MB / 0.7411 GB, free: 1.918 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001433/0.2278, allocations: 37.7 kB / 0.7411 GB, free: 1.875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2278, allocations: 4.062 kB / 0.7411 GB, free: 1.871 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.2278, 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.0004696/0.2283, allocations: 464.6 kB / 0.7416 GB, free: 1.414 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.2299, allocations: 1.613 MB / 0.7432 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.2303, allocations: 0.6846 MB / 0.7438 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.844e-05/0.2303, allocations: 0 / 0.7438 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.2303, allocations: 23.36 kB / 0.7438 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of SimCode: time 7.12e-07/0.2303, allocations: 0 / 0.7438 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.2591, allocations: 7.361 MB / 0.751 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.855/9.114, allocations: 11 kB / 0.751 GB, free: 7.867 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.056543198996224] Failed to read output from testmodel.py, exit status != 0: 9.244832279044203 9.266687434 9.042931022 Calling exit ...