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.0007785/0.0007785, 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.000847/0.000847, allocations: 210.2 kB / 22.24 MB, free: 3.57 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.8783/0.8783, allocations: 230.6 MB / 256 MB, free: 9.609 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.7416/0.7416, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.0008813/0.0008813, allocations: 64.44 kB / 0.7182 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4288/0.4297, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003695/0.4333, allocations: 3.786 MB / 0.8215 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002646/0.436, allocations: 2.232 MB / 0.8237 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.4362, allocations: 9.844 kB / 0.8237 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.4372, allocations: 0.5108 MB / 0.8242 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.4375, allocations: 246.1 kB / 0.8245 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.4377, allocations: 142.5 kB / 0.8246 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000533/0.4382, allocations: 0.8034 MB / 0.8254 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.4385, allocations: 220.6 kB / 0.8256 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003175/0.4388, allocations: 307.7 kB / 0.8259 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/0.4391, allocations: 286.5 kB / 0.8262 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.819e-05/0.4391, allocations: 73.38 kB / 0.8262 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.469e-05/0.4392, allocations: 74.53 kB / 0.8263 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.4393, allocations: 173.1 kB / 0.8265 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.4395, allocations: 315.3 kB / 0.8268 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007841/0.4403, allocations: 0.9963 MB / 0.8277 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4403, allocations: 0 / 0.8277 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4403, allocations: 0 / 0.8277 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.4403, allocations: 0 / 0.8277 GB, free: 11.04 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.0009771/0.4413, allocations: 0.9008 MB / 0.8286 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.4414, allocations: 10.14 kB / 0.8286 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.625e-05/0.4414, allocations: 88.62 kB / 0.8287 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.4415, allocations: 78.42 kB / 0.8288 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004634/0.442, allocations: 396.4 kB / 0.8292 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.442, allocations: 37.25 kB / 0.8292 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.218e-05/0.4421, allocations: 48.31 kB / 0.8292 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004987/0.4426, allocations: 433.7 kB / 0.8297 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.4426, allocations: 3.938 kB / 0.8297 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.4426, allocations: 21.2 kB / 0.8297 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.4426, allocations: 12.28 kB / 0.8297 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004912/0.4431, allocations: 361.7 kB / 0.83 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.4446, allocations: 1.259 MB / 0.8313 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.445, allocations: 314.6 kB / 0.8316 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003314/0.4453, allocations: 286.2 kB / 0.8318 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.4454, allocations: 8.375 kB / 0.8319 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.4454, allocations: 39.41 kB / 0.8319 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 1.803e-06/0.4454, allocations: 0 / 0.8319 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.0006584/0.4461, allocations: 499.6 kB / 0.8324 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.4461, allocations: 55.34 kB / 0.8324 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004346/0.4465, allocations: 481.2 kB / 0.8329 GB, free: 8.109 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.4465, allocations: 40.27 kB / 0.8329 GB, free: 8.066 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.4467, allocations: 282.2 kB / 0.8332 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.672e-05/0.4468, allocations: 156 kB / 0.8333 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.074e-05/0.4469, allocations: 61.72 kB / 0.8334 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.447, allocations: 364.2 kB / 0.8337 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.4472, allocations: 119.5 kB / 0.8339 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.4473, allocations: 128.2 kB / 0.834 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.4477, allocations: 297.6 kB / 0.8343 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4477, allocations: 0 / 0.8343 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004497/0.4481, allocations: 400.7 kB / 0.8346 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.4482, allocations: 5.344 kB / 0.8346 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4482, allocations: 4.938 kB / 0.8347 GB, free: 6.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.4482, allocations: 1.125 kB / 0.8347 GB, free: 6.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.4485, allocations: 127.7 kB / 0.8348 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.4485, allocations: 3.031 kB / 0.8348 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.4486, allocations: 39.3 kB / 0.8348 GB, free: 6.871 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.4486, allocations: 11.16 kB / 0.8348 GB, free: 6.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 (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.0001541/0.4488, allocations: 200.5 kB / 0.835 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.4488, allocations: 56.31 kB / 0.8351 GB, free: 6.668 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.715e-05/0.4489, allocations: 61.42 kB / 0.8351 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4489, allocations: 4.469 kB / 0.8351 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4489, allocations: 1.25 kB / 0.8351 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.4489, allocations: 1.969 kB / 0.8351 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004635/0.4494, allocations: 488.4 kB / 0.8356 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.4494, allocations: 8.781 kB / 0.8356 GB, free: 6.309 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003164/0.4497, allocations: 125.1 kB / 0.8357 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4497, allocations: 1.062 kB / 0.8357 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.4497, allocations: 7.219 kB / 0.8357 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.4497, allocations: 5.062 kB / 0.8357 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4497, allocations: 1.125 kB / 0.8357 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000924/0.4507, allocations: 0.6606 MB / 0.8364 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.4507, allocations: 68.14 kB / 0.8365 GB, free: 5.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.4508, allocations: 12.19 kB / 0.8365 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.4509, allocations: 10.28 kB / 0.8365 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.4509, allocations: 26.03 kB / 0.8365 GB, free: 5.863 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.4509, allocations: 12.09 kB / 0.8365 GB, free: 5.859 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002823/0.4512, allocations: 347.8 kB / 0.8368 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4512, allocations: 0 / 0.8368 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002636/0.4515, allocations: 144.8 kB / 0.837 GB, free: 5.668 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.000836/0.4523, allocations: 1.201 MB / 0.8382 GB, free: 4.777 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004061/0.4527, allocations: 307.6 kB / 0.8384 GB, free: 4.672 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.4527, allocations: 3.938 kB / 0.8385 GB, free: 4.668 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.4529, allocations: 168.3 kB / 0.8386 GB, free: 4.609 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.4533, allocations: 131.7 kB / 0.8387 GB, free: 4.555 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004502/0.4578, allocations: 4.844 MB / 0.8435 GB, free: 1.848 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.458, allocations: 264.7 kB / 0.8437 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001487/0.4582, allocations: 56.36 kB / 0.8438 GB, free: 1.734 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.4584, allocations: 187.6 kB / 0.844 GB, free: 1.594 MB / 0.6198 GB Notification: Performance of SimCode: time 8.82e-07/0.4584, allocations: 0 / 0.844 GB, free: 1.594 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.4851, allocations: 12.61 MB / 0.8563 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.03/7.515, allocations: 6.578 kB / 0.8563 GB, free: 11.24 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.239342220127583] Failed to read output from testmodel.py, exit status != 0: 7.599405992310494 7.608079635 7.166035224 Calling exit ...