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.000748/0.000748, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0007827/0.0007827, allocations: 166.3 kB / 22.46 MB, free: 2.098 MB / 18.57 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.8818/0.8818, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.696/0.696, allocations: 154.6 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.602e-05, allocations: 3.688 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002863/0.002879, allocations: 2.835 MB / 0.6209 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002462/0.005341, allocations: 1.958 MB / 0.6228 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.00555, allocations: 8 kB / 0.6228 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.006648, allocations: 481.5 kB / 0.6233 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.006848, allocations: 154.7 kB / 0.6234 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 9.033e-05/0.006939, allocations: 59.94 kB / 0.6235 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.007269, allocations: 457.6 kB / 0.6239 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.007445, allocations: 99.84 kB / 0.624 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002896/0.007734, allocations: 247.3 kB / 0.6242 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.007889, allocations: 139.6 kB / 0.6244 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.007923, allocations: 32 kB / 0.6244 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.644e-05/0.007959, allocations: 36 kB / 0.6244 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.008059, allocations: 99.61 kB / 0.6245 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.008163, allocations: 139.7 kB / 0.6247 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.008558, allocations: 0.5373 MB / 0.6252 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.00856, allocations: 0 / 0.6252 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.393e-06/0.008562, allocations: 0 / 0.6252 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.008568, allocations: 0 / 0.6252 GB, free: 6.402 MB / 0.5886 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.000766/0.009334, allocations: 0.6368 MB / 0.6258 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.009373, allocations: 13.47 kB / 0.6258 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.565e-05/0.009419, allocations: 50.73 kB / 0.6259 GB, free: 5.664 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.00947, allocations: 48.66 kB / 0.6259 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/0.00998, allocations: 319.8 kB / 0.6262 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.009996, allocations: 20.88 kB / 0.6262 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.01003, allocations: 20.38 kB / 0.6263 GB, free: 5.242 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.01031, allocations: 204.6 kB / 0.6265 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.01032, allocations: 192 / 0.6265 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.01034, allocations: 12.12 kB / 0.6265 GB, free: 5.027 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.01035, allocations: 8 kB / 0.6265 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.01058, allocations: 161.9 kB / 0.6266 GB, free: 4.863 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007869/0.01137, allocations: 0.6826 MB / 0.6273 GB, free: 4.129 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.01157, allocations: 142.5 kB / 0.6274 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.0117, allocations: 107.8 kB / 0.6275 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.01171, allocations: 0 / 0.6275 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.01173, allocations: 42.5 kB / 0.6276 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.042e-06/0.01173, allocations: 0 / 0.6276 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0003643/0.01209, allocations: 251.7 kB / 0.6278 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.01213, allocations: 59.25 kB / 0.6279 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.01244, allocations: 421.7 kB / 0.6283 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.01245, allocations: 25.7 kB / 0.6283 GB, free: 3.055 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.911e-05/0.01255, allocations: 204.5 kB / 0.6285 GB, free: 2.852 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.0126, allocations: 71.36 kB / 0.6286 GB, free: 2.781 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.01264, allocations: 29.72 kB / 0.6286 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.092e-05/0.01273, allocations: 346.8 kB / 0.6289 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.377e-05/0.01281, allocations: 59.97 kB / 0.629 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.711e-05/0.01289, allocations: 61.97 kB / 0.629 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.01306, allocations: 134.8 kB / 0.6292 GB, free: 2.148 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01306, allocations: 0 / 0.6292 GB, free: 2.148 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002385/0.0133, allocations: 209.4 kB / 0.6294 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.01331, allocations: 7.938 kB / 0.6294 GB, free: 1.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.01332, allocations: 4 kB / 0.6294 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.01333, allocations: 4 kB / 0.6294 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.01348, allocations: 55.89 kB / 0.6294 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.01348, allocations: 3.938 kB / 0.6294 GB, free: 1.863 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.46e-05/0.01356, allocations: 19.89 kB / 0.6295 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.01356, allocations: 4 kB / 0.6295 GB, free: 1.84 MB / 0.5886 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.0001095/0.01367, allocations: 161.8 kB / 0.6296 GB, free: 1.672 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.01371, allocations: 35.77 kB / 0.6296 GB, free: 1.637 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.568e-05/0.01375, allocations: 43.53 kB / 0.6297 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01376, allocations: 4 kB / 0.6297 GB, free: 1.594 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.01376, allocations: 7.922 kB / 0.6297 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.01377, allocations: 0 / 0.6297 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.01402, allocations: 304.5 kB / 0.63 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.01403, allocations: 7.984 kB / 0.63 GB, free: 1.238 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.01429, allocations: 51.97 kB / 0.63 GB, free: 1.188 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.01429, allocations: 4 kB / 0.63 GB, free: 1.184 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.0143, allocations: 0 / 0.63 GB, free: 1.184 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.01431, allocations: 0 / 0.63 GB, free: 1.184 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.01431, allocations: 7.938 kB / 0.6301 GB, free: 1.176 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.01469, allocations: 383 kB / 0.6304 GB, free: 0.7852 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.01475, allocations: 47.72 kB / 0.6305 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.01477, allocations: 8 kB / 0.6305 GB, free: 0.7305 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.132e-05/0.01485, allocations: 11.98 kB / 0.6305 GB, free: 0.7188 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.0149, allocations: 15.91 kB / 0.6305 GB, free: 0.7031 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.0149, allocations: 4 kB / 0.6305 GB, free: 0.6992 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002197/0.01512, allocations: 299.2 kB / 0.6308 GB, free: 416 kB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.01512, allocations: 4.062 kB / 0.6308 GB, free: 412 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002004/0.01532, allocations: 75.88 kB / 0.6309 GB, free: 336 kB / 0.5886 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.0005499/0.01587, allocations: 0.9173 MB / 0.6318 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002205/0.01609, allocations: 138.1 kB / 0.6319 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.01609, allocations: 64 / 0.6319 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.869e-05/0.01618, allocations: 71.91 kB / 0.632 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.01654, allocations: 95.66 kB / 0.6321 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.01979, allocations: 3.444 MB / 0.6354 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.01992, allocations: 194.4 kB / 0.6356 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.125e-05/0.02001, allocations: 38.95 kB / 0.6356 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.02013, allocations: 120.5 kB / 0.6358 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of SimCode: time 6.31e-07/0.02013, allocations: 0 / 0.6358 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.04274, allocations: 9.084 MB / 0.6446 GB, free: 2.465 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.997/7.04, allocations: 10.98 kB / 0.6446 GB, free: 2.457 MB / 0.6042 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: 9.742182759568095] Failed to read output from testmodel.py, exit status != 0: 7.1230758279562 7.130088446 7.119959413 Calling exit ...