Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.0008856/0.0008856, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001139/0.001139, allocations: 209.2 kB / 22.24 MB, free: 3.57 MB / 13.93 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.9843/0.9843, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.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.8021/0.8021, allocations: 203.8 MB / 0.5042 GB, free: 10.41 MB / 410.7 MB " [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.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001305/0.001305, allocations: 70.78 kB / 0.7182 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5294/0.5307, allocations: 102 MB / 0.8179 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001826/0.5325, allocations: 1.44 MB / 0.8193 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003772/0.5363, allocations: 2.686 MB / 0.8219 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.5363, allocations: 1.469 kB / 0.8219 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.5364, allocations: 5.812 kB / 0.8219 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.492e-05/0.5364, allocations: 14.98 kB / 0.8219 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003613/0.54, allocations: 1.638 MB / 0.8235 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.5401, allocations: 45.05 kB / 0.8236 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.5402, allocations: 4.234 kB / 0.8236 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.935e-05/0.5402, allocations: 13.5 kB / 0.8236 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.948e-05/0.5402, allocations: 21.59 kB / 0.8236 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.5403, allocations: 1.156 kB / 0.8236 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002266/0.5425, allocations: 1.48 MB / 0.8251 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.5425, allocations: 5.812 kB / 0.8251 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.399e-05/0.5426, allocations: 21.42 kB / 0.8251 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.544, allocations: 1.101 MB / 0.8262 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.544, allocations: 5.219 kB / 0.8262 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.184e-06/0.544, allocations: 0 / 0.8262 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.544, allocations: 0 / 0.8262 GB, free: 12.8 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004876/0.5445, allocations: 475.1 kB / 0.8266 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.5446, allocations: 9.594 kB / 0.8266 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.5446, allocations: 106.9 kB / 0.8267 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.866e-05/0.5446, allocations: 79 kB / 0.8268 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.5447, allocations: 200.2 kB / 0.827 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.865e-05/0.5448, allocations: 156.1 kB / 0.8271 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.5448, allocations: 153.3 kB / 0.8273 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.452e-05/0.5449, allocations: 106.5 kB / 0.8274 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.5449, allocations: 79.28 kB / 0.8275 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/0.5449, allocations: 160.7 kB / 0.8276 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.261e-05/0.545, allocations: 150.6 kB / 0.8278 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.679e-05/0.545, allocations: 151.6 kB / 0.8279 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002228/0.5452, allocations: 436.8 kB / 0.8283 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.645e-05/0.5453, allocations: 170.5 kB / 0.8285 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.381e-05/0.5453, allocations: 82.09 kB / 0.8286 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.5454, allocations: 79.22 kB / 0.8286 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.5454, allocations: 108.2 kB / 0.8287 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.5454, allocations: 0.9062 kB / 0.8287 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.487e-05/0.5454, allocations: 44.69 kB / 0.8288 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.5455, allocations: 128.1 kB / 0.8289 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.5456, allocations: 131.5 kB / 0.829 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.5456, allocations: 25.7 kB / 0.8291 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.566e-05/0.5457, allocations: 92.42 kB / 0.8291 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.5457, allocations: 0 / 0.8291 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.5457, allocations: 17.58 kB / 0.8292 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.212e-05/0.5458, allocations: 318.1 kB / 0.8295 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.218e-05/0.5458, allocations: 8.938 kB / 0.8295 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.314e-05/0.5458, allocations: 2.875 kB / 0.8295 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.556e-05/0.5459, allocations: 20.05 kB / 0.8295 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5459, allocations: 4.031 kB / 0.8295 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001081/0.546, allocations: 58.61 kB / 0.8296 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.546, allocations: 5.078 kB / 0.8296 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.546, allocations: 7.281 kB / 0.8296 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.546, allocations: 1.859 kB / 0.8296 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.944e-06/0.546, allocations: 4.062 kB / 0.8296 GB, free: 9.324 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.546, allocations: 0 / 0.8296 GB, free: 9.324 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.775e-05/0.546, allocations: 5.844 kB / 0.8296 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.5461, allocations: 2.281 kB / 0.8296 GB, free: 9.32 MB / 0.6198 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.631e-05/0.5461, allocations: 183 kB / 0.8298 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.5462, allocations: 116.5 kB / 0.8299 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.747e-05/0.5462, allocations: 116.7 kB / 0.83 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.934e-05/0.5462, allocations: 178.3 kB / 0.8301 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.422e-05/0.5463, allocations: 187.7 kB / 0.8303 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.004e-05/0.5463, allocations: 178.2 kB / 0.8305 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.5465, allocations: 389.2 kB / 0.8309 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001054/0.5466, allocations: 107 kB / 0.831 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.258e-05/0.5466, allocations: 103.1 kB / 0.8311 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.734e-05/0.5466, allocations: 182.3 kB / 0.8312 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.143e-05/0.5467, allocations: 178.1 kB / 0.8314 GB, free: 7.352 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.62e-05/0.5467, allocations: 182.3 kB / 0.8316 GB, free: 7.168 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.119e-05/0.5467, allocations: 186 kB / 0.8318 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.974e-05/0.5468, allocations: 312.5 kB / 0.8321 GB, free: 6.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/0.5469, allocations: 108 kB / 0.8322 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.5469, allocations: 182.9 kB / 0.8323 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.728e-05/0.547, allocations: 107.1 kB / 0.8324 GB, free: 6.258 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.547, allocations: 178.5 kB / 0.8326 GB, free: 6.078 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.547, allocations: 110.7 kB / 0.8327 GB, free: 5.965 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.665e-05/0.5471, allocations: 97.53 kB / 0.8328 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5471, allocations: 0 / 0.8328 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007427/0.5478, allocations: 299.9 kB / 0.8331 GB, free: 5.809 MB / 0.6198 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 (0): * Single equations (assignments): 0 * 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.001057/0.5489, allocations: 1.187 MB / 0.8343 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.549, allocations: 44.23 kB / 0.8343 GB, free: 4.848 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.549, allocations: 0 / 0.8343 GB, free: 4.848 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.549, allocations: 0.7031 kB / 0.8343 GB, free: 4.848 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.5493, allocations: 469.3 kB / 0.8347 GB, free: 4.395 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.5506, allocations: 1.618 MB / 0.8363 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.595e-05/0.5506, allocations: 66.67 kB / 0.8364 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.997e-05/0.5506, allocations: 0.5312 kB / 0.8364 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.5507, allocations: 15.12 kB / 0.8364 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/0.5507, allocations: 0 / 0.8364 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02871/0.5794, allocations: 7.817 MB / 0.844 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.786/7.366, allocations: 9.312 kB / 0.844 GB, free: 15.81 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.553822795394808] Failed to read output from testmodel.py, exit status != 0: 7.4486649190075696 7.457621769 6.911674533 Calling exit ...