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.000897/0.000897, 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.000879/0.000879, 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.8916/0.8916, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7416/0.7416, allocations: 154.5 MB / 413.7 MB, free: 0.8398 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.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.435e-05/1.589e-05, allocations: 2.281 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.InternalResistancesTwoUTube): time 0.001653/0.001669, allocations: 1.438 MB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00298/0.004648, allocations: 2.676 MB / 0.6222 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.296e-05/0.004691, allocations: 0 / 0.6222 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.004712, allocations: 7.922 kB / 0.6222 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.849e-05/0.004761, allocations: 3.938 kB / 0.6222 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.00739, allocations: 1.663 MB / 0.6238 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.518e-05/0.007465, allocations: 47.61 kB / 0.6238 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.539e-05/0.007501, allocations: 4 kB / 0.6238 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.66e-05/0.007537, allocations: 19.92 kB / 0.6239 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.352e-05/0.007561, allocations: 15.98 kB / 0.6239 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.007572, allocations: 0 / 0.6239 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.009079, allocations: 1.482 MB / 0.6253 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.009095, allocations: 15.91 kB / 0.6253 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.009121, allocations: 12 kB / 0.6254 GB, free: 6.262 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.01032, allocations: 1.274 MB / 0.6266 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.01032, allocations: 0 / 0.6266 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.72e-07/0.01032, allocations: 3.938 kB / 0.6266 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.656e-06/0.01033, allocations: 0 / 0.6266 GB, free: 4.98 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.0004443/0.01077, allocations: 472 kB / 0.6271 GB, free: 4.488 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.0108, allocations: 8.031 kB / 0.6271 GB, free: 4.48 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.01084, allocations: 110 kB / 0.6272 GB, free: 4.363 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.01089, allocations: 88.17 kB / 0.6272 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.09e-05/0.01098, allocations: 193 kB / 0.6274 GB, free: 4.062 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.842e-05/0.01102, allocations: 154.9 kB / 0.6276 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.324e-05/0.01106, allocations: 154.9 kB / 0.6277 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.192e-05/0.01111, allocations: 101.5 kB / 0.6278 GB, free: 3.652 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.01113, allocations: 75.47 kB / 0.6279 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.01117, allocations: 158.4 kB / 0.628 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.555e-05/0.0112, allocations: 154.5 kB / 0.6282 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.534e-05/0.01124, allocations: 154.6 kB / 0.6283 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.01144, allocations: 433 kB / 0.6288 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.01e-05/0.0115, allocations: 173.2 kB / 0.6289 GB, free: 2.473 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.691e-05/0.01153, allocations: 88.08 kB / 0.629 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.01155, allocations: 79.28 kB / 0.6291 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.01158, allocations: 105.8 kB / 0.6292 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.01158, allocations: 0 / 0.6292 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.305e-05/0.01163, allocations: 37.59 kB / 0.6292 GB, free: 2.148 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.01167, allocations: 126.7 kB / 0.6293 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.995e-05/0.01177, allocations: 137.7 kB / 0.6295 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/0.01178, allocations: 25.7 kB / 0.6295 GB, free: 1.836 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.01182, allocations: 96.06 kB / 0.6296 GB, free: 1.738 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.01182, allocations: 0 / 0.6296 GB, free: 1.738 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.01185, allocations: 17.72 kB / 0.6296 GB, free: 1.715 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.205e-05/0.01192, allocations: 318.8 kB / 0.6299 GB, free: 1.395 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.01194, allocations: 8 kB / 0.6299 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.116e-05/0.01195, allocations: 7.938 kB / 0.6299 GB, free: 1.379 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.69e-05/0.01199, allocations: 16.86 kB / 0.6299 GB, free: 1.359 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01199, allocations: 0 / 0.6299 GB, free: 1.359 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.382e-05/0.01208, allocations: 49.64 kB / 0.63 GB, free: 1.305 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.01209, allocations: 14.12 kB / 0.63 GB, free: 1.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.01211, allocations: 0 / 0.63 GB, free: 1.293 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.01212, allocations: 4 kB / 0.63 GB, free: 1.289 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.01212, allocations: 0 / 0.63 GB, free: 1.289 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.01212, allocations: 0 / 0.63 GB, free: 1.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.4e-05/0.01214, allocations: 4 kB / 0.63 GB, free: 1.285 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.01214, allocations: 4 kB / 0.63 GB, free: 1.281 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.773e-05/0.01221, allocations: 195.9 kB / 0.6302 GB, free: 1.082 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.01225, allocations: 108.9 kB / 0.6303 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.01229, allocations: 116.7 kB / 0.6304 GB, free: 0.8477 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-05/0.01232, allocations: 184.2 kB / 0.6306 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-05/0.01237, allocations: 184.3 kB / 0.6308 GB, free: 484 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.965e-05/0.01241, allocations: 176.3 kB / 0.6309 GB, free: 300 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.01256, allocations: 388.2 kB / 0.6313 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-05/0.01258, allocations: 105 kB / 0.6314 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.01261, allocations: 104.9 kB / 0.6315 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.923e-05/0.01265, allocations: 184.3 kB / 0.6317 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/0.01269, allocations: 188.1 kB / 0.6319 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.854e-05/0.01273, allocations: 180.2 kB / 0.632 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.073e-05/0.01277, allocations: 180.3 kB / 0.6322 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.035e-05/0.01286, allocations: 311.7 kB / 0.6325 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.01289, allocations: 116.9 kB / 0.6326 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.01294, allocations: 184.2 kB / 0.6328 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.501e-05/0.01299, allocations: 101.3 kB / 0.6329 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.01303, allocations: 184.2 kB / 0.6331 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.01305, allocations: 101 kB / 0.6332 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.144e-05/0.0131, allocations: 107.2 kB / 0.6333 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.0131, allocations: 3.938 kB / 0.6333 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000473/0.01357, allocations: 295 kB / 0.6335 GB, free: 13.46 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.0009167/0.01448, allocations: 1.229 MB / 0.6347 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.075e-05/0.01457, allocations: 41.7 kB / 0.6348 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01457, allocations: 0 / 0.6348 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.01457, allocations: 3.938 kB / 0.6348 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.01483, allocations: 463.7 kB / 0.6352 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009254/0.01575, allocations: 1.58 MB / 0.6368 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.914e-05/0.01579, allocations: 67.33 kB / 0.6368 GB, free: 9.949 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.243e-05/0.0158, allocations: 8.094 kB / 0.6368 GB, free: 9.941 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.01583, allocations: 12.5 kB / 0.6369 GB, free: 9.926 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.01583, allocations: 3.938 kB / 0.6369 GB, free: 9.922 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.03569, allocations: 8.005 MB / 0.6447 GB, free: 2.145 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.718/6.754, allocations: 11.5 kB / 0.6447 GB, free: 2.137 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 9.474462069571018] Failed to read output from testmodel.py, exit status != 0: 6.837862303480506 6.847720101 6.8353628 Calling exit ...