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.0008407/0.0008407, 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.0008749/0.0008749, allocations: 169.9 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.8775/0.8775, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7224/0.7224, allocations: 154.6 MB / 413.7 MB, free: 0.8047 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.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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.85e-05, allocations: 5.656 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001668/0.001687, allocations: 1.439 MB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003124/0.004811, allocations: 2.665 MB / 0.6222 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.837e-05/0.004849, allocations: 4 kB / 0.6222 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.146e-05/0.00487, allocations: 7.922 kB / 0.6222 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.476e-05/0.004925, allocations: 11.86 kB / 0.6222 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002682/0.007608, allocations: 1.662 MB / 0.6238 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.281e-05/0.00768, allocations: 47.67 kB / 0.6238 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.107e-05/0.007711, allocations: 0 / 0.6238 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.337e-05/0.007745, allocations: 23.92 kB / 0.6239 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.131e-05/0.007766, allocations: 11.98 kB / 0.6239 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.007778, allocations: 4 kB / 0.6239 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.009197, allocations: 1.485 MB / 0.6253 GB, free: 6.262 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.009209, allocations: 11.92 kB / 0.6253 GB, free: 6.25 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.009234, allocations: 11.94 kB / 0.6254 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.01036, allocations: 1.27 MB / 0.6266 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.01036, allocations: 3.938 kB / 0.6266 GB, free: 4.961 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.923e-06/0.01036, allocations: 3.984 kB / 0.6266 GB, free: 4.957 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.01037, allocations: 4 kB / 0.6266 GB, free: 4.953 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.0004189/0.01079, allocations: 472 kB / 0.6271 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.01082, allocations: 12.03 kB / 0.6271 GB, free: 4.449 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.574e-05/0.01086, allocations: 106 kB / 0.6272 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.0109, allocations: 80.17 kB / 0.6272 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.973e-05/0.01099, allocations: 201 kB / 0.6274 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.01103, allocations: 150.9 kB / 0.6276 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.01106, allocations: 154.9 kB / 0.6277 GB, free: 3.734 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.796e-05/0.01111, allocations: 105.5 kB / 0.6278 GB, free: 3.625 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.01113, allocations: 75.47 kB / 0.6279 GB, free: 3.551 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.01117, allocations: 158.5 kB / 0.6281 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/0.0112, allocations: 150.6 kB / 0.6282 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.35e-05/0.01123, allocations: 150.6 kB / 0.6283 GB, free: 3.098 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.01142, allocations: 433 kB / 0.6288 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.246e-05/0.01148, allocations: 177.1 kB / 0.6289 GB, free: 2.449 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.473e-05/0.01151, allocations: 84.14 kB / 0.629 GB, free: 2.363 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.01153, allocations: 79.28 kB / 0.6291 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.01156, allocations: 105.8 kB / 0.6292 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 6.01e-07/0.01156, allocations: 0 / 0.6292 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.744e-05/0.01161, allocations: 37.59 kB / 0.6292 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.01166, allocations: 130.6 kB / 0.6293 GB, free: 1.988 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.01176, allocations: 144 kB / 0.6295 GB, free: 1.84 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.01177, allocations: 25.7 kB / 0.6295 GB, free: 1.809 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/0.01181, allocations: 92.12 kB / 0.6296 GB, free: 1.715 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.01181, allocations: 0 / 0.6296 GB, free: 1.715 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.01183, allocations: 17.72 kB / 0.6296 GB, free: 1.691 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.511e-05/0.01191, allocations: 322.8 kB / 0.6299 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.01193, allocations: 4 kB / 0.6299 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.269e-05/0.01194, allocations: 4 kB / 0.6299 GB, free: 1.359 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.04e-05/0.01197, allocations: 12.86 kB / 0.6299 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01197, allocations: 0 / 0.6299 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.712e-05/0.01207, allocations: 57.62 kB / 0.63 GB, free: 1.281 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.01208, allocations: 11.92 kB / 0.63 GB, free: 1.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.0121, allocations: 4 kB / 0.63 GB, free: 1.266 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.01211, allocations: 0 / 0.63 GB, free: 1.266 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.01211, allocations: 0 / 0.63 GB, free: 1.266 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.01212, allocations: 0 / 0.63 GB, free: 1.266 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.387e-05/0.01213, allocations: 4 kB / 0.63 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.01214, allocations: 64 / 0.63 GB, free: 1.262 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 6.573e-05/0.0122, allocations: 190.1 kB / 0.6302 GB, free: 1.066 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.01224, allocations: 112.9 kB / 0.6303 GB, free: 0.9492 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.01227, allocations: 124.7 kB / 0.6304 GB, free: 0.8203 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.46e-05/0.01231, allocations: 176.3 kB / 0.6306 GB, free: 0.6406 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001893/0.0125, allocations: 184.2 kB / 0.6308 GB, free: 464 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.254e-05/0.01254, allocations: 184.2 kB / 0.6309 GB, free: 272 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.0127, allocations: 384.3 kB / 0.6313 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.599e-05/0.01272, allocations: 104.9 kB / 0.6314 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.238e-05/0.01274, allocations: 105 kB / 0.6315 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.313e-05/0.01279, allocations: 176.3 kB / 0.6317 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.48e-05/0.01283, allocations: 188.1 kB / 0.6319 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.882e-05/0.01287, allocations: 180.3 kB / 0.632 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.229e-05/0.01291, allocations: 188.2 kB / 0.6322 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.219e-05/0.01301, allocations: 311.7 kB / 0.6325 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.01304, allocations: 112.9 kB / 0.6326 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.268e-05/0.01309, allocations: 188.2 kB / 0.6328 GB, free: 14.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.716e-05/0.01314, allocations: 105.2 kB / 0.6329 GB, free: 14.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.01319, allocations: 176.3 kB / 0.6331 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.01321, allocations: 112.9 kB / 0.6332 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.144e-05/0.01325, allocations: 101.3 kB / 0.6333 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.01325, allocations: 0 / 0.6333 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004602/0.01371, allocations: 302.9 kB / 0.6335 GB, free: 13.44 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.0009058/0.01462, allocations: 1.229 MB / 0.6347 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.048e-05/0.0147, allocations: 37.64 kB / 0.6348 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.0147, allocations: 0 / 0.6348 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.815e-06/0.0147, allocations: 7.938 kB / 0.6348 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.01497, allocations: 463.7 kB / 0.6352 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009054/0.01587, allocations: 1.584 MB / 0.6368 GB, free: 10 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.754e-05/0.01591, allocations: 67.33 kB / 0.6368 GB, free: 9.918 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.105e-05/0.01592, allocations: 7.938 kB / 0.6369 GB, free: 9.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/0.01594, allocations: 12.5 kB / 0.6369 GB, free: 9.895 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/0.01594, allocations: 0 / 0.6369 GB, free: 9.895 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.03357, allocations: 8.001 MB / 0.6447 GB, free: 2.125 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.227/7.26, allocations: 8.859 kB / 0.6447 GB, free: 2.121 MB / 0.6042 GB " [Timeout remaining time 653] (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.039263068698347] Failed to read output from testmodel.py, exit status != 0: 7.342594283632934 7.357496666 7.3445730000000005 Calling exit ...