Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.001055/0.001055, allocations: 105.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.0008069/0.0008069, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.8744/0.8744, allocations: 230.6 MB / 256 MB, free: 9.422 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.7407/0.7407, 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.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.0008583/0.0008583, allocations: 62.25 kB / 0.7182 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.446/0.4469, allocations: 102 MB / 0.8179 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003817/0.4507, allocations: 3.775 MB / 0.8215 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002965/0.4537, allocations: 2.234 MB / 0.8237 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003701/0.454, allocations: 10.09 kB / 0.8237 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.4555, allocations: 0.517 MB / 0.8242 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004298/0.4559, allocations: 246.7 kB / 0.8245 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.4561, allocations: 134.6 kB / 0.8246 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007751/0.4569, allocations: 0.8073 MB / 0.8254 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003082/0.4572, allocations: 212.7 kB / 0.8256 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004881/0.4577, allocations: 308.7 kB / 0.8259 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003976/0.4581, allocations: 280.4 kB / 0.8261 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.099e-05/0.4582, allocations: 81.25 kB / 0.8262 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.4583, allocations: 72.53 kB / 0.8263 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.4584, allocations: 175.9 kB / 0.8265 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002984/0.4587, allocations: 311.6 kB / 0.8268 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009585/0.4597, allocations: 1.004 MB / 0.8277 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4597, allocations: 0 / 0.8277 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.505e-06/0.4597, allocations: 1.312 kB / 0.8277 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.368e-05/0.4597, allocations: 0 / 0.8277 GB, free: 11.03 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001449/0.4612, allocations: 0.8914 MB / 0.8286 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.4612, allocations: 13.97 kB / 0.8286 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001161/0.4613, allocations: 89.72 kB / 0.8287 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.4615, allocations: 77.5 kB / 0.8288 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008543/0.4624, allocations: 397 kB / 0.8292 GB, free: 10 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.4624, allocations: 36.62 kB / 0.8292 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-05/0.4625, allocations: 47.94 kB / 0.8292 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008152/0.4633, allocations: 426.1 kB / 0.8297 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.4633, allocations: 5.312 kB / 0.8297 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.4633, allocations: 24.94 kB / 0.8297 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.4634, allocations: 15.08 kB / 0.8297 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007383/0.4641, allocations: 362.8 kB / 0.83 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002744/0.4668, allocations: 1.259 MB / 0.8313 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/0.4674, allocations: 314.1 kB / 0.8316 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004454/0.4678, allocations: 288.2 kB / 0.8318 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.4678, allocations: 7.5 kB / 0.8319 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.4679, allocations: 42.72 kB / 0.8319 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 4.799e-06/0.4679, allocations: 0 / 0.8319 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.0009041/0.4688, allocations: 494.7 kB / 0.8324 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.4688, allocations: 60.33 kB / 0.8324 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005592/0.4694, allocations: 485.3 kB / 0.8329 GB, free: 8.094 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.4694, allocations: 30.89 kB / 0.8329 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.4696, allocations: 280.4 kB / 0.8332 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.4697, allocations: 151.4 kB / 0.8333 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.088e-05/0.4698, allocations: 69.12 kB / 0.8334 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4699, allocations: 364.3 kB / 0.8337 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.4701, allocations: 119.6 kB / 0.8339 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.4702, allocations: 131.3 kB / 0.834 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.4706, allocations: 294.1 kB / 0.8343 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4706, allocations: 0 / 0.8343 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005033/0.4711, allocations: 401 kB / 0.8346 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.4711, allocations: 4.938 kB / 0.8346 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4711, allocations: 1.281 kB / 0.8346 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4711, allocations: 2.359 kB / 0.8347 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.4715, allocations: 127.6 kB / 0.8348 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.4715, allocations: 2.062 kB / 0.8348 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.4717, allocations: 38.94 kB / 0.8348 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.4717, allocations: 12.75 kB / 0.8348 GB, free: 6.863 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 (46): * Single equations (assignments): 46 * 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.0002355/0.472, allocations: 203 kB / 0.835 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-05/0.472, allocations: 56.22 kB / 0.8351 GB, free: 6.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.763e-05/0.4721, allocations: 61.61 kB / 0.8351 GB, free: 6.617 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4721, allocations: 5.203 kB / 0.8351 GB, free: 6.617 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.4721, allocations: 0 / 0.8351 GB, free: 6.617 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.4721, allocations: 2.734 kB / 0.8351 GB, free: 6.617 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006196/0.4727, allocations: 493 kB / 0.8356 GB, free: 6.305 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.4728, allocations: 7.875 kB / 0.8356 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/0.4731, allocations: 128.6 kB / 0.8357 GB, free: 6.285 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/0.4731, allocations: 1.812 kB / 0.8357 GB, free: 6.285 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.4731, allocations: 10.16 kB / 0.8357 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.4731, allocations: 3.031 kB / 0.8358 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4731, allocations: 0 / 0.8358 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000815/0.4739, allocations: 0.6535 MB / 0.8364 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.4741, allocations: 68.44 kB / 0.8365 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.4741, allocations: 6.344 kB / 0.8365 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.4742, allocations: 18.61 kB / 0.8365 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.4743, allocations: 22.44 kB / 0.8365 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.4743, allocations: 10.41 kB / 0.8365 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003805/0.4747, allocations: 349.5 kB / 0.8368 GB, free: 5.691 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4747, allocations: 0 / 0.8368 GB, free: 5.691 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003634/0.475, allocations: 145 kB / 0.837 GB, free: 5.66 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0009479/0.476, allocations: 1.201 MB / 0.8382 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004693/0.4765, allocations: 312.5 kB / 0.8385 GB, free: 4.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4765, allocations: 0 / 0.8385 GB, free: 4.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.4766, allocations: 164.3 kB / 0.8386 GB, free: 4.605 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.4771, allocations: 125.1 kB / 0.8387 GB, free: 4.559 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005162/0.4823, allocations: 4.845 MB / 0.8435 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.4825, allocations: 272.7 kB / 0.8437 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002383/0.4828, allocations: 55.81 kB / 0.8438 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.483, allocations: 187.6 kB / 0.844 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of SimCode: time 2.014e-06/0.483, allocations: 0 / 0.844 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.5144, allocations: 12.61 MB / 0.8563 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.75/7.264, allocations: 6.234 kB / 0.8563 GB, free: 11.26 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.928701583761722] Failed to read output from testmodel.py, exit status != 0: 7.34940077085048 7.359748199 6.898227533 Calling exit ...