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.001018/0.001018, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0007548/0.0007548, allocations: 213.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.8867/0.8867, allocations: 230.6 MB / 256 MB, free: 9.805 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.7572/0.7572, allocations: 203.8 MB / 0.5042 GB, free: 10.68 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.0008636/0.0008636, allocations: 63.59 kB / 0.7183 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4277/0.4286, allocations: 102 MB / 0.8179 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003698/0.4323, allocations: 4.192 MB / 0.822 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002128/0.4344, allocations: 2.465 MB / 0.8244 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.4346, allocations: 9.125 kB / 0.8244 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.4358, allocations: 0.5634 MB / 0.825 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.436, allocations: 246.5 kB / 0.8252 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.4362, allocations: 141.4 kB / 0.8254 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005891/0.4368, allocations: 0.8134 MB / 0.8261 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002784/0.437, allocations: 231 kB / 0.8264 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002922/0.4373, allocations: 314.9 kB / 0.8267 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/0.4376, allocations: 331 kB / 0.827 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.559e-05/0.4377, allocations: 74.44 kB / 0.8271 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.869e-05/0.4378, allocations: 74.69 kB / 0.8271 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.4379, allocations: 174.1 kB / 0.8273 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.4381, allocations: 378.1 kB / 0.8276 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007807/0.4389, allocations: 0.9966 MB / 0.8286 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4389, allocations: 0 / 0.8286 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4389, allocations: 0 / 0.8286 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.4389, allocations: 1.344 kB / 0.8286 GB, free: 10.38 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.0009595/0.4399, allocations: 0.8941 MB / 0.8295 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4399, allocations: 14.28 kB / 0.8295 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.538e-05/0.44, allocations: 90.44 kB / 0.8296 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.41e-05/0.4401, allocations: 80.67 kB / 0.8297 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.4405, allocations: 397.8 kB / 0.8301 GB, free: 9.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.4405, allocations: 36.75 kB / 0.8301 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.052e-05/0.4406, allocations: 47.06 kB / 0.8301 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/0.4411, allocations: 434.2 kB / 0.8305 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.4411, allocations: 4.562 kB / 0.8306 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.4411, allocations: 16.66 kB / 0.8306 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.4411, allocations: 11.69 kB / 0.8306 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004848/0.4416, allocations: 365.4 kB / 0.8309 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.4433, allocations: 1.483 MB / 0.8324 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.4437, allocations: 317.3 kB / 0.8327 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.444, allocations: 285.2 kB / 0.833 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.444, allocations: 8.438 kB / 0.833 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.444, allocations: 41.34 kB / 0.833 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 1.262e-06/0.444, allocations: 0 / 0.833 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.0006221/0.4447, allocations: 498.5 kB / 0.8335 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.4447, allocations: 56.48 kB / 0.8335 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/0.4451, allocations: 484.6 kB / 0.834 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.4451, allocations: 31.92 kB / 0.834 GB, free: 7.254 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.4453, allocations: 282.1 kB / 0.8343 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.446e-05/0.4453, allocations: 152 kB / 0.8344 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.4454, allocations: 61.86 kB / 0.8345 GB, free: 6.859 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.4455, allocations: 363.2 kB / 0.8348 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.4457, allocations: 120.2 kB / 0.835 GB, free: 6.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.4458, allocations: 131.2 kB / 0.8351 GB, free: 6.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.4461, allocations: 297.4 kB / 0.8354 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4462, allocations: 0 / 0.8354 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004149/0.4466, allocations: 401.1 kB / 0.8357 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.4466, allocations: 5.219 kB / 0.8358 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4466, allocations: 0.75 kB / 0.8358 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.4466, allocations: 2.188 kB / 0.8358 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.4469, allocations: 128.4 kB / 0.8359 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.4469, allocations: 1.375 kB / 0.8359 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.447, allocations: 40.53 kB / 0.8359 GB, free: 6.062 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.447, allocations: 11.97 kB / 0.8359 GB, free: 6.059 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.0001446/0.4472, allocations: 195 kB / 0.8361 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.4472, allocations: 56.83 kB / 0.8362 GB, free: 5.863 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.938e-05/0.4473, allocations: 61.34 kB / 0.8362 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4473, allocations: 3.688 kB / 0.8362 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.4473, allocations: 4.656 kB / 0.8362 GB, free: 5.816 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4473, allocations: 7.812 kB / 0.8362 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.4478, allocations: 0.5437 MB / 0.8368 GB, free: 5.484 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.4478, allocations: 4.5 kB / 0.8368 GB, free: 5.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.448, allocations: 128.5 kB / 0.8369 GB, free: 5.469 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4481, allocations: 2.875 kB / 0.8369 GB, free: 5.469 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.4481, allocations: 10.75 kB / 0.8369 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.4481, allocations: 1.312 kB / 0.8369 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4481, allocations: 4.688 kB / 0.8369 GB, free: 5.457 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006495/0.4487, allocations: 0.6523 MB / 0.8376 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-05/0.4488, allocations: 67.66 kB / 0.8376 GB, free: 5.051 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.4488, allocations: 7.797 kB / 0.8376 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.4489, allocations: 18.22 kB / 0.8376 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.449, allocations: 27.06 kB / 0.8377 GB, free: 5.031 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.449, allocations: 14.91 kB / 0.8377 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003625/0.4494, allocations: 347.5 kB / 0.838 GB, free: 4.867 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.4494, allocations: 1.188 kB / 0.838 GB, free: 4.867 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000258/0.4496, allocations: 144.1 kB / 0.8382 GB, free: 4.836 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.0008229/0.4504, allocations: 1.204 MB / 0.8393 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003775/0.4508, allocations: 307.2 kB / 0.8396 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.4508, allocations: 1.375 kB / 0.8396 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.451, allocations: 163.3 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.0004118/0.4514, allocations: 131.1 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.004431/0.4558, allocations: 4.846 MB / 0.8446 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.4562, allocations: 0.8794 MB / 0.8455 GB, free: 304 kB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.4563, allocations: 54.48 kB / 0.8455 GB, free: 280 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.4565, allocations: 186.8 kB / 0.8457 GB, free: 120 kB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.4565, allocations: 2.656 kB / 0.8457 GB, free: 120 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.4814, allocations: 11.77 MB / 0.8572 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.517/7.998, allocations: 7.234 kB / 0.8572 GB, free: 10.42 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.781440480146557] Failed to read output from testmodel.py, exit status != 0: 8.080395339988172 8.090191251 7.649631501 Calling exit ...