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.0008054/0.0008054, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001483/0.001483, allocations: 208.1 kB / 22.25 MB, free: 3.574 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.9603/0.9603, allocations: 230.6 MB / 256 MB, free: 9.625 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.7851/0.7851, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.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: 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.001047/0.001047, allocations: 66.78 kB / 0.7182 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.551/0.5521, allocations: 102 MB / 0.8179 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.0018/0.5539, allocations: 1.438 MB / 0.8193 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003488/0.5574, allocations: 2.645 MB / 0.8219 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.297e-05/0.5574, allocations: 0 / 0.8219 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.5574, allocations: 6 kB / 0.8219 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.225e-05/0.5575, allocations: 19.36 kB / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002495/0.56, allocations: 1.605 MB / 0.8234 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.56, allocations: 48.41 kB / 0.8235 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.5601, allocations: 2.641 kB / 0.8235 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.73e-05/0.5601, allocations: 17.58 kB / 0.8235 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.442e-05/0.5601, allocations: 13.25 kB / 0.8235 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.5601, allocations: 1.062 kB / 0.8235 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.5619, allocations: 1.443 MB / 0.8249 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.5619, allocations: 10.59 kB / 0.8249 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.562, allocations: 16.11 kB / 0.825 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.5633, allocations: 1.082 MB / 0.826 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5633, allocations: 0 / 0.826 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5633, allocations: 0.75 kB / 0.826 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.5633, allocations: 1.094 kB / 0.826 GB, free: 12.87 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004316/0.5637, allocations: 462.5 kB / 0.8265 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.5637, allocations: 10.59 kB / 0.8265 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.5638, allocations: 106 kB / 0.8266 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.5638, allocations: 84.17 kB / 0.8267 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.564, allocations: 200.1 kB / 0.8268 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.564, allocations: 152.2 kB / 0.827 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.564, allocations: 164.2 kB / 0.8271 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.334e-05/0.5641, allocations: 105.6 kB / 0.8272 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.5641, allocations: 76.47 kB / 0.8273 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.5641, allocations: 151.9 kB / 0.8275 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.5642, allocations: 151.3 kB / 0.8276 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.995e-05/0.5642, allocations: 151.9 kB / 0.8278 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.5647, allocations: 432.5 kB / 0.8282 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.206e-05/0.5648, allocations: 178.3 kB / 0.8283 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/0.5648, allocations: 81.77 kB / 0.8284 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.5648, allocations: 83.2 kB / 0.8285 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.5649, allocations: 111.7 kB / 0.8286 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 6.31e-07/0.5649, allocations: 0 / 0.8286 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.062e-05/0.5649, allocations: 37.36 kB / 0.8286 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.565, allocations: 128.6 kB / 0.8288 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.5651, allocations: 133 kB / 0.8289 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.5651, allocations: 25.7 kB / 0.8289 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.5651, allocations: 92.33 kB / 0.829 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.5651, allocations: 0 / 0.829 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.5651, allocations: 24.33 kB / 0.829 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.487e-05/0.5652, allocations: 316.5 kB / 0.8293 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.021e-05/0.5652, allocations: 5.531 kB / 0.8293 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.242e-05/0.5653, allocations: 8.094 kB / 0.8293 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.172e-05/0.5653, allocations: 10.88 kB / 0.8293 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5653, allocations: 5.156 kB / 0.8294 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001026/0.5654, allocations: 53.28 kB / 0.8294 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.5654, allocations: 5.781 kB / 0.8294 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.5654, allocations: 3.25 kB / 0.8294 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.5654, allocations: 0 / 0.8294 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.5654, allocations: 0.6562 kB / 0.8294 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.5654, allocations: 1.562 kB / 0.8294 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.562e-05/0.5654, allocations: 7.891 kB / 0.8294 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.5655, allocations: 5.469 kB / 0.8294 GB, free: 9.391 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 (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 7.032e-05/0.5655, allocations: 188.2 kB / 0.8296 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.5656, allocations: 108.7 kB / 0.8297 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.092e-05/0.5656, allocations: 117 kB / 0.8298 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.879e-05/0.5656, allocations: 178.2 kB / 0.83 GB, free: 8.789 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.028e-05/0.5657, allocations: 178.1 kB / 0.8302 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.357e-05/0.5657, allocations: 190.1 kB / 0.8303 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.5659, allocations: 384.7 kB / 0.8307 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.587e-05/0.5659, allocations: 107.1 kB / 0.8308 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.393e-05/0.5659, allocations: 102.9 kB / 0.8309 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.883e-05/0.566, allocations: 182.6 kB / 0.8311 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-05/0.566, allocations: 186.1 kB / 0.8313 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.151e-05/0.566, allocations: 178.1 kB / 0.8314 GB, free: 7.238 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.134e-05/0.5661, allocations: 183.5 kB / 0.8316 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.234e-05/0.5662, allocations: 314.5 kB / 0.8319 GB, free: 6.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.5662, allocations: 110 kB / 0.832 GB, free: 6.621 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.5663, allocations: 182 kB / 0.8322 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.708e-05/0.5663, allocations: 107.2 kB / 0.8323 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.5663, allocations: 179.1 kB / 0.8325 GB, free: 6.148 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.5664, allocations: 106.1 kB / 0.8326 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.741e-05/0.5664, allocations: 102.5 kB / 0.8327 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5664, allocations: 4 kB / 0.8327 GB, free: 5.953 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004758/0.5669, allocations: 295.9 kB / 0.8329 GB, free: 5.875 MB / 0.6198 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.001017/0.5679, allocations: 1.177 MB / 0.8341 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.733e-05/0.568, allocations: 34.25 kB / 0.8341 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.568, allocations: 3.938 kB / 0.8341 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.568, allocations: 1.125 kB / 0.8341 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.5683, allocations: 467 kB / 0.8346 GB, free: 4.461 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.5696, allocations: 1.583 MB / 0.8361 GB, free: 3.027 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.201e-05/0.5697, allocations: 70.08 kB / 0.8362 GB, free: 2.953 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.261e-05/0.5697, allocations: 1.344 kB / 0.8362 GB, free: 2.953 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.5697, allocations: 22.17 kB / 0.8362 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.5697, allocations: 0 / 0.8362 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.5914, allocations: 7.609 MB / 0.8436 GB, free: 56 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.83/7.421, allocations: 5.125 kB / 0.8436 GB, free: 52 kB / 0.6198 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 & /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.385255259927362] Failed to read output from testmodel.py, exit status != 0: 7.502615605015308 7.512375724 6.946916898 Calling exit ...