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.0008165/0.0008165, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008627/0.0008627, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9499/0.9499, allocations: 177.2 MB / 202.8 MB, free: 5.742 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.7518/0.7518, allocations: 154.5 MB / 413.7 MB, free: 0.8516 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.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: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.963e-05/3.198e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002884/0.002916, allocations: 1.379 MB / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001876/0.004792, allocations: 1.044 MB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.213e-05/0.004844, allocations: 0 / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.004874, allocations: 0 / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.849e-05/0.004942, allocations: 11.86 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009165/0.005859, allocations: 219.1 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.765e-05/0.005956, allocations: 35.8 kB / 0.6208 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 6.135e-05/0.006018, allocations: 7.984 kB / 0.6208 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.006202, allocations: 15.98 kB / 0.6208 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.578e-05/0.006278, allocations: 15.92 kB / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.006293, allocations: 0 / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006807/0.006974, allocations: 403.4 kB / 0.6212 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.006995, allocations: 4 kB / 0.6212 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.007032, allocations: 15.92 kB / 0.6212 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004481/0.00748, allocations: 247.3 kB / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.007484, allocations: 7.938 kB / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.583e-06/0.007486, allocations: 0 / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.007491, allocations: 0 / 0.6214 GB, free: 10.25 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000553/0.008044, allocations: 313.7 kB / 0.6217 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.008096, allocations: 8.031 kB / 0.6218 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.008139, allocations: 38.75 kB / 0.6218 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.583e-05/0.008165, allocations: 4.891 kB / 0.6218 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.008272, allocations: 113.7 kB / 0.6219 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.008286, allocations: 384 / 0.6219 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.008297, allocations: 384 / 0.6219 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.008408, allocations: 42.25 kB / 0.6219 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.008418, allocations: 4.188 kB / 0.6219 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.008432, allocations: 4.125 kB / 0.622 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.008437, allocations: 0 / 0.622 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.525e-05/0.008492, allocations: 15.94 kB / 0.622 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.008662, allocations: 128.8 kB / 0.6221 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.008764, allocations: 38.56 kB / 0.6221 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.623e-05/0.0088, allocations: 12.89 kB / 0.6221 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004606/0.00926, allocations: 99.95 kB / 0.6222 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.009292, allocations: 30.56 kB / 0.6223 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.009293, allocations: 0 / 0.6223 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001906/0.009484, allocations: 69.7 kB / 0.6223 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.009525, allocations: 51.41 kB / 0.6224 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.559e-05/0.009601, allocations: 109.8 kB / 0.6225 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.009617, allocations: 25.7 kB / 0.6225 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.009656, allocations: 88.14 kB / 0.6226 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.009685, allocations: 11.84 kB / 0.6226 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.009724, allocations: 21.7 kB / 0.6226 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.009843, allocations: 314.8 kB / 0.6229 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.009864, allocations: 4 kB / 0.6229 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.83e-05/0.009892, allocations: 11.98 kB / 0.6229 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.151e-05/0.009944, allocations: 20.84 kB / 0.623 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.009946, allocations: 0 / 0.623 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.956e-05/0.01003, allocations: 49.64 kB / 0.623 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.01005, allocations: 19.92 kB / 0.623 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01005, allocations: 0 / 0.623 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.01007, allocations: 3.938 kB / 0.623 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.991e-05/0.01017, allocations: 12 kB / 0.623 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.01017, allocations: 0 / 0.623 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.864e-05/0.01019, allocations: 0 / 0.623 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.0102, allocations: 4 kB / 0.623 GB, free: 8.418 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 (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 7.896e-05/0.01028, allocations: 114.8 kB / 0.6232 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.01029, allocations: 7.953 kB / 0.6232 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.01042, allocations: 65 kB / 0.6232 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.01042, allocations: 7.938 kB / 0.6232 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.01042, allocations: 0 / 0.6232 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01043, allocations: 0 / 0.6232 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.01054, allocations: 136.7 kB / 0.6234 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.01055, allocations: 4 kB / 0.6234 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.055e-05/0.0106, allocations: 15.98 kB / 0.6234 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.0106, allocations: 0 / 0.6234 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.01061, allocations: 0 / 0.6234 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.01061, allocations: 3.938 kB / 0.6234 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01061, allocations: 4 kB / 0.6234 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.419e-05/0.0107, allocations: 77.08 kB / 0.6235 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-06/0.01071, allocations: 7.938 kB / 0.6235 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.01072, allocations: 4 kB / 0.6235 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.671e-05/0.01074, allocations: 3.938 kB / 0.6235 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.01076, allocations: 3.984 kB / 0.6235 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.01076, allocations: 0 / 0.6235 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.27e-05/0.0108, allocations: 87.28 kB / 0.6236 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.0108, allocations: 0 / 0.6236 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002657/0.01107, allocations: 43.86 kB / 0.6236 GB, free: 7.762 MB / 0.5886 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.0005171/0.01158, allocations: 0.6631 MB / 0.6243 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.01169, allocations: 32.2 kB / 0.6243 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01169, allocations: 3.938 kB / 0.6243 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.975e-05/0.01171, allocations: 8.094 kB / 0.6243 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.01195, allocations: 17.34 kB / 0.6243 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004506/0.0124, allocations: 194.4 kB / 0.6245 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.708e-05/0.01245, allocations: 63.34 kB / 0.6246 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.271e-05/0.01248, allocations: 8 kB / 0.6246 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.01252, allocations: 16.48 kB / 0.6246 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of SimCode: time 4.41e-07/0.01252, allocations: 0 / 0.6246 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.03244, allocations: 2.937 MB / 0.6274 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7/7.032, allocations: 10.45 kB / 0.6275 GB, free: 3.969 MB / 0.5886 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: 9.999992546625435] Failed to read output from testmodel.py, exit status != 0: 7.113349140621722 7.12104843 7.111811285 Calling exit ...