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.InternalResistancesOneUTubeNegative.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.0008931/0.0008931, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0008364/0.0008364, allocations: 165.9 kB / 22.46 MB, free: 2.098 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.9093/0.9093, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.73/0.73, allocations: 154.6 MB / 413.7 MB, free: 0.8164 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.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.584e-05, allocations: 4.953 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001879/0.001895, allocations: 1.43 MB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003136/0.005031, allocations: 2.641 MB / 0.6221 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.941e-05/0.00508, allocations: 0 / 0.6221 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.005102, allocations: 7.922 kB / 0.6221 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.079e-05/0.005153, allocations: 11.86 kB / 0.6221 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002719/0.007872, allocations: 1.628 MB / 0.6237 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.453e-05/0.007956, allocations: 47.67 kB / 0.6238 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.551e-05/0.007992, allocations: 4 kB / 0.6238 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.572e-05/0.008027, allocations: 19.98 kB / 0.6238 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.661e-05/0.008054, allocations: 11.94 kB / 0.6238 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.008066, allocations: 3.938 kB / 0.6238 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.009619, allocations: 1.454 MB / 0.6252 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.009637, allocations: 8 kB / 0.6252 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.009665, allocations: 15.92 kB / 0.6252 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.01094, allocations: 1.231 MB / 0.6264 GB, free: 5.125 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.01094, allocations: 0 / 0.6264 GB, free: 5.125 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.22e-07/0.01094, allocations: 4 kB / 0.6265 GB, free: 5.121 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.01094, allocations: 0 / 0.6265 GB, free: 5.121 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005159/0.01146, allocations: 472 kB / 0.6269 GB, free: 4.629 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.0115, allocations: 8.031 kB / 0.6269 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.01153, allocations: 106 kB / 0.627 GB, free: 4.508 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.01158, allocations: 80.22 kB / 0.6271 GB, free: 4.43 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.878e-05/0.01167, allocations: 207.5 kB / 0.6273 GB, free: 4.203 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.913e-05/0.01171, allocations: 154.9 kB / 0.6274 GB, free: 4.051 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.01176, allocations: 154.9 kB / 0.6276 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.092e-05/0.01181, allocations: 101.5 kB / 0.6277 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.01183, allocations: 79.47 kB / 0.6278 GB, free: 3.715 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.051e-05/0.01187, allocations: 166.4 kB / 0.6279 GB, free: 3.551 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/0.01191, allocations: 150.6 kB / 0.6281 GB, free: 3.402 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.844e-05/0.01194, allocations: 150.6 kB / 0.6282 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/0.01216, allocations: 429 kB / 0.6286 GB, free: 2.793 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.947e-05/0.01223, allocations: 181.1 kB / 0.6288 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.688e-05/0.01226, allocations: 84.14 kB / 0.6289 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.01228, allocations: 75.28 kB / 0.6289 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.01231, allocations: 105.8 kB / 0.629 GB, free: 2.332 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 5.51e-07/0.01231, allocations: 4 kB / 0.629 GB, free: 2.328 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.774e-05/0.01237, allocations: 33.62 kB / 0.6291 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.01242, allocations: 134.6 kB / 0.6292 GB, free: 2.145 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.01253, allocations: 137.8 kB / 0.6293 GB, free: 2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.01253, allocations: 25.7 kB / 0.6294 GB, free: 1.969 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.01257, allocations: 84.14 kB / 0.6294 GB, free: 1.883 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.01257, allocations: 0 / 0.6294 GB, free: 1.883 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.0126, allocations: 25.7 kB / 0.6295 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.629e-05/0.01268, allocations: 310.8 kB / 0.6298 GB, free: 1.539 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.0127, allocations: 8 kB / 0.6298 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/0.01271, allocations: 4 kB / 0.6298 GB, free: 1.527 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.012e-05/0.01274, allocations: 12.84 kB / 0.6298 GB, free: 1.512 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01274, allocations: 4.031 kB / 0.6298 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.463e-05/0.01283, allocations: 49.59 kB / 0.6298 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.01285, allocations: 11.94 kB / 0.6298 GB, free: 1.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.01286, allocations: 0 / 0.6298 GB, free: 1.441 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.01287, allocations: 4 kB / 0.6298 GB, free: 1.438 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-07/0.01287, allocations: 3.938 kB / 0.6298 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.01288, allocations: 0 / 0.6298 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.315e-05/0.01289, allocations: 0 / 0.6298 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.0129, allocations: 3.984 kB / 0.6299 GB, free: 1.43 MB / 0.5886 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.256e-05/0.01297, allocations: 186.1 kB / 0.63 GB, free: 1.238 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.01301, allocations: 117 kB / 0.6301 GB, free: 1.117 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.01305, allocations: 116.7 kB / 0.6303 GB, free: 0.9961 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.223e-05/0.01309, allocations: 180.3 kB / 0.6304 GB, free: 0.8125 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.284e-05/0.01313, allocations: 180.2 kB / 0.6306 GB, free: 0.6289 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.216e-05/0.01317, allocations: 180.2 kB / 0.6308 GB, free: 456 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.01332, allocations: 384.3 kB / 0.6311 GB, free: 20 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.504e-05/0.01336, allocations: 108.9 kB / 0.6312 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.602e-05/0.01338, allocations: 105 kB / 0.6313 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.206e-05/0.01343, allocations: 180.2 kB / 0.6315 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.457e-05/0.01347, allocations: 184.1 kB / 0.6317 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.225e-05/0.01351, allocations: 184.3 kB / 0.6319 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.853e-05/0.01356, allocations: 184.2 kB / 0.632 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.01367, allocations: 311.8 kB / 0.6323 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.182e-05/0.0137, allocations: 108.9 kB / 0.6324 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.01375, allocations: 188.2 kB / 0.6326 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.764e-05/0.01383, allocations: 105.2 kB / 0.6327 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.01387, allocations: 180.2 kB / 0.6329 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.01389, allocations: 108.9 kB / 0.633 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.983e-05/0.01393, allocations: 97.14 kB / 0.6331 GB, free: 13.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4e-08/0.01393, allocations: 0 / 0.6331 GB, free: 13.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000484/0.01442, allocations: 295 kB / 0.6334 GB, free: 13.63 MB / 0.6042 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.001019/0.01544, allocations: 1.217 MB / 0.6346 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.44e-05/0.01552, allocations: 33.7 kB / 0.6346 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.01552, allocations: 0 / 0.6346 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/0.01552, allocations: 7.938 kB / 0.6346 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.01581, allocations: 463.7 kB / 0.635 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.01695, allocations: 1.573 MB / 0.6366 GB, free: 10.22 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.153e-05/0.01699, allocations: 67.33 kB / 0.6366 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.192e-05/0.017, allocations: 4.031 kB / 0.6366 GB, free: 10.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.01703, allocations: 16.5 kB / 0.6367 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of SimCode: time 9.72e-07/0.01703, allocations: 0 / 0.6367 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/0.03792, allocations: 7.797 MB / 0.6443 GB, free: 2.551 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.889/6.927, allocations: 9.875 kB / 0.6443 GB, free: 2.543 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.815350204706192] Failed to read output from testmodel.py, exit status != 0: 7.008966283872724 7.017883854 7.005230606 Calling exit ...