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.0008/0.0008, allocations: 113.9 kB / 18.94 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.0008176/0.0008176, allocations: 213.3 kB / 22.25 MB, free: 3.699 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.9011/0.9011, 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.7486/0.7486, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.0008908/0.0008908, allocations: 63.28 kB / 0.7183 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4391, allocations: 102 MB / 0.8179 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00287/0.442, allocations: 3.078 MB / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001826/0.4438, allocations: 2.195 MB / 0.8231 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.4439, allocations: 3.938 kB / 0.8231 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.4449, allocations: 0.519 MB / 0.8236 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.4451, allocations: 144.1 kB / 0.8237 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.591e-05/0.4452, allocations: 56.09 kB / 0.8238 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.4455, allocations: 449.6 kB / 0.8242 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.4457, allocations: 107.4 kB / 0.8243 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.4459, allocations: 171.1 kB / 0.8245 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.4461, allocations: 179.3 kB / 0.8246 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.4462, allocations: 34.81 kB / 0.8247 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.792e-05/0.4462, allocations: 33.81 kB / 0.8247 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.4463, allocations: 97.91 kB / 0.8248 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.4465, allocations: 215.2 kB / 0.825 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005237/0.447, allocations: 0.5491 MB / 0.8255 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.447, allocations: 0 / 0.8255 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.447, allocations: 5.125 kB / 0.8255 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.447, allocations: 3.938 kB / 0.8255 GB, free: 12.27 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.0007451/0.4477, allocations: 0.6374 MB / 0.8262 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.4478, allocations: 13.72 kB / 0.8262 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.864e-05/0.4478, allocations: 59.16 kB / 0.8262 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.4479, allocations: 49.5 kB / 0.8263 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.4483, allocations: 304.8 kB / 0.8266 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.4483, allocations: 17.94 kB / 0.8266 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.4483, allocations: 23.23 kB / 0.8266 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.4486, allocations: 203 kB / 0.8268 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.4486, allocations: 9.906 kB / 0.8268 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.4486, allocations: 9.031 kB / 0.8268 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.4486, allocations: 9.719 kB / 0.8268 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002487/0.4489, allocations: 164.5 kB / 0.827 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008892/0.4498, allocations: 0.8231 MB / 0.8278 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.45, allocations: 149.7 kB / 0.8279 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.4501, allocations: 104.6 kB / 0.828 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.4501, allocations: 2.656 kB / 0.828 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.4502, allocations: 32.52 kB / 0.8281 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.4502, allocations: 0 / 0.8281 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0003856/0.4506, allocations: 261.3 kB / 0.8283 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.4506, allocations: 53.72 kB / 0.8284 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003586/0.4509, allocations: 415.8 kB / 0.8288 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.451, allocations: 31.05 kB / 0.8288 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.4511, allocations: 203.6 kB / 0.829 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/0.4511, allocations: 64.84 kB / 0.8291 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.4512, allocations: 38.47 kB / 0.8291 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.4513, allocations: 346.7 kB / 0.8294 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.988e-05/0.4513, allocations: 57.83 kB / 0.8295 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.097e-05/0.4514, allocations: 55.77 kB / 0.8295 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.4516, allocations: 134.1 kB / 0.8297 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4516, allocations: 1.188 kB / 0.8297 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002479/0.4519, allocations: 214.4 kB / 0.8299 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.4519, allocations: 5 kB / 0.8299 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4519, allocations: 3.938 kB / 0.8299 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4519, allocations: 2.031 kB / 0.8299 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.452, allocations: 51.06 kB / 0.8299 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.452, allocations: 1.25 kB / 0.8299 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.606e-05/0.4521, allocations: 19.62 kB / 0.8299 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.4521, allocations: 8 kB / 0.83 GB, free: 9.332 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.0001147/0.4522, allocations: 165.4 kB / 0.8301 GB, free: 9.188 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.4523, allocations: 36.11 kB / 0.8301 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.227e-05/0.4523, allocations: 52.8 kB / 0.8302 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4523, allocations: 1.562 kB / 0.8302 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4523, allocations: 1.031 kB / 0.8302 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4523, allocations: 5.297 kB / 0.8302 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.4526, allocations: 350.1 kB / 0.8305 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4526, allocations: 0.7969 kB / 0.8305 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.4528, allocations: 55.38 kB / 0.8306 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4528, allocations: 1.25 kB / 0.8306 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.4528, allocations: 10.16 kB / 0.8306 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4528, allocations: 3.938 kB / 0.8306 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4528, allocations: 1.125 kB / 0.8306 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.4532, allocations: 379.3 kB / 0.831 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.4532, allocations: 38.48 kB / 0.831 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.4533, allocations: 9.844 kB / 0.831 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.891e-05/0.4533, allocations: 5.812 kB / 0.831 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.4534, allocations: 18.73 kB / 0.831 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.4534, allocations: 3.219 kB / 0.831 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002923/0.4537, allocations: 303.3 kB / 0.8313 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4537, allocations: 0 / 0.8313 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002389/0.4539, allocations: 75.66 kB / 0.8314 GB, free: 8.43 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.0006469/0.4546, allocations: 0.9148 MB / 0.8323 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002472/0.4548, allocations: 147.7 kB / 0.8324 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.4548, allocations: 0 / 0.8324 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.542e-05/0.4549, allocations: 76.02 kB / 0.8325 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.4553, allocations: 96.86 kB / 0.8326 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/0.4584, allocations: 3.494 MB / 0.836 GB, free: 5.473 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.4586, allocations: 0.7966 MB / 0.8368 GB, free: 4.762 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.696e-05/0.4587, allocations: 31.42 kB / 0.8368 GB, free: 4.758 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.4589, allocations: 117.4 kB / 0.8369 GB, free: 4.668 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.4589, allocations: 1.25 kB / 0.8369 GB, free: 4.668 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.4799, allocations: 8.16 MB / 0.8449 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.925/7.405, allocations: 1.75 kB / 0.8449 GB, free: 1.742 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_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_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.253776377998292] Failed to read output from testmodel.py, exit status != 0: 7.4843599640298635 7.49407508 7.045225364 Calling exit ...