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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 107.3 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.079/1.079, allocations: 175.8 MB / 478.4 MB, free: 8.457 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001964/0.001964, allocations: 71.78 kB / 0.6653 GB, free: 480 kB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2134, allocations: 94.55 MB / 0.7576 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002664/0.2161, allocations: 1.354 MB / 0.7589 GB, free: 472 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4865/0.7026, allocations: 1.093 MB / 0.76 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.196e-05/0.7027, allocations: 0.75 kB / 0.76 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.7027, allocations: 1.984 kB / 0.76 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.287e-05/0.7028, allocations: 8.703 kB / 0.76 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.7038, allocations: 223.1 kB / 0.7602 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.7039, allocations: 31.84 kB / 0.7602 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.281e-05/0.704, allocations: 2.484 kB / 0.7602 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.436e-05/0.7041, allocations: 24.56 kB / 0.7603 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.664e-05/0.7042, allocations: 12.78 kB / 0.7603 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.7042, allocations: 1.844 kB / 0.7603 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009493/0.7051, allocations: 427.2 kB / 0.7607 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.7052, allocations: 1.609 kB / 0.7607 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.7052, allocations: 13.25 kB / 0.7607 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005301/0.7057, allocations: 198.9 kB / 0.7609 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.7057, allocations: 2.656 kB / 0.7609 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7057, allocations: 0 / 0.7609 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.672e-05/0.7057, allocations: 4.188 kB / 0.7609 GB, free: 7.949 MB / 0.5762 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.000567/0.7063, allocations: 390.8 kB / 0.7613 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/0.7064, allocations: 9.656 kB / 0.7613 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/0.7064, allocations: 36.19 kB / 0.7613 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.7064, allocations: 6.641 kB / 0.7613 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.7065, allocations: 167.8 kB / 0.7615 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.7066, allocations: 3.422 kB / 0.7615 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.7066, allocations: 7.844 kB / 0.7615 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.7067, allocations: 37.42 kB / 0.7615 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.7067, allocations: 0.7031 kB / 0.7615 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.7067, allocations: 3.688 kB / 0.7615 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.7067, allocations: 0.625 kB / 0.7615 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.137e-05/0.7068, allocations: 12.55 kB / 0.7615 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.707, allocations: 164.3 kB / 0.7617 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.7071, allocations: 41.03 kB / 0.7617 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.189e-05/0.7071, allocations: 22.2 kB / 0.7618 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009003/0.708, allocations: 0.987 MB / 0.7627 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.7081, allocations: 36.09 kB / 0.7628 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.7081, allocations: 0.9062 kB / 0.7628 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0002206/0.7083, allocations: 53.94 kB / 0.7628 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.7083, allocations: 56.55 kB / 0.7629 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.881e-05/0.7084, allocations: 111 kB / 0.763 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.7084, allocations: 26.33 kB / 0.763 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.7085, allocations: 85.77 kB / 0.7631 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.7085, allocations: 15.47 kB / 0.7631 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.7085, allocations: 13.36 kB / 0.7631 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.618e-05/0.7086, allocations: 318.2 kB / 0.7634 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.7086, allocations: 10.86 kB / 0.7634 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.164e-05/0.7086, allocations: 6.156 kB / 0.7634 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.913e-05/0.7087, allocations: 24.84 kB / 0.7635 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7087, allocations: 5.906 kB / 0.7635 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.61e-05/0.7088, allocations: 58.89 kB / 0.7635 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.7088, allocations: 4.812 kB / 0.7635 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.7088, allocations: 4.844 kB / 0.7635 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.7088, allocations: 0 / 0.7635 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.709, allocations: 14.83 kB / 0.7635 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.709, allocations: 0 / 0.7635 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.532e-05/0.709, allocations: 1.406 kB / 0.7635 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.709, allocations: 2.453 kB / 0.7635 GB, free: 5.188 MB / 0.5762 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.174e-05/0.7091, allocations: 111.4 kB / 0.7636 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.7091, allocations: 5.844 kB / 0.7637 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.7092, allocations: 70.53 kB / 0.7637 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.7092, allocations: 1.281 kB / 0.7637 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7092, allocations: 0 / 0.7637 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.7092, allocations: 0.6562 kB / 0.7637 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.7094, allocations: 162.6 kB / 0.7639 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7094, allocations: 0 / 0.7639 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.925e-05/0.7094, allocations: 14.09 kB / 0.7639 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.7094, allocations: 0.9062 kB / 0.7639 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.7094, allocations: 0.7031 kB / 0.7639 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.7094, allocations: 1.125 kB / 0.7639 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.7094, allocations: 0.875 kB / 0.7639 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.7096, allocations: 87.61 kB / 0.764 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.707e-05/0.7096, allocations: 85.47 kB / 0.7641 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.7096, allocations: 1.891 kB / 0.7641 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.206e-05/0.7096, allocations: 0 / 0.7641 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.7096, allocations: 3.391 kB / 0.7641 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.7097, allocations: 3 kB / 0.7641 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.7097, allocations: 84.16 kB / 0.7641 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.7097, allocations: 4 kB / 0.7642 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002863/0.71, allocations: 41.41 kB / 0.7642 GB, free: 4.57 MB / 0.5762 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.0008584/0.7108, allocations: 0.67 MB / 0.7648 GB, free: 19.96 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.711, allocations: 21.44 kB / 0.7649 GB, free: 19.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.711, allocations: 3.938 kB / 0.7649 GB, free: 19.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.754e-05/0.711, allocations: 15.3 kB / 0.7649 GB, free: 19.96 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.7113, allocations: 7.047 kB / 0.7649 GB, free: 19.96 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005585/0.7118, allocations: 211.3 kB / 0.7651 GB, free: 19.79 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.7122, allocations: 0.6792 MB / 0.7658 GB, free: 19.09 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.024e-05/0.7122, allocations: 9.078 kB / 0.7658 GB, free: 19.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.7123, allocations: 12.89 kB / 0.7658 GB, free: 19.08 MB / 0.5919 GB Notification: Performance of SimCode: time 8.12e-07/0.7123, allocations: 1.406 kB / 0.7658 GB, free: 19.08 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.7392, allocations: 2.195 MB / 0.7679 GB, free: 18.72 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.485/9.224, allocations: 8.875 kB / 0.7679 GB, free: 18.72 MB / 0.5919 GB " [Timeout remaining time 651] (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: 13.15238588489592] Failed to read output from testmodel.py, exit status != 0: 9.293302461970598 9.308105204 8.599228784 Calling exit ...