Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.001126/0.001126, 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.0009364/0.0009364, allocations: 213.7 kB / 22.25 MB, free: 3.711 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.9818/0.9818, allocations: 230.6 MB / 256 MB, free: 9.809 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.7947/0.7947, allocations: 203.8 MB / 0.5042 GB, free: 10.69 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.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.0009359/0.0009359, allocations: 65.61 kB / 0.7183 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5316/0.5326, allocations: 102 MB / 0.8179 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001839/0.5344, allocations: 1.385 MB / 0.8193 GB, free: 264 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.5358, allocations: 1.175 MB / 0.8204 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.966e-05/0.5358, allocations: 0 / 0.8204 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.5358, allocations: 1.172 kB / 0.8204 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.447e-05/0.5359, allocations: 7.391 kB / 0.8205 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005446/0.5364, allocations: 224.7 kB / 0.8207 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.169e-05/0.5365, allocations: 41.8 kB / 0.8207 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.5366, allocations: 2.266 kB / 0.8207 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.5367, allocations: 16.23 kB / 0.8207 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.855e-05/0.5367, allocations: 16.91 kB / 0.8207 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.5367, allocations: 0 / 0.8207 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005213/0.5373, allocations: 440.6 kB / 0.8212 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.5373, allocations: 5.359 kB / 0.8212 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.5373, allocations: 13 kB / 0.8212 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.5376, allocations: 201 kB / 0.8214 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5376, allocations: 9.125 kB / 0.8214 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5376, allocations: 4 kB / 0.8214 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.5376, allocations: 0 / 0.8214 GB, free: 15.13 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003746/0.538, allocations: 323.9 kB / 0.8217 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.538, allocations: 11.06 kB / 0.8217 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.254e-05/0.538, allocations: 31.45 kB / 0.8217 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.376e-05/0.5381, allocations: 2.375 kB / 0.8217 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.111e-05/0.5381, allocations: 111.8 kB / 0.8218 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.5381, allocations: 384 / 0.8218 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.5382, allocations: 3.391 kB / 0.8218 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.696e-05/0.5383, allocations: 50.84 kB / 0.8219 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.5383, allocations: 0 / 0.8219 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.5383, allocations: 0 / 0.8219 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.5383, allocations: 3.938 kB / 0.8219 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.061e-05/0.5383, allocations: 10.95 kB / 0.8219 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.5385, allocations: 128.8 kB / 0.822 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.594e-05/0.5386, allocations: 36.2 kB / 0.8221 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.353e-05/0.5386, allocations: 21.3 kB / 0.8221 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004175/0.539, allocations: 94.02 kB / 0.8222 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.539, allocations: 47.14 kB / 0.8222 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.539, allocations: 1.625 kB / 0.8222 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001635/0.5392, allocations: 53.41 kB / 0.8223 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.5392, allocations: 51.41 kB / 0.8223 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.78e-05/0.5393, allocations: 105.5 kB / 0.8224 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.5393, allocations: 25.7 kB / 0.8224 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.5393, allocations: 85.52 kB / 0.8225 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.5394, allocations: 16.41 kB / 0.8225 GB, free: 14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.5394, allocations: 25.2 kB / 0.8226 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.313e-05/0.5395, allocations: 313.9 kB / 0.8229 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.942e-05/0.5395, allocations: 8.859 kB / 0.8229 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.544e-05/0.5395, allocations: 4.906 kB / 0.8229 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.812e-05/0.5395, allocations: 24.56 kB / 0.8229 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5395, allocations: 1.281 kB / 0.8229 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.967e-05/0.5396, allocations: 60 kB / 0.823 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.5396, allocations: 4.844 kB / 0.823 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.5396, allocations: 6.031 kB / 0.823 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.5396, allocations: 0 / 0.823 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.136e-05/0.5397, allocations: 14.05 kB / 0.823 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.5397, allocations: 0 / 0.823 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.383e-05/0.5397, allocations: 2.062 kB / 0.823 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.5398, allocations: 1.094 kB / 0.823 GB, free: 13.59 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 (4): * Single equations (assignments): 4 * 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 5.376e-05/0.5398, allocations: 116.3 kB / 0.8231 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-06/0.5398, allocations: 13.59 kB / 0.8231 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.5399, allocations: 59.69 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.5399, allocations: 5.953 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.5399, allocations: 0 / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.5399, allocations: 0.9688 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.492e-05/0.54, allocations: 129.3 kB / 0.8233 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.54, allocations: 0 / 0.8233 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.54, allocations: 18.2 kB / 0.8233 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.54, allocations: 0 / 0.8233 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.54, allocations: 6.266 kB / 0.8233 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.54, allocations: 1.156 kB / 0.8233 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.54, allocations: 0 / 0.8233 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.138e-05/0.5401, allocations: 82 kB / 0.8234 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.265e-06/0.5401, allocations: 11.58 kB / 0.8234 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.5401, allocations: 1.312 kB / 0.8234 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-06/0.5401, allocations: 4 kB / 0.8234 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.5402, allocations: 3.375 kB / 0.8234 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.5402, allocations: 0 / 0.8234 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.688e-05/0.5402, allocations: 88.45 kB / 0.8235 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5402, allocations: 0 / 0.8235 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000153/0.5403, allocations: 53.66 kB / 0.8236 GB, free: 13.06 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.0003479/0.5407, allocations: 0.6718 MB / 0.8242 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.734e-05/0.5408, allocations: 17.66 kB / 0.8242 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5408, allocations: 1.562 kB / 0.8242 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.265e-05/0.5408, allocations: 12.05 kB / 0.8242 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.541, allocations: 11.91 kB / 0.8243 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004167/0.5414, allocations: 194.3 kB / 0.8244 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.5415, allocations: 0.6806 MB / 0.8251 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.804e-05/0.5416, allocations: 11.17 kB / 0.8251 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.5416, allocations: 17.81 kB / 0.8251 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.5416, allocations: 0 / 0.8251 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.5581, allocations: 2.359 MB / 0.8274 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.677/7.235, allocations: 9.766 kB / 0.8274 GB, free: 11.08 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.335719153983518] Failed to read output from testmodel.py, exit status != 0: 7.309675702126697 7.320396609 6.780747744 Calling exit ...