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.0008002/0.0008002, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009265/0.0009265, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9377/0.9377, allocations: 230.6 MB / 256 MB, free: 9.801 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.7642/0.7642, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.0009419/0.0009419, allocations: 70.33 kB / 0.7183 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4451, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003119/0.4482, allocations: 3.085 MB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002268/0.4504, allocations: 2.189 MB / 0.8231 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.4507, allocations: 5.562 kB / 0.8231 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.452, allocations: 0.5176 MB / 0.8236 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.4523, allocations: 145.9 kB / 0.8237 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.4525, allocations: 58.83 kB / 0.8238 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000424/0.4529, allocations: 445.3 kB / 0.8242 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.4531, allocations: 112.5 kB / 0.8243 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000274/0.4534, allocations: 174.4 kB / 0.8245 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.4536, allocations: 179.2 kB / 0.8246 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/0.4536, allocations: 34.69 kB / 0.8247 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.81e-05/0.4536, allocations: 34.03 kB / 0.8247 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.4538, allocations: 98 kB / 0.8248 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.4539, allocations: 214.1 kB / 0.825 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005797/0.4545, allocations: 0.5469 MB / 0.8255 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4545, allocations: 0 / 0.8255 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4545, allocations: 0 / 0.8255 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.4545, allocations: 5.344 kB / 0.8255 GB, free: 12.3 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.0008672/0.4554, allocations: 0.6407 MB / 0.8262 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.4554, allocations: 9.938 kB / 0.8262 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.144e-05/0.4555, allocations: 58.89 kB / 0.8262 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.423e-05/0.4555, allocations: 46.5 kB / 0.8263 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.456, allocations: 316.4 kB / 0.8266 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.456, allocations: 13.72 kB / 0.8266 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.456, allocations: 21.91 kB / 0.8266 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.4563, allocations: 209.5 kB / 0.8268 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.4563, allocations: 3.953 kB / 0.8268 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.4564, allocations: 6.562 kB / 0.8268 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.4564, allocations: 4.562 kB / 0.8268 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002527/0.4566, allocations: 173 kB / 0.827 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009712/0.4576, allocations: 0.8231 MB / 0.8278 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.4578, allocations: 151.2 kB / 0.8279 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.458, allocations: 103 kB / 0.828 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.458, allocations: 1.156 kB / 0.828 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.458, allocations: 32.84 kB / 0.8281 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.023e-06/0.458, allocations: 0 / 0.8281 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0004093/0.4584, allocations: 263.9 kB / 0.8283 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.4584, allocations: 53.8 kB / 0.8284 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003821/0.4588, allocations: 412.5 kB / 0.8288 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.4588, allocations: 30.77 kB / 0.8288 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.4589, allocations: 203 kB / 0.829 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.4591, allocations: 72.41 kB / 0.8291 GB, free: 9.934 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.4592, allocations: 34.31 kB / 0.8291 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.4593, allocations: 351.5 kB / 0.8294 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.563e-05/0.4594, allocations: 58.06 kB / 0.8295 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-05/0.4595, allocations: 57.62 kB / 0.8295 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.4596, allocations: 131.8 kB / 0.8297 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4596, allocations: 0 / 0.8297 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002531/0.4599, allocations: 213.1 kB / 0.8299 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.4599, allocations: 6.688 kB / 0.8299 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4599, allocations: 3.938 kB / 0.8299 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.4599, allocations: 0.5625 kB / 0.8299 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.4601, allocations: 58.73 kB / 0.8299 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.4601, allocations: 1.5 kB / 0.8299 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.4602, allocations: 16.06 kB / 0.8299 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.4602, allocations: 7.5 kB / 0.83 GB, free: 9.352 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.000136/0.4603, allocations: 169.8 kB / 0.8301 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.4604, allocations: 36.25 kB / 0.8302 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.447e-05/0.4604, allocations: 48.42 kB / 0.8302 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4604, allocations: 3.281 kB / 0.8302 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4604, allocations: 0 / 0.8302 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4605, allocations: 0.7031 kB / 0.8302 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003356/0.4608, allocations: 346.3 kB / 0.8305 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4608, allocations: 5.562 kB / 0.8305 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.4609, allocations: 50.09 kB / 0.8306 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.4609, allocations: 5.188 kB / 0.8306 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.461, allocations: 9.688 kB / 0.8306 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.461, allocations: 1.125 kB / 0.8306 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.461, allocations: 0 / 0.8306 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/0.4614, allocations: 381 kB / 0.831 GB, free: 8.664 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.4615, allocations: 41.55 kB / 0.831 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.4615, allocations: 9.578 kB / 0.831 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.05e-05/0.4616, allocations: 10.92 kB / 0.831 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.4616, allocations: 11.02 kB / 0.831 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.4616, allocations: 2.094 kB / 0.831 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003479/0.462, allocations: 303.5 kB / 0.8313 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.462, allocations: 0 / 0.8313 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002942/0.4623, allocations: 76.69 kB / 0.8314 GB, free: 8.457 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.000717/0.463, allocations: 0.9193 MB / 0.8323 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002757/0.4632, allocations: 142.8 kB / 0.8324 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4633, allocations: 4.062 kB / 0.8324 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.4634, allocations: 72.31 kB / 0.8325 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.4638, allocations: 104.8 kB / 0.8326 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/0.4678, allocations: 3.481 MB / 0.836 GB, free: 5.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.4681, allocations: 0.7936 MB / 0.8368 GB, free: 4.793 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001882/0.4683, allocations: 35.39 kB / 0.8368 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.4684, allocations: 118.2 kB / 0.8369 GB, free: 4.695 MB / 0.6198 GB Notification: Performance of SimCode: time 7.01e-07/0.4684, allocations: 4 kB / 0.8369 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03286/0.5013, allocations: 8.146 MB / 0.8449 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.816/7.317, allocations: 13.83 kB / 0.8449 GB, free: 1.793 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: 10.130233148112893] Failed to read output from testmodel.py, exit status != 0: 7.396428474923596 7.409177475 6.952293125 Calling exit ...