Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.000717/0.000717, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007374/0.0007374, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8531/0.8531, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7191/0.7191, allocations: 154.6 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.909e-06/1.108e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003329/0.00334, allocations: 3.784 MB / 0.6218 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.005207, allocations: 2.234 MB / 0.624 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.00538, allocations: 8 kB / 0.624 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0009521/0.006332, allocations: 0.5206 MB / 0.6245 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.006564, allocations: 253.8 kB / 0.6247 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.006692, allocations: 139.8 kB / 0.6249 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004752/0.007167, allocations: 0.8444 MB / 0.6257 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.007406, allocations: 215 kB / 0.6259 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003494/0.007755, allocations: 463 kB / 0.6263 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004294/0.008185, allocations: 239.3 kB / 0.6266 GB, free: 4.957 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.213e-05/0.008237, allocations: 72 kB / 0.6266 GB, free: 4.887 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.938e-05/0.008296, allocations: 76 kB / 0.6267 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.008404, allocations: 179.3 kB / 0.6269 GB, free: 4.637 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.008552, allocations: 259.5 kB / 0.6271 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005501/0.009103, allocations: 0.993 MB / 0.6281 GB, free: 3.387 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.009105, allocations: 4 kB / 0.6281 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.92e-07/0.009106, allocations: 4 kB / 0.6281 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.009113, allocations: 0 / 0.6281 GB, free: 3.379 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0008335/0.009946, allocations: 0.8821 MB / 0.629 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.009979, allocations: 13.47 kB / 0.629 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.984e-05/0.01005, allocations: 86.7 kB / 0.6291 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.58e-05/0.01011, allocations: 80.47 kB / 0.6291 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.0105, allocations: 395.5 kB / 0.6295 GB, free: 1.871 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.01052, allocations: 41.38 kB / 0.6296 GB, free: 1.832 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/0.01057, allocations: 44.38 kB / 0.6296 GB, free: 1.789 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/0.01101, allocations: 427 kB / 0.63 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.01103, allocations: 4.141 kB / 0.63 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.01106, allocations: 28.06 kB / 0.63 GB, free: 1.336 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.01107, allocations: 15.98 kB / 0.6301 GB, free: 1.32 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004201/0.01149, allocations: 363.8 kB / 0.6304 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.01267, allocations: 1.245 MB / 0.6316 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.01299, allocations: 319.2 kB / 0.6319 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.01328, allocations: 288.8 kB / 0.6322 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.0133, allocations: 7.984 kB / 0.6322 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.01332, allocations: 38.56 kB / 0.6322 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 1.343e-06/0.01332, allocations: 0 / 0.6322 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.0005546/0.01388, allocations: 497.4 kB / 0.6327 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.0139, allocations: 67.34 kB / 0.6328 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.01424, allocations: 481.9 kB / 0.6332 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.01426, allocations: 37.7 kB / 0.6333 GB, free: 13.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.01461, allocations: 272.7 kB / 0.6335 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.557e-05/0.01469, allocations: 154.6 kB / 0.6337 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.07e-05/0.01475, allocations: 62.08 kB / 0.6337 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.01484, allocations: 367.5 kB / 0.6341 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.01499, allocations: 124.7 kB / 0.6342 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.01512, allocations: 121.5 kB / 0.6343 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.01543, allocations: 298.2 kB / 0.6346 GB, free: 12.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01543, allocations: 0 / 0.6346 GB, free: 12.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003898/0.01582, allocations: 396.5 kB / 0.635 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.01584, allocations: 6.188 kB / 0.635 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01584, allocations: 7.875 kB / 0.635 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.01585, allocations: 4 kB / 0.635 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.01611, allocations: 131.8 kB / 0.6351 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.01612, allocations: 0 / 0.6351 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.899e-05/0.01622, allocations: 35.73 kB / 0.6352 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.01623, allocations: 15.98 kB / 0.6352 GB, free: 11.94 MB / 0.6042 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 (46): * Single equations (assignments): 46 * 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.0001334/0.01637, allocations: 193.7 kB / 0.6354 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.01641, allocations: 51.67 kB / 0.6354 GB, free: 11.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.047e-05/0.01647, allocations: 69.03 kB / 0.6355 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.01647, allocations: 4 kB / 0.6355 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01647, allocations: 0 / 0.6355 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.01648, allocations: 7.984 kB / 0.6355 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/0.01684, allocations: 484.3 kB / 0.636 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.01684, allocations: 0 / 0.636 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.01709, allocations: 127.8 kB / 0.6361 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.0171, allocations: 4 kB / 0.6361 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.01711, allocations: 7.938 kB / 0.6361 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.01711, allocations: 4 kB / 0.6361 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01711, allocations: 0 / 0.6361 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005824/0.0177, allocations: 0.6559 MB / 0.6367 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.184e-05/0.01776, allocations: 59.64 kB / 0.6368 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.01779, allocations: 11.94 kB / 0.6368 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.01789, allocations: 15.98 kB / 0.6368 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.01794, allocations: 23.95 kB / 0.6368 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.01794, allocations: 8 kB / 0.6369 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002453/0.01819, allocations: 355.1 kB / 0.6372 GB, free: 9.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.01819, allocations: 3.938 kB / 0.6372 GB, free: 9.816 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002293/0.01842, allocations: 143.7 kB / 0.6373 GB, free: 9.676 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0007356/0.01916, allocations: 1.206 MB / 0.6385 GB, free: 8.441 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003422/0.0195, allocations: 312.3 kB / 0.6388 GB, free: 8.137 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.0195, allocations: 0 / 0.6388 GB, free: 8.137 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.01966, allocations: 167.8 kB / 0.639 GB, free: 7.973 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.02005, allocations: 130.9 kB / 0.6391 GB, free: 7.848 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004435/0.02448, allocations: 4.788 MB / 0.6438 GB, free: 2.969 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.02464, allocations: 271.2 kB / 0.644 GB, free: 2.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.02475, allocations: 60.34 kB / 0.6441 GB, free: 2.617 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.02492, allocations: 188.4 kB / 0.6443 GB, free: 2.434 MB / 0.6042 GB Notification: Performance of SimCode: time 5.31e-07/0.02492, allocations: 0 / 0.6443 GB, free: 2.434 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.04682, allocations: 12.73 MB / 0.6567 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.896/6.943, allocations: 0 / 0.6567 GB, free: 6.109 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.645562652498484] Failed to read output from testmodel.py, exit status != 0: 7.029735433869064 7.040297681 7.028811407 Calling exit ...