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.0009327/0.0009327, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001157/0.001157, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.9575/0.9575, allocations: 230.6 MB / 256 MB, free: 9.598 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.8097/0.8097, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.0009073/0.0009073, allocations: 81.12 kB / 0.7182 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.5613, allocations: 102 MB / 0.8179 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002059/0.5634, allocations: 1.368 MB / 0.8192 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.565, allocations: 1.048 MB / 0.8202 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.171e-05/0.565, allocations: 0 / 0.8202 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.565, allocations: 1.125 kB / 0.8202 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.543e-05/0.5651, allocations: 11.48 kB / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006084/0.5657, allocations: 226.8 kB / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.964e-05/0.5658, allocations: 35.95 kB / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.5658, allocations: 0.7031 kB / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.5659, allocations: 12.8 kB / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.35e-05/0.566, allocations: 16.78 kB / 0.8205 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.566, allocations: 0 / 0.8205 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005327/0.5666, allocations: 405.3 kB / 0.8209 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.5666, allocations: 11.66 kB / 0.8209 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.5666, allocations: 9.672 kB / 0.8209 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.5669, allocations: 205.1 kB / 0.8211 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5669, allocations: 1.062 kB / 0.8211 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.454e-06/0.5669, allocations: 0 / 0.8211 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.5669, allocations: 3.938 kB / 0.8211 GB, free: 15.11 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.0004108/0.5673, allocations: 321.6 kB / 0.8214 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.5674, allocations: 9.562 kB / 0.8214 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/0.5674, allocations: 31.84 kB / 0.8215 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.5674, allocations: 7 kB / 0.8215 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.794e-05/0.5675, allocations: 109.2 kB / 0.8216 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.5675, allocations: 1.75 kB / 0.8216 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.5676, allocations: 5.844 kB / 0.8216 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.5677, allocations: 46.02 kB / 0.8216 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.5677, allocations: 0 / 0.8216 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.5677, allocations: 0 / 0.8216 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.934e-06/0.5677, allocations: 1.5 kB / 0.8216 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.45e-05/0.5678, allocations: 19.02 kB / 0.8217 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.5679, allocations: 124.3 kB / 0.8218 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.824e-05/0.568, allocations: 38.47 kB / 0.8218 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.568, allocations: 17.58 kB / 0.8218 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004821/0.5685, allocations: 100.3 kB / 0.8219 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.5686, allocations: 40.55 kB / 0.822 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.5686, allocations: 7.875 kB / 0.822 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002062/0.5688, allocations: 56.3 kB / 0.822 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.5688, allocations: 53.12 kB / 0.8221 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.514e-05/0.5689, allocations: 105.1 kB / 0.8222 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.5689, allocations: 27.08 kB / 0.8222 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.5689, allocations: 86.75 kB / 0.8223 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.569, allocations: 13.94 kB / 0.8223 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.569, allocations: 19.06 kB / 0.8223 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.5691, allocations: 317.6 kB / 0.8226 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.5691, allocations: 8.922 kB / 0.8226 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.704e-05/0.5691, allocations: 6.672 kB / 0.8226 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.978e-05/0.5692, allocations: 19.2 kB / 0.8227 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5692, allocations: 0 / 0.8227 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.526e-05/0.5693, allocations: 61.58 kB / 0.8227 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.5693, allocations: 6.219 kB / 0.8227 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5693, allocations: 0 / 0.8227 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.5693, allocations: 0.7969 kB / 0.8227 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.5694, allocations: 14.33 kB / 0.8227 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.5695, allocations: 0 / 0.8227 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.5695, allocations: 5.375 kB / 0.8227 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.5695, allocations: 5.25 kB / 0.8227 GB, free: 13.57 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 7.281e-05/0.5696, allocations: 108.5 kB / 0.8228 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-06/0.5696, allocations: 9.453 kB / 0.8229 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.5697, allocations: 67.5 kB / 0.8229 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.5697, allocations: 0.8438 kB / 0.8229 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.5697, allocations: 1.531 kB / 0.8229 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5697, allocations: 4.031 kB / 0.8229 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.5698, allocations: 131.2 kB / 0.823 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5698, allocations: 1.188 kB / 0.8231 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-05/0.5699, allocations: 21.09 kB / 0.8231 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.5699, allocations: 6.078 kB / 0.8231 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.5699, allocations: 0 / 0.8231 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5699, allocations: 1 kB / 0.8231 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5699, allocations: 0 / 0.8231 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.153e-05/0.57, allocations: 75.53 kB / 0.8231 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.57, allocations: 10.97 kB / 0.8232 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.57, allocations: 7.938 kB / 0.8232 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.57, allocations: 1.562 kB / 0.8232 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.57, allocations: 3.375 kB / 0.8232 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.57, allocations: 1.25 kB / 0.8232 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.49e-05/0.5701, allocations: 89.88 kB / 0.8233 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5701, allocations: 4 kB / 0.8233 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001769/0.5702, allocations: 49.58 kB / 0.8233 GB, free: 13.04 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.0004454/0.5707, allocations: 0.665 MB / 0.824 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.5708, allocations: 25.27 kB / 0.824 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5708, allocations: 0 / 0.824 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.579e-05/0.5708, allocations: 8.891 kB / 0.824 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.571, allocations: 12.86 kB / 0.824 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.5715, allocations: 197.3 kB / 0.8242 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.993e-05/0.5715, allocations: 67.11 kB / 0.8243 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.835e-05/0.5715, allocations: 2.469 kB / 0.8243 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.5716, allocations: 11.19 kB / 0.8243 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/0.5716, allocations: 0 / 0.8243 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/0.5907, allocations: 2.79 MB / 0.827 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.533/7.124, allocations: 9.047 kB / 0.827 GB, free: 11.27 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 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.167991592083126] Failed to read output from testmodel.py, exit status != 0: 7.2039886000566185 7.214612799 6.645561969 Calling exit ...