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.InternalResistancesTwoUTubeNegative.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.0007471/0.0007471, 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.0007271/0.0007271, allocations: 209.7 kB / 22.24 MB, free: 3.59 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.9114/0.9114, allocations: 230.6 MB / 256 MB, free: 9.594 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.7725/0.7725, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.0009268/0.0009268, allocations: 64.34 kB / 0.7183 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5259/0.5268, allocations: 102 MB / 0.8179 GB, free: 1.012 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002034/0.5289, allocations: 1.437 MB / 0.8193 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003897/0.5328, allocations: 2.683 MB / 0.8219 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.401e-05/0.5328, allocations: 0 / 0.8219 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.524e-05/0.5329, allocations: 5.859 kB / 0.8219 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.037e-05/0.5329, allocations: 19.83 kB / 0.8219 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003957/0.5369, allocations: 1.627 MB / 0.8235 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.5371, allocations: 45.3 kB / 0.8236 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.576e-05/0.5371, allocations: 3.578 kB / 0.8236 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.202e-05/0.5372, allocations: 18.64 kB / 0.8236 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.372e-05/0.5372, allocations: 17.02 kB / 0.8236 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.5372, allocations: 1.312 kB / 0.8236 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002854/0.5401, allocations: 1.48 MB / 0.825 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.5401, allocations: 10.02 kB / 0.8251 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.5402, allocations: 11.52 kB / 0.8251 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.5422, allocations: 1.107 MB / 0.8261 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.5422, allocations: 0 / 0.8261 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.686e-06/0.5422, allocations: 1.438 kB / 0.8262 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.5422, allocations: 0 / 0.8262 GB, free: 12.81 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.0008068/0.543, allocations: 479.9 kB / 0.8266 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.5431, allocations: 8.781 kB / 0.8266 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.359e-05/0.5431, allocations: 106 kB / 0.8267 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.67e-05/0.5432, allocations: 80.2 kB / 0.8268 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.5433, allocations: 206.7 kB / 0.827 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.5433, allocations: 152.2 kB / 0.8271 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.5434, allocations: 156.9 kB / 0.8273 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.216e-05/0.5434, allocations: 108.9 kB / 0.8274 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.5435, allocations: 76.53 kB / 0.8275 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/0.5435, allocations: 152.6 kB / 0.8276 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.91e-05/0.5435, allocations: 150.6 kB / 0.8278 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.384e-05/0.5436, allocations: 151.6 kB / 0.8279 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002511/0.5438, allocations: 432.7 kB / 0.8283 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.56e-05/0.5439, allocations: 183.7 kB / 0.8285 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.824e-05/0.5439, allocations: 84.14 kB / 0.8286 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.544, allocations: 80.25 kB / 0.8286 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.544, allocations: 112 kB / 0.8287 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.544, allocations: 0 / 0.8287 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.015e-05/0.5441, allocations: 36.86 kB / 0.8288 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.5441, allocations: 128.8 kB / 0.8289 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.5442, allocations: 132.1 kB / 0.829 GB, free: 9.848 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.5442, allocations: 25.7 kB / 0.8291 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.5443, allocations: 89.53 kB / 0.8291 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.5443, allocations: 0 / 0.8291 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.5443, allocations: 24.61 kB / 0.8292 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.559e-05/0.5444, allocations: 322.8 kB / 0.8295 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-05/0.5444, allocations: 3.438 kB / 0.8295 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.654e-05/0.5444, allocations: 4.234 kB / 0.8295 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.957e-05/0.5445, allocations: 16.03 kB / 0.8295 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5445, allocations: 0 / 0.8295 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001226/0.5446, allocations: 57.97 kB / 0.8296 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.5446, allocations: 6.156 kB / 0.8296 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.5446, allocations: 3.375 kB / 0.8296 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.5447, allocations: 0.6562 kB / 0.8296 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.773e-06/0.5447, allocations: 1.156 kB / 0.8296 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.5447, allocations: 4.062 kB / 0.8296 GB, free: 9.324 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.5447, allocations: 5.656 kB / 0.8296 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.5447, allocations: 1.125 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 7.791e-05/0.5448, allocations: 187.9 kB / 0.8298 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.5448, allocations: 113 kB / 0.8299 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.304e-05/0.5449, allocations: 112.9 kB / 0.83 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-05/0.5449, allocations: 178.2 kB / 0.8301 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.714e-05/0.545, allocations: 186.1 kB / 0.8303 GB, free: 8.531 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.432e-05/0.545, allocations: 182.5 kB / 0.8305 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.5452, allocations: 385.3 kB / 0.8309 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.761e-05/0.5452, allocations: 111 kB / 0.831 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.759e-05/0.5452, allocations: 106.8 kB / 0.8311 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.774e-05/0.5453, allocations: 186.4 kB / 0.8312 GB, free: 7.523 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.465e-05/0.5453, allocations: 178.2 kB / 0.8314 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.295e-05/0.5454, allocations: 178.1 kB / 0.8316 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.521e-05/0.5454, allocations: 182.2 kB / 0.8318 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.5455, allocations: 316.5 kB / 0.8321 GB, free: 6.656 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.5455, allocations: 108.8 kB / 0.8322 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.943e-05/0.5456, allocations: 178.8 kB / 0.8323 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.254e-05/0.5457, allocations: 106.6 kB / 0.8324 GB, free: 6.258 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.5457, allocations: 183.1 kB / 0.8326 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.5457, allocations: 118.5 kB / 0.8327 GB, free: 5.953 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.66e-05/0.5458, allocations: 99.14 kB / 0.8328 GB, free: 5.875 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5458, allocations: 1.375 kB / 0.8328 GB, free: 5.875 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001043/0.5468, allocations: 297.7 kB / 0.8331 GB, free: 5.797 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.001421/0.5482, allocations: 1.189 MB / 0.8343 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.5484, allocations: 44.25 kB / 0.8343 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5484, allocations: 0 / 0.8343 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.5484, allocations: 1.219 kB / 0.8343 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.5488, allocations: 461.8 kB / 0.8347 GB, free: 4.387 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.5502, allocations: 1.609 MB / 0.8363 GB, free: 2.938 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.995e-05/0.5503, allocations: 67.02 kB / 0.8364 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.248e-05/0.5503, allocations: 4.5 kB / 0.8364 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.5503, allocations: 19.33 kB / 0.8364 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of SimCode: time 9.42e-07/0.5503, allocations: 0 / 0.8364 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.578, allocations: 7.825 MB / 0.844 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.84/7.418, allocations: 7.812 kB / 0.8441 GB, free: 15.82 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_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_InternalResistancesTwoUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.314929871354252] Failed to read output from testmodel.py, exit status != 0: 7.50176980625838 7.515198511 6.970805348 Calling exit ...