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.ConvectionResistanceCircularPipe.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.001798/0.001798, 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.002429/0.002429, 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.572/1.572, 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 1.031/1.031, allocations: 150 MB / 460.2 MB, free: 5.242 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.ConvectionResistanceCircularPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.001986/0.001986, allocations: 69.86 kB / 0.6369 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2156, allocations: 89.12 MB / 0.7239 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003237/0.2188, allocations: 1.37 MB / 0.7252 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002358/0.2212, allocations: 1.158 MB / 0.7264 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.2212, allocations: 4 kB / 0.7264 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.426e-05/0.2212, allocations: 3.938 kB / 0.7264 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.561e-05/0.2213, allocations: 7.922 kB / 0.7264 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008873/0.2222, allocations: 226.6 kB / 0.7266 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.68e-05/0.2223, allocations: 35.8 kB / 0.7266 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.15e-05/0.2223, allocations: 7.938 kB / 0.7267 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.2225, allocations: 11.98 kB / 0.7267 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.963e-05/0.2225, allocations: 19.92 kB / 0.7267 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.2226, allocations: 0 / 0.7267 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007437/0.2233, allocations: 435.5 kB / 0.7271 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.2233, allocations: 11.92 kB / 0.7271 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.2234, allocations: 15.94 kB / 0.7271 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.2238, allocations: 203.4 kB / 0.7273 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2238, allocations: 0 / 0.7273 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.955e-06/0.2238, allocations: 0 / 0.7273 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.2238, allocations: 11.94 kB / 0.7273 GB, free: 0.5117 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005792/0.2244, allocations: 394.7 kB / 0.7277 GB, free: 80 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.2244, allocations: 8.031 kB / 0.7277 GB, free: 72 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.4e-05/0.2244, allocations: 192 / 0.7277 GB, free: 72 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.23e-05/0.2245, allocations: 30.75 kB / 0.7277 GB, free: 32 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.2245, allocations: 4.938 kB / 0.7277 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.2247, allocations: 168.3 kB / 0.7279 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.2247, allocations: 11.94 kB / 0.7279 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.2247, allocations: 4 kB / 0.7279 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.2248, allocations: 41.62 kB / 0.728 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2248, allocations: 0 / 0.728 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.2248, allocations: 0 / 0.728 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2248, allocations: 0 / 0.728 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.801e-05/0.2249, allocations: 19.92 kB / 0.728 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.2251, allocations: 165.5 kB / 0.7281 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.2252, allocations: 34.61 kB / 0.7282 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.2252, allocations: 20.89 kB / 0.7282 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/0.2263, allocations: 0.9895 MB / 0.7292 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.2263, allocations: 30.56 kB / 0.7292 GB, free: 14.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.2263, allocations: 0 / 0.7292 GB, free: 14.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001985/0.2265, allocations: 61.62 kB / 0.7292 GB, free: 14.15 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.2266, allocations: 51.41 kB / 0.7293 GB, free: 14.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.65e-05/0.2267, allocations: 113.8 kB / 0.7294 GB, free: 13.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.2267, allocations: 25.7 kB / 0.7294 GB, free: 13.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.2267, allocations: 80.14 kB / 0.7295 GB, free: 13.85 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.2268, allocations: 15.91 kB / 0.7295 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.2268, allocations: 17.7 kB / 0.7295 GB, free: 13.81 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.227, allocations: 318.8 kB / 0.7298 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.388e-05/0.227, allocations: 4 kB / 0.7298 GB, free: 13.49 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.285e-05/0.227, allocations: 12 kB / 0.7299 GB, free: 13.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.408e-05/0.2271, allocations: 24.78 kB / 0.7299 GB, free: 13.45 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2271, allocations: 0 / 0.7299 GB, free: 13.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.393e-05/0.2272, allocations: 53.59 kB / 0.7299 GB, free: 13.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2272, allocations: 11.98 kB / 0.7299 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2272, allocations: 7.938 kB / 0.7299 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2272, allocations: 0 / 0.7299 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.2273, allocations: 12 kB / 0.73 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2273, allocations: 0 / 0.73 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.393e-05/0.2274, allocations: 0 / 0.73 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.2274, allocations: 0 / 0.73 GB, free: 13.36 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 9.357e-05/0.2275, allocations: 121.8 kB / 0.7301 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.2275, allocations: 0 / 0.7301 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.2276, allocations: 61.53 kB / 0.7301 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2276, allocations: 8 kB / 0.7301 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2276, allocations: 0 / 0.7301 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2276, allocations: 0 / 0.7301 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.2278, allocations: 173.5 kB / 0.7303 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.2278, allocations: 0 / 0.7303 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-05/0.2279, allocations: 12 kB / 0.7303 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2279, allocations: 384 / 0.7303 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.2279, allocations: 0 / 0.7303 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2279, allocations: 3.938 kB / 0.7303 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2279, allocations: 0 / 0.7303 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.228, allocations: 89.02 kB / 0.7304 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.228, allocations: 89.03 kB / 0.7305 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.2281, allocations: 0 / 0.7305 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.349e-05/0.2281, allocations: 0 / 0.7305 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-05/0.2281, allocations: 4 kB / 0.7305 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.2281, allocations: 0 / 0.7305 GB, free: 12.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.466e-05/0.2282, allocations: 87.27 kB / 0.7306 GB, free: 12.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2282, allocations: 0 / 0.7306 GB, free: 12.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002612/0.2284, allocations: 43.88 kB / 0.7306 GB, free: 12.57 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 (4): * Single equations (assignments): 4 * 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.0006239/0.2291, allocations: 0.6786 MB / 0.7313 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.2292, allocations: 19.94 kB / 0.7313 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2292, allocations: 0 / 0.7313 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.066e-05/0.2292, allocations: 23.92 kB / 0.7313 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.2295, allocations: 4.875 kB / 0.7313 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005282/0.23, allocations: 197.6 kB / 0.7315 GB, free: 11.58 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.2303, allocations: 0.6845 MB / 0.7322 GB, free: 10.87 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.599e-05/0.2304, allocations: 7.984 kB / 0.7322 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.2304, allocations: 19.44 kB / 0.7322 GB, free: 10.84 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.2304, allocations: 0 / 0.7322 GB, free: 10.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02029/0.2507, allocations: 2.356 MB / 0.7345 GB, free: 8.738 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.794/9.045, allocations: 12.64 kB / 0.7345 GB, free: 8.727 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.226772744033951] Failed to read output from testmodel.py, exit status != 0: 9.174862908024807 9.201802222 8.974005755 Calling exit ...