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.0008743/0.0008743, 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.001031/0.001031, 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.9254/0.9254, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7508/0.7508, allocations: 154.6 MB / 413.7 MB, free: 0.832 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.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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.569e-05, allocations: 2.281 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.InternalResistancesTwoUTube): time 0.002439/0.002465, allocations: 1.431 MB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003263/0.005728, allocations: 2.665 MB / 0.6221 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.954e-05/0.005778, allocations: 4 kB / 0.6221 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.241e-05/0.0058, allocations: 3.938 kB / 0.6222 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.873e-05/0.005859, allocations: 23.78 kB / 0.6222 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.003407/0.009267, allocations: 1.655 MB / 0.6238 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.009389, allocations: 47.61 kB / 0.6238 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.009434, allocations: 4 kB / 0.6238 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.693e-05/0.009481, allocations: 23.97 kB / 0.6239 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.389e-05/0.009505, allocations: 11.94 kB / 0.6239 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.009516, allocations: 0 / 0.6239 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.0116, allocations: 1.493 MB / 0.6253 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.01161, allocations: 4 kB / 0.6253 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.01164, allocations: 11.94 kB / 0.6253 GB, free: 6.242 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.01319, allocations: 1.27 MB / 0.6266 GB, free: 4.969 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.01319, allocations: 3.938 kB / 0.6266 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.453e-06/0.0132, allocations: 0 / 0.6266 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.0132, allocations: 0 / 0.6266 GB, free: 4.965 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.0005682/0.01377, allocations: 480 kB / 0.6271 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.01381, allocations: 12.02 kB / 0.6271 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.213e-05/0.01385, allocations: 110 kB / 0.6272 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/0.01391, allocations: 84.17 kB / 0.6272 GB, free: 4.254 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.01417, allocations: 196.9 kB / 0.6274 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/0.0142, allocations: 150.9 kB / 0.6276 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.01424, allocations: 154.9 kB / 0.6277 GB, free: 3.734 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.004e-05/0.0143, allocations: 105.5 kB / 0.6278 GB, free: 3.625 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.01433, allocations: 75.47 kB / 0.6279 GB, free: 3.551 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/0.01436, allocations: 154.5 kB / 0.628 GB, free: 3.398 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-05/0.0144, allocations: 154.6 kB / 0.6282 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.865e-05/0.01444, allocations: 158.5 kB / 0.6283 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002161/0.01466, allocations: 437 kB / 0.6288 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.846e-05/0.01472, allocations: 173.2 kB / 0.6289 GB, free: 2.441 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.01475, allocations: 80.14 kB / 0.629 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.01477, allocations: 75.28 kB / 0.6291 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.0148, allocations: 105.8 kB / 0.6292 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.021e-06/0.01481, allocations: 0 / 0.6292 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 6.868e-05/0.01487, allocations: 41.53 kB / 0.6292 GB, free: 2.125 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.01492, allocations: 130.7 kB / 0.6293 GB, free: 1.984 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.01504, allocations: 140.1 kB / 0.6295 GB, free: 1.84 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.01505, allocations: 25.7 kB / 0.6295 GB, free: 1.809 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.01509, allocations: 92.14 kB / 0.6296 GB, free: 1.715 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.0151, allocations: 4 kB / 0.6296 GB, free: 1.711 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.01513, allocations: 17.7 kB / 0.6296 GB, free: 1.688 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.696e-05/0.0152, allocations: 314.8 kB / 0.6299 GB, free: 1.371 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.444e-05/0.01523, allocations: 4 kB / 0.6299 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.408e-05/0.01524, allocations: 8 kB / 0.6299 GB, free: 1.359 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.567e-05/0.01528, allocations: 16.84 kB / 0.6299 GB, free: 1.34 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01528, allocations: 0 / 0.6299 GB, free: 1.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001101/0.01539, allocations: 53.59 kB / 0.63 GB, free: 1.281 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.01541, allocations: 11.94 kB / 0.63 GB, free: 1.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.01542, allocations: 4 kB / 0.63 GB, free: 1.266 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.01544, allocations: 4.062 kB / 0.63 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-06/0.01544, allocations: 0 / 0.63 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.01544, allocations: 0 / 0.63 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.01546, allocations: 0 / 0.63 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.01547, allocations: 4.062 kB / 0.63 GB, free: 1.258 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.97e-05/0.01555, allocations: 188 kB / 0.6302 GB, free: 1.066 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.01559, allocations: 116.9 kB / 0.6303 GB, free: 0.9453 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/0.01563, allocations: 112.7 kB / 0.6304 GB, free: 0.8281 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.215e-05/0.01568, allocations: 184.3 kB / 0.6306 GB, free: 0.6406 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.38e-05/0.01572, allocations: 184.2 kB / 0.6308 GB, free: 464 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.294e-05/0.01576, allocations: 188.2 kB / 0.6309 GB, free: 268 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.01592, allocations: 380.2 kB / 0.6313 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.451e-05/0.01595, allocations: 105 kB / 0.6314 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.432e-05/0.01597, allocations: 105 kB / 0.6315 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.192e-05/0.01601, allocations: 184.2 kB / 0.6317 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.524e-05/0.01606, allocations: 188.2 kB / 0.6319 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.819e-05/0.0161, allocations: 180.2 kB / 0.632 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.836e-05/0.01615, allocations: 180.3 kB / 0.6322 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.01625, allocations: 315.7 kB / 0.6325 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.01628, allocations: 108.9 kB / 0.6326 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.378e-05/0.01633, allocations: 184.1 kB / 0.6328 GB, free: 14.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.612e-05/0.01638, allocations: 105.3 kB / 0.6329 GB, free: 14.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.01643, allocations: 180.3 kB / 0.6331 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.01645, allocations: 108.9 kB / 0.6332 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.406e-05/0.0165, allocations: 99.27 kB / 0.6333 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.0165, allocations: 4 kB / 0.6333 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006663/0.01716, allocations: 294.9 kB / 0.6335 GB, free: 13.45 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.001268/0.01843, allocations: 1.229 MB / 0.6347 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.629e-05/0.01853, allocations: 45.62 kB / 0.6348 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.01853, allocations: 4 kB / 0.6348 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.01853, allocations: 0 / 0.6348 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.01883, allocations: 461.7 kB / 0.6352 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.01989, allocations: 1.583 MB / 0.6368 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.102e-05/0.01994, allocations: 71.44 kB / 0.6368 GB, free: 9.918 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.859e-05/0.01996, allocations: 0 / 0.6368 GB, free: 9.918 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.01999, allocations: 16.48 kB / 0.6369 GB, free: 9.898 MB / 0.6042 GB Notification: Performance of SimCode: time 9.51e-07/0.01999, allocations: 0 / 0.6369 GB, free: 9.898 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.04364, allocations: 8.007 MB / 0.6447 GB, free: 2.121 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.352/7.395, allocations: 7.438 kB / 0.6447 GB, free: 2.117 MB / 0.6042 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.335871831513941] Failed to read output from testmodel.py, exit status != 0: 7.48206827417016 7.491255629 7.475826292 Calling exit ...