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.001412/0.001412, allocations: 109 kB / 17.54 MB, free: 4.746 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.001359/0.001359, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.276/1.276, allocations: 225.6 MB / 249.3 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9687/0.9687, allocations: 175.7 MB / 480.1 MB, free: 2.836 MB / 366.1 MB " [Timeout remaining time 179] 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.001738/0.001738, allocations: 73.12 kB / 0.6678 GB, free: 11.01 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1502, allocations: 94.52 MB / 0.7601 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002324/0.1526, allocations: 1.436 MB / 0.7615 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004108/0.1567, allocations: 2.902 MB / 0.7644 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.1567, allocations: 0 / 0.7644 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.1567, allocations: 7.922 kB / 0.7644 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.254e-05/0.1568, allocations: 15.86 kB / 0.7644 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003406/0.1602, allocations: 1.559 MB / 0.7659 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.205e-05/0.1603, allocations: 43.73 kB / 0.766 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.552e-05/0.1603, allocations: 7.906 kB / 0.766 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.281e-05/0.1603, allocations: 11.94 kB / 0.766 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.257e-05/0.1604, allocations: 23.86 kB / 0.766 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.327e-06/0.1604, allocations: 0 / 0.766 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002172/0.1625, allocations: 1.529 MB / 0.7675 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.1626, allocations: 7.984 kB / 0.7675 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.1626, allocations: 23.86 kB / 0.7675 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.164, allocations: 1.083 MB / 0.7686 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.164, allocations: 4 kB / 0.7686 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.164, allocations: 0 / 0.7686 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.164, allocations: 3.938 kB / 0.7686 GB, free: 8.152 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.000591/0.1646, allocations: 0.5208 MB / 0.7691 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1646, allocations: 12.03 kB / 0.7691 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.819e-05/0.1647, allocations: 110 kB / 0.7692 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.608e-05/0.1648, allocations: 84.17 kB / 0.7693 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.1649, allocations: 251.6 kB / 0.7695 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.76e-05/0.165, allocations: 158.5 kB / 0.7697 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/0.1651, allocations: 150.6 kB / 0.7698 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.403e-05/0.1651, allocations: 112.9 kB / 0.7699 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/0.1652, allocations: 75.28 kB / 0.77 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.428e-05/0.1652, allocations: 150.6 kB / 0.7702 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.958e-05/0.1653, allocations: 158.5 kB / 0.7703 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.567e-05/0.1653, allocations: 158.5 kB / 0.7705 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.1657, allocations: 465.9 kB / 0.7709 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.742e-05/0.1657, allocations: 169.1 kB / 0.7711 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.1658, allocations: 80.14 kB / 0.7711 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.701e-05/0.1658, allocations: 79.28 kB / 0.7712 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/0.1659, allocations: 113.8 kB / 0.7713 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.1659, allocations: 0 / 0.7713 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.159e-05/0.1659, allocations: 41.59 kB / 0.7714 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.166, allocations: 126.7 kB / 0.7715 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.1661, allocations: 127.9 kB / 0.7716 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1662, allocations: 29.7 kB / 0.7716 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.1662, allocations: 92.14 kB / 0.7717 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.1662, allocations: 0 / 0.7717 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.1662, allocations: 17.7 kB / 0.7717 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1664, allocations: 322.8 kB / 0.7721 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.1664, allocations: 0 / 0.7721 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.427e-05/0.1664, allocations: 4 kB / 0.7721 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.631e-05/0.1664, allocations: 20.78 kB / 0.7721 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1664, allocations: 4.031 kB / 0.7721 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001178/0.1666, allocations: 49.66 kB / 0.7721 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1666, allocations: 4 kB / 0.7721 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.1666, allocations: 4 kB / 0.7721 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1666, allocations: 0 / 0.7721 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.1666, allocations: 0 / 0.7721 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1666, allocations: 3.984 kB / 0.7721 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.017e-05/0.1666, allocations: 3.938 kB / 0.7721 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1666, allocations: 4 kB / 0.7721 GB, free: 4.27 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.0001061/0.1667, allocations: 189.1 kB / 0.7723 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.471e-05/0.1668, allocations: 112.9 kB / 0.7724 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.099e-05/0.1669, allocations: 108.9 kB / 0.7725 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.065e-05/0.1669, allocations: 184.2 kB / 0.7727 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.402e-05/0.167, allocations: 180.2 kB / 0.7729 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.267e-05/0.1671, allocations: 180.2 kB / 0.7731 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.1673, allocations: 421.1 kB / 0.7735 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-05/0.1674, allocations: 105 kB / 0.7736 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.931e-05/0.1674, allocations: 109 kB / 0.7737 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.664e-05/0.1675, allocations: 180.2 kB / 0.7738 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.629e-05/0.1676, allocations: 180.3 kB / 0.774 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-05/0.1676, allocations: 184.2 kB / 0.7742 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.029e-05/0.1677, allocations: 176.3 kB / 0.7744 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.1679, allocations: 315.6 kB / 0.7747 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.568e-05/0.1679, allocations: 182.1 kB / 0.7748 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.352e-05/0.168, allocations: 180.2 kB / 0.775 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.904e-05/0.1681, allocations: 113 kB / 0.7751 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.017e-05/0.1682, allocations: 184.2 kB / 0.7753 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.1682, allocations: 105 kB / 0.7754 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.64e-05/0.1683, allocations: 96.98 kB / 0.7755 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1683, allocations: 3.938 kB / 0.7755 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006754/0.169, allocations: 283 kB / 0.7757 GB, free: 360 kB / 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 (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.001293/0.1703, allocations: 1.17 MB / 0.7769 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.944e-05/0.1704, allocations: 37.69 kB / 0.7769 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1704, allocations: 0 / 0.7769 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.1704, allocations: 8.062 kB / 0.7769 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.1708, allocations: 459.7 kB / 0.7774 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.1721, allocations: 1.593 MB / 0.7789 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.1724, allocations: 0.6846 MB / 0.7796 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.136e-05/0.1724, allocations: 4.031 kB / 0.7796 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.1725, allocations: 15.44 kB / 0.7796 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.1725, allocations: 0 / 0.7796 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.203, allocations: 6.815 MB / 0.7863 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/7.744, allocations: 11.67 kB / 0.7863 GB, free: 5.555 MB / 0.5919 GB " [Timeout remaining time 652] (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 --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: 11.157011037998018]