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.001078/0.001078, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008589/0.0008589, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8564/0.8564, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.554/0.554, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.5542 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.261e-05, allocations: 4.672 kB / 0.5542 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002721/0.002733, allocations: 2.842 MB / 0.557 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001915/0.004648, allocations: 1.958 MB / 0.5589 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.0048, allocations: 4 kB / 0.5589 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.005821, allocations: 481.6 kB / 0.5594 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.005997, allocations: 150.7 kB / 0.5595 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 8.809e-05/0.006085, allocations: 59.92 kB / 0.5596 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003587/0.006443, allocations: 461.6 kB / 0.56 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.006606, allocations: 99.83 kB / 0.5601 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.006878, allocations: 251.4 kB / 0.5604 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.007017, allocations: 131.6 kB / 0.5605 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.007046, allocations: 36 kB / 0.5605 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 3.289e-05/0.007079, allocations: 32 kB / 0.5606 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.096e-05/0.00716, allocations: 99.67 kB / 0.5607 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.242e-05/0.007252, allocations: 139.6 kB / 0.5608 GB, free: 12 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.007613, allocations: 0.5412 MB / 0.5613 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.007615, allocations: 0 / 0.5613 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.172e-06/0.007616, allocations: 0 / 0.5613 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.007623, allocations: 0 / 0.5613 GB, free: 11.45 MB / 0.5261 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.0007215/0.008344, allocations: 0.6291 MB / 0.5619 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.00838, allocations: 8.625 kB / 0.5619 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.706e-05/0.008427, allocations: 62.66 kB / 0.562 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.475e-05/0.008482, allocations: 44.66 kB / 0.562 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.00885, allocations: 323.8 kB / 0.5624 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.008865, allocations: 16.88 kB / 0.5624 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.008893, allocations: 20.31 kB / 0.5624 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.009149, allocations: 212 kB / 0.5626 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.009162, allocations: 4 kB / 0.5626 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.009177, allocations: 12 kB / 0.5626 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.009183, allocations: 4 kB / 0.5626 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.009406, allocations: 157.9 kB / 0.5628 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007301/0.01014, allocations: 0.6827 MB / 0.5634 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.01033, allocations: 146.5 kB / 0.5636 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.01045, allocations: 97.12 kB / 0.5637 GB, free: 8.934 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.01047, allocations: 7.906 kB / 0.5637 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.01049, allocations: 42.55 kB / 0.5637 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.092e-06/0.01049, allocations: 0 / 0.5637 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0003668/0.01086, allocations: 255.1 kB / 0.564 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.01089, allocations: 55.41 kB / 0.564 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.01119, allocations: 417.7 kB / 0.5644 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.0112, allocations: 25.7 kB / 0.5644 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.353e-05/0.01129, allocations: 208.4 kB / 0.5646 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.01134, allocations: 63.44 kB / 0.5647 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.01138, allocations: 37.7 kB / 0.5647 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.684e-05/0.01146, allocations: 346.8 kB / 0.5651 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.244e-05/0.01155, allocations: 59.97 kB / 0.5651 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-05/0.01162, allocations: 51.97 kB / 0.5652 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.01178, allocations: 138.8 kB / 0.5653 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.01179, allocations: 0 / 0.5653 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002137/0.012, allocations: 213.3 kB / 0.5655 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.01201, allocations: 11.94 kB / 0.5655 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.01202, allocations: 0 / 0.5655 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.01203, allocations: 0 / 0.5655 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.01216, allocations: 47.97 kB / 0.5656 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.01217, allocations: 4 kB / 0.5656 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.066e-05/0.01224, allocations: 19.88 kB / 0.5656 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.01225, allocations: 4 kB / 0.5656 GB, free: 6.895 MB / 0.5261 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.0001004/0.01235, allocations: 165.8 kB / 0.5657 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.01238, allocations: 47.66 kB / 0.5658 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.789e-05/0.01243, allocations: 43.47 kB / 0.5658 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01243, allocations: 4 kB / 0.5658 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.01244, allocations: 0 / 0.5658 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01244, allocations: 3.984 kB / 0.5658 GB, free: 6.625 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.01273, allocations: 308.5 kB / 0.5661 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01273, allocations: 0 / 0.5661 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.01286, allocations: 63.89 kB / 0.5662 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.01286, allocations: 0 / 0.5662 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.01287, allocations: 3.938 kB / 0.5662 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.01288, allocations: 8 kB / 0.5662 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01288, allocations: 0 / 0.5662 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003483/0.01323, allocations: 383.7 kB / 0.5666 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.01327, allocations: 39.73 kB / 0.5666 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.0133, allocations: 11.92 kB / 0.5666 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.061e-05/0.01338, allocations: 12 kB / 0.5666 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.01341, allocations: 11.97 kB / 0.5666 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.01342, allocations: 8.062 kB / 0.5666 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002009/0.01362, allocations: 303.2 kB / 0.5669 GB, free: 5.445 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.01362, allocations: 0 / 0.5669 GB, free: 5.445 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001988/0.01382, allocations: 75.83 kB / 0.567 GB, free: 5.371 MB / 0.5261 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.0004873/0.01431, allocations: 0.9113 MB / 0.5679 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.01452, allocations: 139.9 kB / 0.568 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01452, allocations: 0 / 0.568 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.58e-05/0.01461, allocations: 77.94 kB / 0.5681 GB, free: 4.223 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.01494, allocations: 95.19 kB / 0.5682 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.01786, allocations: 3.435 MB / 0.5716 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.01797, allocations: 198.4 kB / 0.5717 GB, free: 404 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.549e-05/0.01806, allocations: 30.97 kB / 0.5718 GB, free: 372 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.01816, allocations: 120.5 kB / 0.5719 GB, free: 252 kB / 0.5261 GB Notification: Performance of SimCode: time 5.01e-07/0.01816, allocations: 0 / 0.5719 GB, free: 252 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.03861, allocations: 9.089 MB / 0.5808 GB, free: 7.484 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.748/6.787, allocations: 6.656 kB / 0.5808 GB, free: 7.48 MB / 0.5417 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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: 9.223809239454567] Failed to read output from testmodel.py, exit status != 0: 6.870048296637833 6.879218176 6.869955161 Calling exit ...