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.0007633/0.0007633, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008287/0.0008287, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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.893/0.893, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.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.7461/0.7461, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008744/0.0008744, allocations: 65.69 kB / 0.7182 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4748/0.4757, allocations: 102 MB / 0.8178 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002831/0.4785, allocations: 2.838 MB / 0.8206 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00193/0.4804, allocations: 1.957 MB / 0.8225 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.4806, allocations: 5.594 kB / 0.8225 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.4816, allocations: 476 kB / 0.823 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.4818, allocations: 149.4 kB / 0.8231 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 9.511e-05/0.4819, allocations: 55.98 kB / 0.8232 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.4823, allocations: 441 kB / 0.8236 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.4824, allocations: 101.4 kB / 0.8237 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.4827, allocations: 171.2 kB / 0.8239 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.4828, allocations: 158.8 kB / 0.824 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.4829, allocations: 35.03 kB / 0.824 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.229e-05/0.4829, allocations: 34.16 kB / 0.8241 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.998e-05/0.483, allocations: 98.31 kB / 0.8242 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.4831, allocations: 174.3 kB / 0.8243 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005226/0.4837, allocations: 0.5508 MB / 0.8249 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4837, allocations: 0 / 0.8249 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4837, allocations: 5.375 kB / 0.8249 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.4837, allocations: 0 / 0.8249 GB, free: 12.69 MB / 0.6198 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.0007087/0.4844, allocations: 0.641 MB / 0.8255 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.4844, allocations: 10.62 kB / 0.8255 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.546e-05/0.4845, allocations: 57.95 kB / 0.8256 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.4845, allocations: 48.47 kB / 0.8256 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.4849, allocations: 306.7 kB / 0.8259 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.4849, allocations: 17.72 kB / 0.8259 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.485, allocations: 26.41 kB / 0.826 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.4852, allocations: 207.9 kB / 0.8262 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4852, allocations: 5.391 kB / 0.8262 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.4853, allocations: 9.766 kB / 0.8262 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.4853, allocations: 8.906 kB / 0.8262 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002413/0.4855, allocations: 162.1 kB / 0.8263 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000775/0.4863, allocations: 0.6855 MB / 0.827 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.4865, allocations: 146.8 kB / 0.8271 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.4866, allocations: 101.9 kB / 0.8272 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.4866, allocations: 3.188 kB / 0.8272 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.4867, allocations: 33.25 kB / 0.8273 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.4867, allocations: 0 / 0.8273 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.000386/0.487, allocations: 260.6 kB / 0.8275 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.4871, allocations: 54.38 kB / 0.8276 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.4874, allocations: 420.5 kB / 0.828 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.4874, allocations: 29.7 kB / 0.828 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.4876, allocations: 204 kB / 0.8282 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.958e-05/0.4876, allocations: 64.42 kB / 0.8283 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.4877, allocations: 35.16 kB / 0.8283 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.809e-05/0.4878, allocations: 347.6 kB / 0.8286 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.195e-05/0.4878, allocations: 61.34 kB / 0.8287 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-05/0.4879, allocations: 55.16 kB / 0.8287 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.4881, allocations: 135.2 kB / 0.8289 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4881, allocations: 1.312 kB / 0.8289 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004745/0.4886, allocations: 208.9 kB / 0.8291 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4886, allocations: 5.219 kB / 0.8291 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4886, allocations: 8.875 kB / 0.8291 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.4886, allocations: 1.703 kB / 0.8291 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.4888, allocations: 50.11 kB / 0.8291 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4888, allocations: 1.156 kB / 0.8291 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.323e-05/0.4889, allocations: 20.61 kB / 0.8291 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.4889, allocations: 4.188 kB / 0.8292 GB, free: 9.867 MB / 0.6198 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.0001088/0.489, allocations: 165.5 kB / 0.8293 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.489, allocations: 36.69 kB / 0.8293 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.848e-05/0.489, allocations: 48.11 kB / 0.8294 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4891, allocations: 6.094 kB / 0.8294 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.4891, allocations: 0 / 0.8294 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.4891, allocations: 2.281 kB / 0.8294 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.4893, allocations: 307.8 kB / 0.8297 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4893, allocations: 1.062 kB / 0.8297 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.4895, allocations: 54 kB / 0.8297 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.4895, allocations: 1.219 kB / 0.8297 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.4895, allocations: 13.66 kB / 0.8298 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.4895, allocations: 1.906 kB / 0.8298 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4895, allocations: 4 kB / 0.8298 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.4899, allocations: 373.5 kB / 0.8301 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.4899, allocations: 42.33 kB / 0.8302 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.49, allocations: 9.25 kB / 0.8302 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-05/0.4901, allocations: 11.39 kB / 0.8302 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.4901, allocations: 17.83 kB / 0.8302 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.4901, allocations: 3.797 kB / 0.8302 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002942/0.4904, allocations: 299.5 kB / 0.8305 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4904, allocations: 4.062 kB / 0.8305 GB, free: 9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002399/0.4906, allocations: 80.69 kB / 0.8306 GB, free: 8.98 MB / 0.6198 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.0006065/0.4912, allocations: 0.9144 MB / 0.8315 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.4915, allocations: 141.7 kB / 0.8316 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4915, allocations: 64 / 0.8316 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.333e-05/0.4916, allocations: 81.69 kB / 0.8317 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.4919, allocations: 89.5 kB / 0.8318 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.495, allocations: 3.497 MB / 0.8352 GB, free: 6.023 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.4952, allocations: 198.7 kB / 0.8354 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001151/0.4953, allocations: 34.8 kB / 0.8354 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.4954, allocations: 113.9 kB / 0.8355 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of SimCode: time 8.21e-07/0.4954, allocations: 0 / 0.8355 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.5165, allocations: 8.948 MB / 0.8442 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.626/7.142, allocations: 8.859 kB / 0.8443 GB, free: 2.281 MB / 0.6198 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.842489954084158] Failed to read output from testmodel.py, exit status != 0: 7.224362337961793 7.236004424 6.749935087 Calling exit ...