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.0007903/0.0007903, 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.0008091/0.0008091, allocations: 165.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.8832/0.8832, 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.6995/0.6995, allocations: 154.6 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.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 2.385e-06/2.385e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.102e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003132/0.003163, allocations: 1.433 MB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.004326/0.007488, allocations: 2.634 MB / 0.6221 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.007525, allocations: 4 kB / 0.6221 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.08e-05/0.007546, allocations: 3.938 kB / 0.6221 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.032e-05/0.007606, allocations: 19.78 kB / 0.6221 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002701/0.01031, allocations: 1.626 MB / 0.6237 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.955e-05/0.01039, allocations: 47.67 kB / 0.6238 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.568e-05/0.01042, allocations: 7.984 kB / 0.6238 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.49e-05/0.01046, allocations: 11.98 kB / 0.6238 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.11e-05/0.01048, allocations: 15.92 kB / 0.6238 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.01049, allocations: 4 kB / 0.6238 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.01189, allocations: 1.458 MB / 0.6252 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.0119, allocations: 0 / 0.6252 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.01192, allocations: 11.94 kB / 0.6252 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.01298, allocations: 1.243 MB / 0.6265 GB, free: 5.172 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.01299, allocations: 0 / 0.6265 GB, free: 5.172 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.333e-06/0.01299, allocations: 7.938 kB / 0.6265 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.01299, allocations: 0 / 0.6265 GB, free: 5.164 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.0004014/0.01339, allocations: 468 kB / 0.6269 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.01343, allocations: 8.031 kB / 0.6269 GB, free: 4.668 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.01347, allocations: 106 kB / 0.627 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.01352, allocations: 80.22 kB / 0.6271 GB, free: 4.477 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.672e-05/0.01361, allocations: 196.9 kB / 0.6273 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.01365, allocations: 150.9 kB / 0.6274 GB, free: 4.109 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.01369, allocations: 154.9 kB / 0.6276 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.214e-05/0.01374, allocations: 105.5 kB / 0.6277 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.01376, allocations: 79.47 kB / 0.6278 GB, free: 3.77 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.0138, allocations: 158.5 kB / 0.6279 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.01384, allocations: 158.5 kB / 0.6281 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.695e-05/0.01387, allocations: 150.6 kB / 0.6282 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001964/0.01407, allocations: 436.9 kB / 0.6286 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.955e-05/0.01413, allocations: 173.1 kB / 0.6288 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.598e-05/0.01416, allocations: 84.14 kB / 0.6289 GB, free: 2.574 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.01418, allocations: 75.28 kB / 0.6289 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.01421, allocations: 109.8 kB / 0.629 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 5.11e-07/0.01421, allocations: 0 / 0.629 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.533e-05/0.01426, allocations: 33.64 kB / 0.6291 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.01431, allocations: 130.7 kB / 0.6292 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.944e-05/0.01441, allocations: 140.1 kB / 0.6293 GB, free: 2.059 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.01442, allocations: 25.7 kB / 0.6294 GB, free: 2.027 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.01446, allocations: 96.12 kB / 0.6294 GB, free: 1.93 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.01446, allocations: 0 / 0.6294 GB, free: 1.93 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.01448, allocations: 13.72 kB / 0.6295 GB, free: 1.91 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.963e-05/0.01456, allocations: 322.8 kB / 0.6298 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.01458, allocations: 4 kB / 0.6298 GB, free: 1.582 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.908e-06/0.01459, allocations: 0 / 0.6298 GB, free: 1.582 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.877e-05/0.01462, allocations: 16.86 kB / 0.6298 GB, free: 1.562 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01462, allocations: 4.031 kB / 0.6298 GB, free: 1.559 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.301e-05/0.01472, allocations: 45.64 kB / 0.6298 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.01473, allocations: 11.94 kB / 0.6298 GB, free: 1.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.01474, allocations: 0 / 0.6298 GB, free: 1.496 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.01476, allocations: 3.938 kB / 0.6298 GB, free: 1.492 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.01476, allocations: 0 / 0.6298 GB, free: 1.492 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.01476, allocations: 4 kB / 0.6299 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.155e-05/0.01477, allocations: 0 / 0.6299 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.01478, allocations: 4 kB / 0.6299 GB, free: 1.484 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.903e-05/0.01485, allocations: 185.1 kB / 0.63 GB, free: 1.293 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.01488, allocations: 109 kB / 0.6301 GB, free: 1.18 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.59e-05/0.01492, allocations: 124.6 kB / 0.6303 GB, free: 1.051 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.762e-05/0.01496, allocations: 176.3 kB / 0.6304 GB, free: 0.8711 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-05/0.015, allocations: 184.3 kB / 0.6306 GB, free: 0.6836 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.985e-05/0.01504, allocations: 180.2 kB / 0.6308 GB, free: 0.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.01518, allocations: 384.3 kB / 0.6311 GB, free: 76 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.581e-05/0.01522, allocations: 104.9 kB / 0.6312 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.728e-05/0.01524, allocations: 105 kB / 0.6313 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.12e-05/0.01529, allocations: 184.3 kB / 0.6315 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/0.01533, allocations: 184.1 kB / 0.6317 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.995e-05/0.01537, allocations: 184.2 kB / 0.6319 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.983e-05/0.01541, allocations: 184.2 kB / 0.632 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.965e-05/0.0155, allocations: 303.8 kB / 0.6323 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-05/0.01553, allocations: 120.8 kB / 0.6324 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.964e-05/0.01558, allocations: 188.2 kB / 0.6326 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.738e-05/0.01563, allocations: 105.2 kB / 0.6327 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.01567, allocations: 176.3 kB / 0.6329 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.01569, allocations: 105 kB / 0.633 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.018e-05/0.01573, allocations: 99.27 kB / 0.6331 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.01573, allocations: 0 / 0.6331 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004172/0.01615, allocations: 298.9 kB / 0.6334 GB, free: 13.68 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.0008815/0.01703, allocations: 1.217 MB / 0.6346 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.04e-05/0.01711, allocations: 37.69 kB / 0.6346 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01711, allocations: 0 / 0.6346 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-06/0.01712, allocations: 3.938 kB / 0.6346 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.01739, allocations: 461.7 kB / 0.635 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009266/0.01832, allocations: 1.575 MB / 0.6366 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.276e-05/0.01836, allocations: 67.34 kB / 0.6366 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.109e-05/0.01837, allocations: 0 / 0.6366 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.01839, allocations: 12.5 kB / 0.6367 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of SimCode: time 6.22e-07/0.01839, allocations: 0 / 0.6367 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.03767, allocations: 7.802 MB / 0.6443 GB, free: 2.602 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.335/7.372, allocations: 20.75 kB / 0.6443 GB, free: 2.582 MB / 0.6042 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.0742273516953] Failed to read output from testmodel.py, exit status != 0: 7.458473423495889 7.466469232 7.451706749 Calling exit ...