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.InternalResistancesOneUTube.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.001606/0.001606, allocations: 108.2 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.001744/0.001744, 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.112/1.112, allocations: 175.8 MB / 478.4 MB, free: 8.484 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.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 68.2 kB / 0.6653 GB, free: 480 kB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2162, allocations: 94.54 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.InternalResistancesOneUTube): time 0.002882/0.2191, allocations: 1.423 MB / 0.759 GB, free: 404 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4757/0.6948, allocations: 2.875 MB / 0.7618 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.366e-05/0.6949, allocations: 0 / 0.7618 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.376e-05/0.6949, allocations: 10.61 kB / 0.7618 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.763e-05/0.695, allocations: 15.61 kB / 0.7618 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004644/0.6996, allocations: 1.566 MB / 0.7634 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.844e-05/0.6997, allocations: 38.69 kB / 0.7634 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.6998, allocations: 8.5 kB / 0.7634 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.832e-05/0.6998, allocations: 16.84 kB / 0.7634 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.076e-05/0.6998, allocations: 20.05 kB / 0.7634 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.6998, allocations: 1.281 kB / 0.7634 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002971/0.7028, allocations: 1.534 MB / 0.7649 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.053e-05/0.7028, allocations: 1.562 kB / 0.7649 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.7029, allocations: 23.12 kB / 0.765 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.7045, allocations: 1.086 MB / 0.766 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.7045, allocations: 0 / 0.766 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7045, allocations: 0 / 0.766 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.7045, allocations: 0 / 0.766 GB, free: 6.473 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.0005103/0.7051, allocations: 0.5248 MB / 0.7665 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.7051, allocations: 10.38 kB / 0.7665 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.036e-05/0.7051, allocations: 110.7 kB / 0.7666 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.42e-05/0.7052, allocations: 83.7 kB / 0.7667 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.576e-05/0.7053, allocations: 260.9 kB / 0.767 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.7053, allocations: 158.4 kB / 0.7671 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.7053, allocations: 155.3 kB / 0.7673 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.077e-05/0.7054, allocations: 103.7 kB / 0.7674 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.7054, allocations: 75.28 kB / 0.7674 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.7054, allocations: 154.6 kB / 0.7676 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.7054, allocations: 151.8 kB / 0.7677 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.396e-05/0.7055, allocations: 150.6 kB / 0.7679 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.7057, allocations: 466.8 kB / 0.7683 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.633e-05/0.7057, allocations: 181.4 kB / 0.7685 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.598e-05/0.7057, allocations: 80.14 kB / 0.7686 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.7057, allocations: 75.28 kB / 0.7686 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.7058, allocations: 107.9 kB / 0.7687 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.7058, allocations: 0 / 0.7687 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.678e-05/0.7058, allocations: 37.06 kB / 0.7688 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.7059, allocations: 126.7 kB / 0.7689 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.706, allocations: 135.1 kB / 0.769 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.892e-06/0.706, allocations: 25.7 kB / 0.7691 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/0.706, allocations: 88.98 kB / 0.7691 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.706, allocations: 1.125 kB / 0.7691 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.706, allocations: 21.58 kB / 0.7692 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.96e-05/0.7061, allocations: 312 kB / 0.7695 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.289e-05/0.7061, allocations: 7.188 kB / 0.7695 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.592e-05/0.7061, allocations: 8.281 kB / 0.7695 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.298e-05/0.7062, allocations: 20.72 kB / 0.7695 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7062, allocations: 0.75 kB / 0.7695 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001148/0.7063, allocations: 53.17 kB / 0.7695 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.7063, allocations: 7.203 kB / 0.7696 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.7063, allocations: 3.188 kB / 0.7696 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.7063, allocations: 0 / 0.7696 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.723e-06/0.7063, allocations: 1.875 kB / 0.7696 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.7063, allocations: 0 / 0.7696 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.7063, allocations: 0.875 kB / 0.7696 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.7064, allocations: 1.719 kB / 0.7696 GB, free: 2.859 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.0002647/0.7066, allocations: 194.8 kB / 0.7697 GB, free: 18.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-05/0.7067, allocations: 111.4 kB / 0.7699 GB, free: 18.55 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.537e-05/0.7068, allocations: 114.3 kB / 0.77 GB, free: 18.43 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.385e-05/0.7069, allocations: 176.9 kB / 0.7701 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-05/0.7069, allocations: 181.9 kB / 0.7703 GB, free: 18.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.485e-05/0.707, allocations: 181.8 kB / 0.7705 GB, free: 17.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.7073, allocations: 419.1 kB / 0.7709 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.925e-05/0.7074, allocations: 106.8 kB / 0.771 GB, free: 17.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.796e-05/0.7074, allocations: 106.2 kB / 0.7711 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.033e-05/0.7075, allocations: 183.8 kB / 0.7713 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.04e-05/0.7076, allocations: 181.9 kB / 0.7714 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.912e-05/0.7077, allocations: 181.2 kB / 0.7716 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.534e-05/0.7078, allocations: 185.3 kB / 0.7718 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.7079, allocations: 314.2 kB / 0.7721 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.708, allocations: 183.5 kB / 0.7723 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.944e-05/0.7081, allocations: 181.2 kB / 0.7724 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.7082, allocations: 106.2 kB / 0.7725 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.735e-05/0.7083, allocations: 178.2 kB / 0.7727 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.583e-05/0.7084, allocations: 109.8 kB / 0.7728 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.837e-05/0.7084, allocations: 102.1 kB / 0.7729 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.7084, allocations: 0 / 0.7729 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009119/0.7093, allocations: 285.5 kB / 0.7732 GB, free: 15.25 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.001344/0.7107, allocations: 1.162 MB / 0.7743 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.7108, allocations: 44.58 kB / 0.7743 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.7108, allocations: 0 / 0.7743 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.7108, allocations: 1.469 kB / 0.7744 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.7113, allocations: 461.3 kB / 0.7748 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.7127, allocations: 1.598 MB / 0.7764 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.7131, allocations: 0.6848 MB / 0.777 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.159e-05/0.7131, allocations: 0 / 0.777 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/0.7131, allocations: 15.17 kB / 0.777 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.7131, allocations: 0 / 0.777 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03306/0.7462, allocations: 6.911 MB / 0.7838 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.453/9.199, allocations: 3.281 kB / 0.7838 GB, free: 11.07 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.136284306179732] Failed to read output from testmodel.py, exit status != 0: 9.276903258170933 9.302519119 8.593355882 Calling exit ...