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.0009302/0.0009302, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009463/0.0009463, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9403/0.9403, allocations: 177.1 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.712/0.712, allocations: 154.5 MB / 413.7 MB, free: 0.8555 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 1.994e-06/1.994e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.656e-05, allocations: 8.672 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.001732/0.001758, allocations: 1.364 MB / 0.6195 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.003368, allocations: 1.047 MB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.422e-05/0.003413, allocations: 0 / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.003438, allocations: 3.938 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.291e-05/0.003501, allocations: 7.922 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000635/0.004136, allocations: 226.4 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.497e-05/0.004201, allocations: 35.8 kB / 0.6208 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.115e-05/0.004252, allocations: 4 kB / 0.6208 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.004384, allocations: 23.91 kB / 0.6208 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.784e-05/0.004442, allocations: 11.98 kB / 0.6208 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.004456, allocations: 0 / 0.6208 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.00487, allocations: 403.4 kB / 0.6212 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.004885, allocations: 11.92 kB / 0.6212 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.004906, allocations: 4 kB / 0.6212 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.00517, allocations: 251.3 kB / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.005172, allocations: 4 kB / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.634e-06/0.005174, allocations: 4 kB / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.005178, 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.0003843/0.005562, allocations: 309.7 kB / 0.6217 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.005602, allocations: 8.031 kB / 0.6217 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.977e-05/0.005631, allocations: 34.75 kB / 0.6218 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.27e-05/0.005654, allocations: 4.938 kB / 0.6218 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.442e-05/0.005739, allocations: 109.8 kB / 0.6219 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.005752, allocations: 384 / 0.6219 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.005762, allocations: 4.359 kB / 0.6219 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.005862, allocations: 42.2 kB / 0.6219 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.005871, allocations: 4.188 kB / 0.6219 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.005881, allocations: 4.125 kB / 0.6219 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.005886, allocations: 0 / 0.6219 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.459e-05/0.00593, allocations: 15.98 kB / 0.622 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.006096, allocations: 132.8 kB / 0.6221 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.837e-05/0.006194, allocations: 34.58 kB / 0.6221 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.006227, allocations: 20.86 kB / 0.6221 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003694/0.006597, allocations: 103.9 kB / 0.6222 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.006617, allocations: 30.56 kB / 0.6223 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.006618, allocations: 3.938 kB / 0.6223 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001667/0.006784, allocations: 69.52 kB / 0.6223 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.006814, allocations: 51.41 kB / 0.6224 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.032e-05/0.006875, allocations: 109.8 kB / 0.6225 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.006885, allocations: 29.7 kB / 0.6225 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.063e-05/0.006915, allocations: 88.14 kB / 0.6226 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.006942, allocations: 7.906 kB / 0.6226 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.006969, allocations: 17.72 kB / 0.6226 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.208e-05/0.007052, allocations: 318.8 kB / 0.6229 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.007069, allocations: 7.938 kB / 0.6229 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.429e-05/0.007083, allocations: 8 kB / 0.6229 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.597e-05/0.007119, allocations: 16.86 kB / 0.623 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.007121, allocations: 0 / 0.623 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.997e-05/0.007181, allocations: 49.69 kB / 0.623 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.007197, allocations: 10.19 kB / 0.623 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.007201, allocations: 4 kB / 0.623 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.007214, allocations: 3.938 kB / 0.623 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.781e-05/0.007302, allocations: 15.98 kB / 0.623 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.007308, allocations: 3.938 kB / 0.623 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.284e-05/0.007321, allocations: 0 / 0.623 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.007327, allocations: 0 / 0.623 GB, free: 8.422 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 6.119e-05/0.007388, allocations: 114.8 kB / 0.6232 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-06/0.007393, allocations: 3.953 kB / 0.6232 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.653e-05/0.00749, allocations: 65.67 kB / 0.6232 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.007493, allocations: 3.938 kB / 0.6232 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.007497, allocations: 4 kB / 0.6232 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.007499, allocations: 0 / 0.6232 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.751e-05/0.007577, allocations: 132.8 kB / 0.6234 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.007577, allocations: 0 / 0.6234 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.263e-05/0.00761, allocations: 12 kB / 0.6234 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.007611, allocations: 0 / 0.6234 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.007622, allocations: 0 / 0.6234 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.007625, allocations: 7.922 kB / 0.6234 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007627, allocations: 3.938 kB / 0.6234 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.775e-05/0.007694, allocations: 77.12 kB / 0.6235 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.0077, allocations: 7.953 kB / 0.6235 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-06/0.007709, allocations: 3.938 kB / 0.6235 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.013e-05/0.007719, allocations: 8.359 kB / 0.6235 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.007732, allocations: 0 / 0.6235 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.007734, allocations: 0 / 0.6235 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.107e-05/0.007765, allocations: 91.27 kB / 0.6236 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.007766, allocations: 0 / 0.6236 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001615/0.007927, allocations: 43.81 kB / 0.6236 GB, free: 7.77 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.0003637/0.008291, allocations: 0.6785 MB / 0.6243 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.208e-05/0.008373, allocations: 27.98 kB / 0.6243 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.008375, allocations: 0 / 0.6243 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.276e-05/0.008388, allocations: 7.938 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.0001855/0.008573, allocations: 14.73 kB / 0.6243 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.008933, allocations: 186.4 kB / 0.6245 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.064e-05/0.008973, allocations: 63.34 kB / 0.6246 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.572e-05/0.008999, allocations: 8 kB / 0.6246 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.009035, allocations: 12.5 kB / 0.6246 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of SimCode: time 3.7e-07/0.009035, allocations: 0 / 0.6246 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.0264, allocations: 2.954 MB / 0.6275 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.007/7.033, allocations: 6.469 kB / 0.6275 GB, free: 3.977 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 & /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: 9.767734170891345] Failed to read output from testmodel.py, exit status != 0: 7.1128901820629835 7.121036789 7.11418093 Calling exit ...