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.InternalResistancesTwoUTube.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.001641/0.001641, allocations: 110.9 kB / 16.46 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.0017/0.0017, 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.481/1.481, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.105/1.105, allocations: 175.8 MB / 478.4 MB, free: 8.488 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.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 66 kB / 0.6653 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.2, allocations: 94.54 MB / 0.7576 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.0028/0.2028, allocations: 1.43 MB / 0.759 GB, free: 440 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3944/0.5972, allocations: 2.913 MB / 0.7618 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.849e-05/0.5973, allocations: 4.531 kB / 0.7619 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.332e-05/0.5973, allocations: 5.391 kB / 0.7619 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.081e-05/0.5974, allocations: 20.38 kB / 0.7619 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004474/0.6019, allocations: 1.587 MB / 0.7634 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.602, allocations: 41.09 kB / 0.7635 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.602, allocations: 7.203 kB / 0.7635 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.824e-05/0.6021, allocations: 13.91 kB / 0.7635 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.876e-05/0.6021, allocations: 17.12 kB / 0.7635 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.6021, allocations: 1.812 kB / 0.7635 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002758/0.6049, allocations: 1.581 MB / 0.765 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.6049, allocations: 9.219 kB / 0.7651 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.6049, allocations: 19.89 kB / 0.7651 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.6065, allocations: 1.113 MB / 0.7662 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6065, allocations: 0 / 0.7662 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6065, allocations: 3.938 kB / 0.7662 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.6066, allocations: 0 / 0.7662 GB, free: 6.523 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005154/0.6071, allocations: 0.5331 MB / 0.7667 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.6071, allocations: 10.5 kB / 0.7667 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.681e-05/0.6071, allocations: 106 kB / 0.7668 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.6072, allocations: 85.61 kB / 0.7669 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.6073, allocations: 256.8 kB / 0.7671 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.6073, allocations: 154.5 kB / 0.7673 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.6074, allocations: 155.6 kB / 0.7674 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.646e-05/0.6074, allocations: 102 kB / 0.7675 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.6074, allocations: 75.28 kB / 0.7676 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.6074, allocations: 156 kB / 0.7677 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.6075, allocations: 154.5 kB / 0.7679 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.417e-05/0.6075, allocations: 155.4 kB / 0.768 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.6077, allocations: 465.8 kB / 0.7685 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.076e-05/0.6077, allocations: 174.1 kB / 0.7686 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.077e-05/0.6078, allocations: 85 kB / 0.7687 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.6078, allocations: 84.33 kB / 0.7688 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.6078, allocations: 106.7 kB / 0.7689 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.6078, allocations: 0 / 0.7689 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.304e-05/0.6079, allocations: 33.09 kB / 0.7689 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.6079, allocations: 130.7 kB / 0.7691 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.608, allocations: 133.7 kB / 0.7692 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.608, allocations: 28.94 kB / 0.7692 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.6081, allocations: 87.14 kB / 0.7693 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.6081, allocations: 3.938 kB / 0.7693 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.6081, allocations: 22.05 kB / 0.7693 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.094e-05/0.6081, allocations: 316.8 kB / 0.7696 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.35e-05/0.6082, allocations: 6.719 kB / 0.7696 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.989e-05/0.6082, allocations: 11.38 kB / 0.7696 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.99e-05/0.6082, allocations: 25.83 kB / 0.7697 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6082, allocations: 0 / 0.7697 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001201/0.6084, allocations: 52.47 kB / 0.7697 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.6084, allocations: 5.312 kB / 0.7697 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.6084, allocations: 3.094 kB / 0.7697 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.6084, allocations: 0.7969 kB / 0.7697 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.6084, allocations: 1.156 kB / 0.7697 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.6084, allocations: 0 / 0.7697 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.6084, allocations: 9.297 kB / 0.7697 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.6084, allocations: 4.141 kB / 0.7697 GB, free: 2.895 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0002949/0.6087, allocations: 186.9 kB / 0.7699 GB, free: 18.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-05/0.6088, allocations: 107.9 kB / 0.77 GB, free: 18.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.866e-05/0.6089, allocations: 110.9 kB / 0.7701 GB, free: 18.48 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.969e-05/0.609, allocations: 184.8 kB / 0.7703 GB, free: 18.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.446e-05/0.6091, allocations: 181.2 kB / 0.7705 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.476e-05/0.6092, allocations: 177.8 kB / 0.7706 GB, free: 17.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.6094, allocations: 418 kB / 0.771 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.348e-05/0.6095, allocations: 110 kB / 0.7712 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.111e-05/0.6095, allocations: 106.1 kB / 0.7713 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-05/0.6096, allocations: 177.2 kB / 0.7714 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.291e-05/0.6097, allocations: 181.9 kB / 0.7716 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.438e-05/0.6098, allocations: 185.8 kB / 0.7718 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.663e-05/0.6099, allocations: 180.5 kB / 0.7719 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.61, allocations: 312.8 kB / 0.7722 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.6102, allocations: 192.2 kB / 0.7724 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.6103, allocations: 181.9 kB / 0.7726 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.6104, allocations: 105.9 kB / 0.7727 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.945e-05/0.6105, allocations: 181.4 kB / 0.7729 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/0.6105, allocations: 105.7 kB / 0.773 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.283e-05/0.6106, allocations: 102.4 kB / 0.7731 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6106, allocations: 4 kB / 0.7731 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009658/0.6116, allocations: 290.7 kB / 0.7734 GB, free: 15.29 MB / 0.5919 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 (0): * Single equations (assignments): 0 * 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.001465/0.613, allocations: 1.182 MB / 0.7745 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.6131, allocations: 37.58 kB / 0.7745 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6131, allocations: 0 / 0.7745 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.6131, allocations: 0.8438 kB / 0.7745 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.6136, allocations: 470.6 kB / 0.775 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.6151, allocations: 1.598 MB / 0.7766 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.6154, allocations: 0.6826 MB / 0.7772 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.701e-05/0.6154, allocations: 0.875 kB / 0.7772 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.6155, allocations: 17.34 kB / 0.7772 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of SimCode: time 9.72e-07/0.6155, allocations: 0 / 0.7772 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.6501, allocations: 7.104 MB / 0.7842 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.449/9.099, allocations: 4.281 kB / 0.7842 GB, free: 11.1 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.01990079600364] Failed to read output from testmodel.py, exit status != 0: 9.1730978009291 9.192797247 8.582505087 Calling exit ...