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.0007845/0.0007845, 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.0009338/0.0009338, allocations: 221.7 kB / 22.26 MB, free: 3.688 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.9033/0.9033, 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.7695/0.7695, 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.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.0008834/0.0008834, allocations: 74.72 kB / 0.7183 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.4549, allocations: 102 MB / 0.8179 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00355/0.4584, allocations: 4.203 MB / 0.822 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002268/0.4607, allocations: 2.474 MB / 0.8244 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.4609, allocations: 9.125 kB / 0.8244 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.4619, allocations: 0.5632 MB / 0.825 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.4622, allocations: 242.3 kB / 0.8252 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.4624, allocations: 142.8 kB / 0.8254 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006047/0.463, allocations: 0.8116 MB / 0.8261 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002715/0.4633, allocations: 228.8 kB / 0.8264 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000338/0.4636, allocations: 311.8 kB / 0.8267 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003045/0.4639, allocations: 329.3 kB / 0.827 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.313e-05/0.464, allocations: 74.19 kB / 0.827 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.85e-05/0.4641, allocations: 74.59 kB / 0.8271 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.4642, allocations: 173.2 kB / 0.8273 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002704/0.4644, allocations: 383.8 kB / 0.8277 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008431/0.4653, allocations: 0.9951 MB / 0.8286 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4653, allocations: 9.438 kB / 0.8286 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4653, allocations: 0 / 0.8286 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.4653, allocations: 1.031 kB / 0.8286 GB, free: 10.37 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.001034/0.4664, allocations: 0.8914 MB / 0.8295 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.4664, allocations: 9 kB / 0.8295 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.742e-05/0.4665, allocations: 86.31 kB / 0.8296 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.949e-05/0.4666, allocations: 78 kB / 0.8297 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.467, allocations: 407.7 kB / 0.8301 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.4671, allocations: 36.62 kB / 0.8301 GB, free: 9.316 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.929e-05/0.4671, allocations: 49.19 kB / 0.8301 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005247/0.4676, allocations: 429.3 kB / 0.8305 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.4676, allocations: 0.7969 kB / 0.8305 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.4677, allocations: 20.12 kB / 0.8306 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.4677, allocations: 11.62 kB / 0.8306 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004784/0.4682, allocations: 370.3 kB / 0.8309 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.4698, allocations: 1.475 MB / 0.8324 GB, free: 8.086 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004135/0.4703, allocations: 317 kB / 0.8327 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/0.4706, allocations: 288.7 kB / 0.833 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.4706, allocations: 8.953 kB / 0.833 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.4706, allocations: 37.12 kB / 0.833 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 1.843e-06/0.4706, allocations: 0 / 0.833 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.0006459/0.4713, allocations: 0.4908 MB / 0.8335 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.4713, allocations: 59.44 kB / 0.8335 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004408/0.4717, allocations: 486.2 kB / 0.834 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.4718, allocations: 31.11 kB / 0.834 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.4719, allocations: 278.1 kB / 0.8343 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.037e-05/0.472, allocations: 152.8 kB / 0.8344 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.46e-05/0.4721, allocations: 57.19 kB / 0.8345 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.4722, allocations: 363.1 kB / 0.8348 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.4723, allocations: 123.7 kB / 0.835 GB, free: 6.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.4725, allocations: 127.8 kB / 0.8351 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.4728, allocations: 297.8 kB / 0.8354 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.4728, allocations: 0 / 0.8354 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004338/0.4733, allocations: 400.7 kB / 0.8357 GB, free: 6.105 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.4733, allocations: 5.344 kB / 0.8357 GB, free: 6.105 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4733, allocations: 5.188 kB / 0.8358 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.4733, allocations: 1.156 kB / 0.8358 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.4736, allocations: 129 kB / 0.8359 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.4736, allocations: 2.062 kB / 0.8359 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.4737, allocations: 39.61 kB / 0.8359 GB, free: 6.062 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.4737, allocations: 7.875 kB / 0.8359 GB, free: 6.062 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.0001528/0.4738, allocations: 200.2 kB / 0.8361 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.318e-05/0.4739, allocations: 63.64 kB / 0.8362 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.784e-05/0.474, allocations: 61.22 kB / 0.8362 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.474, allocations: 8.125 kB / 0.8362 GB, free: 5.809 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.474, allocations: 0 / 0.8362 GB, free: 5.809 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.474, allocations: 3.391 kB / 0.8362 GB, free: 5.809 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/0.4745, allocations: 0.5488 MB / 0.8368 GB, free: 5.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4745, allocations: 5.406 kB / 0.8368 GB, free: 5.473 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/0.4748, allocations: 123.3 kB / 0.8369 GB, free: 5.465 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.4748, allocations: 6.656 kB / 0.8369 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.4748, allocations: 7 kB / 0.8369 GB, free: 5.457 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4748, allocations: 1.406 kB / 0.8369 GB, free: 5.457 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4748, allocations: 0 / 0.8369 GB, free: 5.457 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006863/0.4755, allocations: 0.656 MB / 0.8376 GB, free: 5.094 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.4756, allocations: 68.69 kB / 0.8376 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.4756, allocations: 11.25 kB / 0.8376 GB, free: 5.039 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.4757, allocations: 10.75 kB / 0.8376 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.4757, allocations: 25.77 kB / 0.8377 GB, free: 5.031 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.4758, allocations: 11.03 kB / 0.8377 GB, free: 5.027 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003018/0.4761, allocations: 348.5 kB / 0.838 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4761, allocations: 0 / 0.838 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002668/0.4763, allocations: 145.6 kB / 0.8382 GB, free: 4.84 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.000864/0.4772, allocations: 1.204 MB / 0.8393 GB, free: 3.945 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004075/0.4776, allocations: 307.5 kB / 0.8396 GB, free: 3.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4776, allocations: 4 kB / 0.8396 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.4778, allocations: 164.9 kB / 0.8398 GB, free: 3.781 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.4782, allocations: 126.3 kB / 0.8399 GB, free: 3.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004578/0.4828, allocations: 4.854 MB / 0.8446 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.4831, allocations: 0.8673 MB / 0.8455 GB, free: 280 kB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001562/0.4833, allocations: 51.84 kB / 0.8455 GB, free: 268 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.4835, allocations: 194.3 kB / 0.8457 GB, free: 104 kB / 0.6198 GB Notification: Performance of SimCode: time 7.31e-07/0.4835, allocations: 0 / 0.8457 GB, free: 104 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.507, allocations: 11.77 MB / 0.8572 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.365/7.872, allocations: 2.312 kB / 0.8572 GB, free: 10.41 MB / 0.6355 GB " [Timeout remaining time 652] (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: 10.591269172960892] Failed to read output from testmodel.py, exit status != 0: 7.95240648300387 7.963536564 7.495870966 Calling exit ...