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.InternalResistancesOneUTube.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: 80.44 kB / 19.17 MB, free: 0.7461 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.001413/0.001413, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9345/0.9345, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.7847/0.7847, allocations: 154.5 MB / 413.7 MB, free: 0.8359 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.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.456e-06/3.456e-06, allocations: 0 / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.617e-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.InternalResistancesOneUTube): time 0.00295/0.002976, allocations: 1.43 MB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.004419/0.007396, allocations: 2.633 MB / 0.6221 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.007428, allocations: 0 / 0.6221 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.091e-05/0.007449, allocations: 3.938 kB / 0.6221 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.007516, allocations: 19.84 kB / 0.6221 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.003365/0.01088, allocations: 1.624 MB / 0.6237 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.636e-05/0.01097, allocations: 43.67 kB / 0.6238 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.01101, allocations: 4 kB / 0.6238 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.3e-05/0.01106, allocations: 11.98 kB / 0.6238 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.213e-05/0.0111, allocations: 19.92 kB / 0.6238 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.01111, allocations: 0 / 0.6238 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002024/0.01314, allocations: 1.462 MB / 0.6252 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.01315, allocations: 0 / 0.6252 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.01318, allocations: 11.94 kB / 0.6252 GB, free: 6.355 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.015, allocations: 1.243 MB / 0.6265 GB, free: 5.109 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.015, allocations: 0 / 0.6265 GB, free: 5.109 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.385e-06/0.01501, allocations: 3.938 kB / 0.6265 GB, free: 5.105 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.01501, allocations: 4 kB / 0.6265 GB, free: 5.102 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.000562/0.01557, allocations: 464 kB / 0.6269 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.01563, allocations: 12.03 kB / 0.6269 GB, free: 4.605 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.763e-05/0.01568, allocations: 110 kB / 0.627 GB, free: 4.488 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.01575, allocations: 84.22 kB / 0.6271 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.0159, allocations: 204.8 kB / 0.6273 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.325e-05/0.01596, allocations: 154.9 kB / 0.6274 GB, free: 4.027 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.313e-05/0.01601, allocations: 154.9 kB / 0.6276 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.706e-05/0.01608, allocations: 109.5 kB / 0.6277 GB, free: 3.762 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.01611, allocations: 75.47 kB / 0.6278 GB, free: 3.688 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.024e-05/0.01616, allocations: 158.5 kB / 0.6279 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-05/0.0162, allocations: 150.6 kB / 0.6281 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.717e-05/0.01626, allocations: 154.6 kB / 0.6282 GB, free: 3.23 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.01656, allocations: 436.9 kB / 0.6286 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.493e-05/0.01666, allocations: 165.2 kB / 0.6288 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.862e-05/0.0167, allocations: 88.14 kB / 0.6289 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.01673, allocations: 79.28 kB / 0.6289 GB, free: 2.422 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.882e-05/0.01678, allocations: 105.8 kB / 0.629 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.01678, allocations: 0 / 0.629 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 8.457e-05/0.01686, allocations: 37.58 kB / 0.6291 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.222e-05/0.01694, allocations: 130.7 kB / 0.6292 GB, free: 2.125 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.01709, allocations: 132.3 kB / 0.6293 GB, free: 1.988 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.01711, allocations: 25.7 kB / 0.6294 GB, free: 1.957 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/0.01716, allocations: 96.12 kB / 0.6294 GB, free: 1.859 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-06/0.01717, allocations: 0 / 0.6294 GB, free: 1.859 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.01721, allocations: 17.72 kB / 0.6295 GB, free: 1.836 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.01732, allocations: 322.8 kB / 0.6298 GB, free: 1.512 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.846e-05/0.01735, allocations: 0 / 0.6298 GB, free: 1.512 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.01737, allocations: 4 kB / 0.6298 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.612e-05/0.01741, allocations: 12.86 kB / 0.6298 GB, free: 1.492 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01742, allocations: 4 kB / 0.6298 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001546/0.01757, allocations: 53.58 kB / 0.6298 GB, free: 1.43 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.01759, allocations: 7.938 kB / 0.6298 GB, free: 1.422 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/0.01761, allocations: 4 kB / 0.6299 GB, free: 1.418 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.01763, allocations: 0 / 0.6299 GB, free: 1.418 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.173e-06/0.01763, allocations: 0 / 0.6299 GB, free: 1.418 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.01763, allocations: 4.062 kB / 0.6299 GB, free: 1.414 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.073e-05/0.01766, allocations: 0 / 0.6299 GB, free: 1.414 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.01766, allocations: 4 kB / 0.6299 GB, free: 1.41 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 9.662e-05/0.01776, allocations: 184 kB / 0.63 GB, free: 1.223 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.01782, allocations: 108.9 kB / 0.6301 GB, free: 1.109 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.2e-05/0.01788, allocations: 124.6 kB / 0.6303 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-05/0.01793, allocations: 180.3 kB / 0.6304 GB, free: 0.7969 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.629e-05/0.01799, allocations: 184.1 kB / 0.6306 GB, free: 0.6094 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.895e-05/0.01804, allocations: 180.3 kB / 0.6308 GB, free: 436 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.01827, allocations: 384.3 kB / 0.6311 GB, free: 0 / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.173e-05/0.01831, allocations: 109 kB / 0.6312 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/0.01835, allocations: 105 kB / 0.6313 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.116e-05/0.01843, allocations: 184.2 kB / 0.6315 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.421e-05/0.0185, allocations: 180.2 kB / 0.6317 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.086e-05/0.01857, allocations: 180.3 kB / 0.6319 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.982e-05/0.01864, allocations: 188.2 kB / 0.632 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.01879, allocations: 307.8 kB / 0.6323 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003996/0.01919, allocations: 108.9 kB / 0.6324 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.917e-05/0.01926, allocations: 184.2 kB / 0.6326 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.663e-05/0.01934, allocations: 109.2 kB / 0.6327 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.0194, allocations: 176.3 kB / 0.6329 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.01943, allocations: 108.9 kB / 0.633 GB, free: 14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.734e-05/0.01949, allocations: 99.27 kB / 0.6331 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.01949, allocations: 0 / 0.6331 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005903/0.02008, allocations: 291 kB / 0.6334 GB, free: 13.61 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.001222/0.0213, allocations: 1.217 MB / 0.6346 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.02142, allocations: 45.62 kB / 0.6346 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02142, allocations: 4.062 kB / 0.6346 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-06/0.02142, allocations: 0 / 0.6346 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.02187, allocations: 457.7 kB / 0.635 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.02324, allocations: 1.575 MB / 0.6366 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.19e-05/0.02328, allocations: 63.34 kB / 0.6366 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.161e-05/0.0233, allocations: 0 / 0.6366 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.02332, allocations: 20.53 kB / 0.6367 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of SimCode: time 6.32e-07/0.02332, allocations: 0 / 0.6367 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.04243, allocations: 7.796 MB / 0.6443 GB, free: 2.531 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.453/7.496, allocations: 14.69 kB / 0.6443 GB, free: 2.523 MB / 0.6042 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_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_InternalResistancesOneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.469492132775486] Failed to read output from testmodel.py, exit status != 0: 7.579596769995987 7.591687027 7.574084525 Calling exit ...