Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001338/0.001338, allocations: 118 kB / 19.69 MB, free: 2.199 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.00154/0.00154, allocations: 221.1 kB / 23.01 MB, free: 5.047 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.365/1.365, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.8909/0.8909, allocations: 150 MB / 463.2 MB, free: 10.46 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.Examples.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_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.003396/0.003396, allocations: 69.38 kB / 0.6413 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1929, allocations: 89.16 MB / 0.7284 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004808/0.1977, allocations: 3.081 MB / 0.7314 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003469/0.2012, allocations: 2.195 MB / 0.7335 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000281/0.2015, allocations: 7.938 kB / 0.7336 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.2031, allocations: 0.5133 MB / 0.7341 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004215/0.2036, allocations: 142.9 kB / 0.7342 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.2037, allocations: 63.88 kB / 0.7343 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005932/0.2043, allocations: 441.9 kB / 0.7347 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002472/0.2046, allocations: 107.8 kB / 0.7348 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003579/0.2049, allocations: 171.3 kB / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.2052, allocations: 175.2 kB / 0.7351 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.603e-05/0.2053, allocations: 36 kB / 0.7351 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.406e-05/0.2054, allocations: 36 kB / 0.7352 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.2055, allocations: 103.5 kB / 0.7353 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002379/0.2057, allocations: 218.9 kB / 0.7355 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006181/0.2063, allocations: 0.5446 MB / 0.736 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2064, allocations: 4 kB / 0.736 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2064, allocations: 0 / 0.736 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.929e-05/0.2064, allocations: 0 / 0.736 GB, free: 9.352 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00126/0.2076, allocations: 0.6369 MB / 0.7366 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.2077, allocations: 8.031 kB / 0.7366 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.381e-05/0.2078, allocations: 58.72 kB / 0.7367 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.2079, allocations: 48.61 kB / 0.7368 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006467/0.2085, allocations: 320.5 kB / 0.7371 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.2085, allocations: 16.56 kB / 0.7371 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.243e-05/0.2086, allocations: 24 kB / 0.7371 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.2091, allocations: 203.3 kB / 0.7373 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.2091, allocations: 0 / 0.7373 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.2091, allocations: 8 kB / 0.7373 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.2091, allocations: 7.938 kB / 0.7373 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/0.2095, allocations: 161.7 kB / 0.7375 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.2108, allocations: 0.8277 MB / 0.7383 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.2112, allocations: 142.6 kB / 0.7384 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.2114, allocations: 115.1 kB / 0.7385 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.2114, allocations: 3.938 kB / 0.7385 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.2115, allocations: 30.56 kB / 0.7385 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.2115, allocations: 0 / 0.7385 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.0006314/0.2121, allocations: 253.6 kB / 0.7388 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.2121, allocations: 59.34 kB / 0.7388 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/0.2126, allocations: 413.7 kB / 0.7392 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.2127, allocations: 29.7 kB / 0.7393 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.2128, allocations: 208.5 kB / 0.7395 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.406e-05/0.2129, allocations: 59.44 kB / 0.7395 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/0.213, allocations: 37.7 kB / 0.7396 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.2131, allocations: 346.8 kB / 0.7399 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.2133, allocations: 59.91 kB / 0.7399 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.2134, allocations: 62.38 kB / 0.74 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.2137, allocations: 136.8 kB / 0.7401 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2137, allocations: 0 / 0.7401 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000405/0.2141, allocations: 206.8 kB / 0.7403 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.2141, allocations: 8 kB / 0.7403 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2141, allocations: 0 / 0.7403 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.2142, allocations: 0 / 0.7403 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.2144, allocations: 59.91 kB / 0.7404 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2144, allocations: 4 kB / 0.7404 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.2146, allocations: 15.88 kB / 0.7404 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.2146, allocations: 8 kB / 0.7404 GB, free: 4.625 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 (20): * Single equations (assignments): 20 * 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 0.0001851/0.2148, allocations: 163.8 kB / 0.7406 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-05/0.2149, allocations: 39.7 kB / 0.7406 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.215, allocations: 43.47 kB / 0.7407 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.215, allocations: 8 kB / 0.7407 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.215, allocations: 0 / 0.7407 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.215, allocations: 3.984 kB / 0.7407 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00045/0.2154, allocations: 348.4 kB / 0.741 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.2154, allocations: 3.938 kB / 0.741 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.2157, allocations: 51.97 kB / 0.7411 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.2157, allocations: 0 / 0.7411 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.2157, allocations: 4 kB / 0.7411 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.2157, allocations: 4 kB / 0.7411 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2157, allocations: 0 / 0.7411 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000632/0.2164, allocations: 380.9 kB / 0.7414 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.2165, allocations: 51.59 kB / 0.7415 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/0.2165, allocations: 8 kB / 0.7415 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.2167, allocations: 11.98 kB / 0.7415 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.2167, allocations: 11.92 kB / 0.7415 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.2167, allocations: 8.062 kB / 0.7415 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003468/0.2171, allocations: 303.1 kB / 0.7418 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2171, allocations: 0 / 0.7418 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003146/0.2174, allocations: 71.89 kB / 0.7419 GB, free: 3.074 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0009603/0.2184, allocations: 0.9306 MB / 0.7428 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003829/0.2187, allocations: 131.9 kB / 0.7429 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.2188, allocations: 0 / 0.7429 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.2189, allocations: 75.89 kB / 0.743 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.2195, allocations: 88.25 kB / 0.7431 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005038/0.2246, allocations: 3.508 MB / 0.7465 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/0.225, allocations: 0.7951 MB / 0.7473 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001466/0.2252, allocations: 38.95 kB / 0.7473 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.2253, allocations: 119.4 kB / 0.7474 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of SimCode: time 1.593e-06/0.2253, allocations: 0 / 0.7474 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04217/0.2675, allocations: 8.146 MB / 0.7554 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.41, allocations: 2.781 kB / 0.7554 GB, free: 5.379 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.099551799008623] Failed to read output from testmodel.py, exit status != 0: 12.519703869940713 12.826098641 12.617003293 Calling exit ...