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.001593/0.001593, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001584/0.001584, allocations: 212.8 kB / 23.78 MB, free: 4.555 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.55/1.55, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.012/1.012, allocations: 150 MB / 464 MB, free: 10.27 MB / 366.1 MB " [Timeout remaining time 178] 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.002104/0.002104, allocations: 75.31 kB / 0.642 GB, free: 9.902 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2047, allocations: 89.17 MB / 0.7291 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002687/0.2074, allocations: 1.365 MB / 0.7304 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.2092, allocations: 1.036 MB / 0.7315 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.2093, allocations: 4 kB / 0.7315 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.2093, allocations: 7.922 kB / 0.7315 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.115e-05/0.2093, allocations: 11.92 kB / 0.7315 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006863/0.21, allocations: 219.2 kB / 0.7317 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.344e-05/0.2101, allocations: 31.8 kB / 0.7317 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.2101, allocations: 4.281 kB / 0.7317 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.2103, allocations: 15.98 kB / 0.7317 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.596e-05/0.2103, allocations: 11.94 kB / 0.7317 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.2103, allocations: 0 / 0.7317 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006436/0.211, allocations: 435.5 kB / 0.7322 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.211, allocations: 11.94 kB / 0.7322 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.211, allocations: 15.92 kB / 0.7322 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.2114, allocations: 207.4 kB / 0.7324 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2114, allocations: 3.938 kB / 0.7324 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2114, allocations: 0 / 0.7324 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2114, allocations: 0 / 0.7324 GB, free: 13.45 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004816/0.2119, allocations: 313.7 kB / 0.7327 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.2119, allocations: 16.03 kB / 0.7327 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.416e-05/0.2119, allocations: 192 / 0.7327 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.081e-05/0.2119, allocations: 34.69 kB / 0.7327 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.466e-05/0.212, allocations: 0.9375 kB / 0.7327 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.2121, allocations: 118.5 kB / 0.7329 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.2121, allocations: 7.938 kB / 0.7329 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.2121, allocations: 0 / 0.7329 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.2122, allocations: 37.62 kB / 0.7329 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2122, allocations: 4 kB / 0.7329 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.2122, allocations: 7.984 kB / 0.7329 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.2122, allocations: 0 / 0.7329 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.224e-05/0.2123, allocations: 12 kB / 0.7329 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.2125, allocations: 136.7 kB / 0.733 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.2126, allocations: 42.59 kB / 0.7331 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.2126, allocations: 8.859 kB / 0.7331 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005949/0.2132, allocations: 95.95 kB / 0.7332 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.2132, allocations: 34.56 kB / 0.7332 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2132, allocations: 0 / 0.7332 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001748/0.2134, allocations: 53.62 kB / 0.7333 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.2134, allocations: 59.41 kB / 0.7333 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.226e-05/0.2135, allocations: 109.8 kB / 0.7334 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.2136, allocations: 29.7 kB / 0.7335 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.2136, allocations: 80.14 kB / 0.7335 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.2136, allocations: 19.91 kB / 0.7336 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.2137, allocations: 17.7 kB / 0.7336 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2138, allocations: 314.8 kB / 0.7339 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.995e-05/0.2138, allocations: 4 kB / 0.7339 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.584e-05/0.2138, allocations: 4 kB / 0.7339 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.262e-05/0.2139, allocations: 28.78 kB / 0.7339 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2139, allocations: 0 / 0.7339 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.276e-05/0.214, allocations: 57.59 kB / 0.734 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.214, allocations: 7.984 kB / 0.734 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.214, allocations: 0 / 0.734 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.214, allocations: 0 / 0.734 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.2141, allocations: 16 kB / 0.734 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.2141, allocations: 0 / 0.734 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.632e-05/0.2142, allocations: 4 kB / 0.734 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.2142, allocations: 0 / 0.734 GB, free: 11.61 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 (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 8.804e-05/0.2143, allocations: 117.7 kB / 0.7341 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-06/0.2143, allocations: 4 kB / 0.7341 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.2144, allocations: 65.62 kB / 0.7342 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2144, allocations: 0 / 0.7342 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2144, allocations: 3.938 kB / 0.7342 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2144, allocations: 384 / 0.7342 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.2145, allocations: 144.6 kB / 0.7343 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2145, allocations: 4 kB / 0.7343 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.939e-05/0.2146, allocations: 15.98 kB / 0.7343 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2146, allocations: 4 kB / 0.7343 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.2146, allocations: 0 / 0.7343 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2146, allocations: 0 / 0.7343 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2146, allocations: 3.984 kB / 0.7343 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.2147, allocations: 77.06 kB / 0.7344 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.2148, allocations: 7.938 kB / 0.7344 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.2148, allocations: 0 / 0.7344 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.404e-05/0.2148, allocations: 0 / 0.7344 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.2148, allocations: 11.98 kB / 0.7344 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.2148, allocations: 0 / 0.7344 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.459e-05/0.2149, allocations: 83.28 kB / 0.7345 GB, free: 11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2149, allocations: 0 / 0.7345 GB, free: 11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002507/0.2151, allocations: 47.8 kB / 0.7346 GB, free: 10.95 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 (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.0005674/0.2157, allocations: 0.6707 MB / 0.7352 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.2158, allocations: 27.92 kB / 0.7352 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2158, allocations: 0 / 0.7352 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.371e-05/0.2158, allocations: 8 kB / 0.7352 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.2161, allocations: 9.562 kB / 0.7353 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005336/0.2166, allocations: 214.1 kB / 0.7355 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.224e-05/0.2167, allocations: 63.34 kB / 0.7355 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.231e-05/0.2167, allocations: 4 kB / 0.7355 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.2167, allocations: 11.38 kB / 0.7355 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.2167, allocations: 8 kB / 0.7355 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.2396, allocations: 2.445 MB / 0.7379 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/11.93, allocations: 4.719 kB / 0.7379 GB, free: 7.617 MB / 0.5606 GB " [Timeout remaining time 648] (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: 16.12136571703013] Failed to read output from testmodel.py, exit status != 0: 12.09376780805178 12.120344718 11.904022806 Calling exit ...