Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001169/0.001169, 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.001531/0.001531, 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.8611/0.8611, 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.6925/0.6925, allocations: 154.6 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.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 3.984 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131e-05/1.343e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00278/0.002794, allocations: 2.844 MB / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.004448, allocations: 1.962 MB / 0.6228 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.004569, allocations: 4 kB / 0.6228 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0009032/0.005472, allocations: 485.5 kB / 0.6233 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.005613, allocations: 142.8 kB / 0.6234 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 7.556e-05/0.005689, allocations: 59.94 kB / 0.6235 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.005987, allocations: 469 kB / 0.6239 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.006149, allocations: 95.84 kB / 0.624 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.006394, allocations: 251.4 kB / 0.6242 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.006535, allocations: 127.6 kB / 0.6244 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.006565, allocations: 32 kB / 0.6244 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.158e-05/0.006607, allocations: 36 kB / 0.6244 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.828e-05/0.006695, allocations: 103.6 kB / 0.6245 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.253e-05/0.006787, allocations: 139.6 kB / 0.6247 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.007146, allocations: 0.5373 MB / 0.6252 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.007148, allocations: 4 kB / 0.6252 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.022e-06/0.007149, allocations: 4 kB / 0.6252 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.007155, allocations: 0 / 0.6252 GB, free: 6.395 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006951/0.00785, allocations: 0.6291 MB / 0.6258 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.00789, allocations: 9.469 kB / 0.6258 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.007934, allocations: 58.73 kB / 0.6259 GB, free: 5.66 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.821e-05/0.007982, allocations: 48.66 kB / 0.6259 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.008324, allocations: 327.7 kB / 0.6262 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.008338, allocations: 16.88 kB / 0.6262 GB, free: 5.254 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.008366, allocations: 16.38 kB / 0.6263 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.008619, allocations: 200.7 kB / 0.6265 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.00863, allocations: 192 / 0.6265 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.008647, allocations: 16.12 kB / 0.6265 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.008652, allocations: 4 kB / 0.6265 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.008947, allocations: 165.9 kB / 0.6266 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006854/0.009632, allocations: 0.6787 MB / 0.6273 GB, free: 4.129 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.009823, allocations: 142.5 kB / 0.6274 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.009951, allocations: 108.7 kB / 0.6275 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.009968, allocations: 7.938 kB / 0.6275 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.009994, allocations: 42.55 kB / 0.6276 GB, free: 3.812 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.009995, allocations: 0 / 0.6276 GB, free: 3.812 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0003637/0.01036, allocations: 245.7 kB / 0.6278 GB, free: 3.566 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.01039, allocations: 59.25 kB / 0.6279 GB, free: 3.496 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.0107, allocations: 417.7 kB / 0.6283 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.01071, allocations: 29.64 kB / 0.6283 GB, free: 3.047 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.534e-05/0.01081, allocations: 208.5 kB / 0.6285 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.01085, allocations: 71.38 kB / 0.6286 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.01089, allocations: 33.66 kB / 0.6286 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.035e-05/0.01098, allocations: 346.8 kB / 0.6289 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.057e-05/0.01106, allocations: 55.97 kB / 0.629 GB, free: 2.328 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.543e-05/0.01113, allocations: 65.95 kB / 0.629 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.01129, allocations: 126.9 kB / 0.6292 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.0113, allocations: 0 / 0.6292 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002188/0.01152, allocations: 213.4 kB / 0.6294 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.01153, allocations: 10.5 kB / 0.6294 GB, free: 1.918 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.01153, allocations: 0 / 0.6294 GB, free: 1.918 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.01154, allocations: 3.984 kB / 0.6294 GB, free: 1.914 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.01168, allocations: 51.91 kB / 0.6294 GB, free: 1.863 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.01169, allocations: 7.938 kB / 0.6294 GB, free: 1.855 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.883e-05/0.01175, allocations: 19.88 kB / 0.6295 GB, free: 1.836 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.01176, allocations: 4 kB / 0.6295 GB, free: 1.832 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001003/0.01186, allocations: 161.8 kB / 0.6296 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.01189, allocations: 35.77 kB / 0.6296 GB, free: 1.629 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.01194, allocations: 43.52 kB / 0.6297 GB, free: 1.59 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.01194, allocations: 4 kB / 0.6297 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.01194, allocations: 3.938 kB / 0.6297 GB, free: 1.582 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.01195, allocations: 3.938 kB / 0.6297 GB, free: 1.578 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.01218, allocations: 304.5 kB / 0.63 GB, free: 1.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01218, allocations: 0 / 0.63 GB, free: 1.238 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.01231, allocations: 51.97 kB / 0.63 GB, free: 1.188 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01231, allocations: 4 kB / 0.63 GB, free: 1.184 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.01232, allocations: 8 kB / 0.6301 GB, free: 1.176 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01232, allocations: 0 / 0.6301 GB, free: 1.176 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.01232, allocations: 7.938 kB / 0.6301 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.01268, allocations: 383 kB / 0.6304 GB, free: 0.7773 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.01273, allocations: 43.72 kB / 0.6305 GB, free: 0.7344 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.01275, allocations: 8 kB / 0.6305 GB, free: 0.7266 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.01282, allocations: 7.984 kB / 0.6305 GB, free: 0.7188 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.01286, allocations: 23.97 kB / 0.6305 GB, free: 0.6953 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.01287, allocations: 4 kB / 0.6305 GB, free: 0.6914 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002008/0.01307, allocations: 307.1 kB / 0.6308 GB, free: 400 kB / 0.5886 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01307, allocations: 0 / 0.6308 GB, free: 400 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001858/0.01326, allocations: 71.89 kB / 0.6309 GB, free: 328 kB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0005359/0.01379, allocations: 0.9133 MB / 0.6318 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002011/0.01399, allocations: 142.2 kB / 0.6319 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01399, allocations: 0 / 0.6319 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.607e-05/0.01408, allocations: 79.89 kB / 0.632 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.01441, allocations: 94.25 kB / 0.6321 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.01735, allocations: 3.442 MB / 0.6354 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.01747, allocations: 190.5 kB / 0.6356 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.442e-05/0.01754, allocations: 38.94 kB / 0.6356 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.01765, allocations: 116.5 kB / 0.6358 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of SimCode: time 4.91e-07/0.01765, allocations: 0 / 0.6358 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.03731, allocations: 9.085 MB / 0.6446 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.864/6.901, allocations: 4.344 kB / 0.6446 GB, free: 2.449 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.496110393665731] Failed to read output from testmodel.py, exit status != 0: 6.987148400396109 6.996218854 6.987453786 Calling exit ...